VLANs on switches Flashcards
Command to set VTP mode to transparent
in global config mode:
vtp mode transparent
What are the 4 trunking administrative modes?
- Access
- Trunk
- dynamic desirable
- dynamic auto
Command to show the options set on trunk ports
show interfaces trunk
Command to set interface g2/1 to access, associated with vlan 22
conf t
int gi2/1
switchport access vlan 22
Command to set the native vlan for a trunk port on a switch
in interface config mode:
switchport trunk native vlan vlanid
Command to set a port to initiate trunking negotiation messages.
int gi0/1
switchport mode dynamic desirable
What is the normal range and extended range vlan numbers?
Normal = 1 - 1005 Extended = 1006 - 4094
What is the limitation on vlans for a switch in VTP server mode?
Server switches can only configure vlans in the standard range
Command to set a port to trunk mode
switchport mode trunk
Command to change the default vlans allowed on a trunk.
switchport trunk allowed vlan {add | remove | all | except }
Command to set the trunking encapsulation on a port to dot1q
switchport trunk encapsulation dot1q
How big is the VLAN ID field inside the .1Q header?
12 bits
Command to name a vlan
conf t
vlan vlanid
name name
Where is the .1Q tag inserted in the ethernet header?
Between the source address and type fields.
Command to ensure that an access port does not negotiate to become a trunk
conf t
interface gi1/1
switchport mode access