Beruflich Dokumente
Kultur Dokumente
.Configure a VLAN
.Configure VLAN Trunking Protocol (VTP)
.Configure a switch for trunking
.Verify VLAN connectivity
.Verify spanning-tree operations
1
VLAN Overview
• Segmentation
3ed floor
• Flexibility
2nd floor
• Security
1st floor
Sales HR ENG
Trunk
Fast Ethernet
VLAN 5
VLAN 10
VMPS
MAC=111.1111.1111 MAC=111.1111.1111=Vlan 10
4
ISL Tagging
ISL trunk enables VLANs across a backbone
5
ISL Encapsulation
ISL Header CRC 4
26 bytes
Encapsulation Ethernet Frame bytes
VLAN BPDU
Flooded
traffic is
pruned
Red
Switch 5 Switch 2 VLAN
Port 1
A
9
VLAN Configuration Steps
Enable VTP (optional)
Enable Trunking
Create VLANs
10
VLAN Configuration Guideline
Enable domain name
VTP mode (server/client/transparent)___ VTP server
mode is the default
VTP pruning
VTP password
VTP trap
11
Creating a VTP Domain
Wg_sw_a(config)#
12
Verifying VTP Configurations
Wg_sw_a(config)#
13
27
Defining a Trunk
Wg_sw_a(config_if)#
Wg _ sw _ a # show trunk a
DISL state : On, Encapsulation type : ISL
15
Adding a VLAN
Wg _ sw _ a (config) #
Wg _ sw _ a # conf terminal
Enter configuration commands , one per line . End with CNTL/Z
Wg _sw _ a (config ) # vlan 9 name switchlab 2
16
Verifying a VLAN
Wg _ sw _ a # sh vlan 9
9 Switchlab2 Enabled
VLAN Type SAID MTU Parent RingNo BridgeNo Stp Trans 1 Trans2
17
Modifying a VLAN Name
Wg _ sw _ a (config) #
Wg _ sw _ a # conf terminal
Enter configuration commands , one per line . End with CNTL/Z
Wg _sw _ a (config ) # vlan 9 name switchlab 90
Wg _ sw _ a # show vlan 9
9 Switchlab 90 Enabled
18
Assigning Switch Ports to a
VLAN
Wg _ sw _ a (config_if) #
Wg _ sw _ a # conf terminal
Enter configuration commands , one per line . End with CNTL/Z
Wg _sw _ a (config )# interface ethernet 0/8
Wg _sw _ a (config -if ) # vlan -membership static 9
19
Verifying VLAN Membership
Wg - sw _ a # show vlan_membership
Wg _ sw _ a # show vlan-membership
1 5 Static 13 1 Static
2 1 Static 14 1 Static
3 1 Static 15 1 Static
4 1 Static 16 1 Static
5 1 Static 17 1 Static
6 1 Static 18 1 Static
7 1 Static 19 1 Static
8 9 Static 20 1 Static