Beruflich Dokumente
Kultur Dokumente
Chapter 07
VIRTUAL LANs
1
Objectives
• Port-based VLANs
• MAC address based VLANs
• Protocol based VLANs
7
Port-based VLANs
VLAN1 VLAN1
TRUNK
• ISL
• 802.1Q
1
VLAN Operation on the Trunk
• ISL
• 802.1Q
2
802.1Q Frame
2
ISL Tagging
• End-to-end VLANs:
– devices to be grouped based upon resource
usage.
– Allow 80/20 rule.
• Geographic VLANs:
– Devices to be grouped based on geographic.
– Allow 20/80 rule.
2
Configuring static VLANs
• Create VLANs
Catalyst 1900
wg_sw_1900#configure terminal
Enter configuration commands, one per line. End with CNTL/Z
wg_sw_1900(config)#vlan 9 name switchlab2
Catalyst 2950
wg_sw_2950#vlan database
wg_sw_2950(vlan)# vlan vlan# [name vlan-name]
wg_sw_2950#vlan database
wg_sw_ 2950(vlan)#vlan 9 name switchlab2
wg_sw_ 2950(vlan)#exit
2
Modifying a VLAN Name
wg_sw_a#configure terminal
Enter configuration commands, one per line. End with CNTL/Z
wg_sw_a(config)#vlan 9 name switchlab90
wg_sw_a#show vlan 9
Catalyst 1900
wg_sw_1900#conf terminal
Enter configuration commands, one per line. End with CNTL/Z
wg_sw_1900(config)#interface ethernet 0/8
wg_sw_1900(config-if)#vlan-membership static 9
Catalyst 2950
wg_sw_1900#conf terminal
Enter configuration commands, one per line. End with CNTL/Z
wg_sw_1900(config)#interface f0/26
wg_sw_1900(config-if)#trunk on
Catalyst 1900
wg_sw_1900#show trunk [A | B]
wg_sw_1900#show trunk a
DISL state: On, Trunking: On, Encapsulation type: ISL
Catalyst 2950
Catalyst 1900
wg_sw_1900#show vlan [vlan#]
wg_sw_1900#show vlan 9
VLAN Type SAID MTU Parent RingNo BridgeNo Stp Trans1 Trans2
---------------------------------------------------------------------------
9 Ethernet 100009 1500 0 1 1 Unkn 0 0
---------------------------------------------------------------------------
Catalyst 2950
wg_sw_2950#show vlan [id vlan#]
3
Verifying VLAN Membership on a Catalyst 1900
wg_sw_1900#show vlan-membership
wg_sw_1900#show vlan-membership
wg_sw_1900#show spantree 1
• Definition of VLANs
• Trunking
• Configuring static VLANs on Catalyst switches
3
Q&A
3