Vlans
Vlans
net
VLAN Numbers
0 Reserved 1004 fdnet
1 default 1005 trnet
VLAN Creation
1002 fddi-default 1024-4094 Extended
Switch(config)# vlan 100 1003 tr 4095 Reserved
Switch(config-vlan)# name Engineering
Terminology
Access Port Configuration
Trunking · Extending multiple VLANs over the
same physical conenction
Switch(config-if)# switchport mode access
Switch(config-if)# switchport nonegotiate Native VLAN · By default, this VLAN is untagged
Switch(config-if)# switchport access vlan 100
on a trunk
Switch(config-if)# switchport voice vlan 150
Access VLAN · The VLAN to which an access port
Trunk Port Configuration is assigned
Voice VLAN · If configured, enables minimal
Switch(config-if)# switchport mode trunk
trunking to support voice traffic in addition to data
Switch(config-if)# switchport trunk encapsulation dot1q
Switch(config-if)# switchport trunk allowed vlan 10,100-200 traffic on an access port
Switch(config-if)# switchport trunk native vlan 10
Dynamic Trunking Protocol (DTP) · Can be
used to automatically establish trunks between
SVI Configuration capable ports
Pruning · VLANs not having any access ports on an end switch are Troubleshooting
removed from the trunk to reduce flooded traffic
show vlan
VTP Configuration show interface status
Switch(config)# vtp mode server show interface switchport
Switch(config)# vtp domain LASVEGAS
Switch(config)# vtp password Presl3y show interface trunk
Switch(config)# vtp version 2
show vtp status
Switch(config)# vtp pruning
show vtp password