
Cisco Systems, Inc.
All contents are Copyright © 1992–2002 Cisco Systems, Inc. All rights reserved. Important Notices and Privacy Statement.
Page 39 of 42
Step 5. Configure ports 2/1–3 to be used as access ports for client connections in VLAN 2, ports 2/4–5 in
VLAN 3, and configure all the ports for full-duplex mode and speed 100.
Step 6. Configure trunk switchports: port 2/6 is used to carry allthree VLANs to Catalyst B, a Layer2 Catalyst.
The trunk uses IEEE 802.1q encapsulation and defaults to VLAN 1.
Step 7. Optional configuration: By default, the Cisco Catalyst 6500 switch allows all VLANs on the trunk.
Configure the list VLAN 50-100 to be pruned from trunk.
CatOS Cisco IOS Software
set vlan 2 2/1-3
set vlan 3 2/4-5
set port speed 2/1-5 100
set port duplex 2/1-5 full
show port
configure terminal
interface range fastethernet 2/1 - 3
switchport
switchport mode access
switchport access vlan 2
speed 100
duplex full
interface range fastethernet 2/4 – 5
switchport
switchport mode access
switchport access vlan 3
speed 100
duplex full
end
write memory
show interface status
CatOS Cisco IOS Software
set trunk 2/6 dot1q
set trunk 2/6 desirable
interface fastethernet 2/6
switchport
switchport mode dynamic desirable
switchport trunk encapsulation dot1q
CatOS Cisco IOS Software
clear trunk 2/6 50-100 switchport trunk allowed vlan remove 50-100
Comentarios a estos manuales