11.2 Trunking Flashcards
What is a Inter-switch link (ISL)
protocol that maintains VLAN information in Ethernet frames as traffic flows between switches and routers, or switches and switches
What is 802.1Q
Is an IEEE standard for trunking and is supported by a wide range of devices.
Supports VLAN numbers 1–4094.
Switch(config-if)#switchport mode trunk
Enables unconditional trunking on the interface. The port will not use Dynamic Trunking Protocol (DTP) on the interface.
Switch(config-if)#switchport trunk encapsulation dot1q
Switch(config-if)#switchport trunk encapsulation isl
Switch(config-if)#switchport trunk encapsulation negotiate
Sets the trunking protocol or allows the trunking protocol to be negotiated
Switch(config-if)#switchport trunk native vlan [vlan_id]
Configures the VLAN that is sending and receiving untagged traffic on the trunk port when the interface is in 802.1Q trunking mode.
Switch(config-if)#switchport mode access
Disables trunking configuration on the port. The port is set to the access mode unconditionally and operates as a non-trunking, single VLAN interface that sends and receives un-tagged frames.
Switch#show interface trunk
Switch#show interface fa0/1 trunk
Shows interface trunking information with mode, encapsulation, trunking status, and VLAN assignments.
Describe (DTP) Dynamic Trunking Protocol
used to automatically create a trunk link between two Cisco switches.
Switch(config-if)#switchport trunk allowed vlan all
Switch(config-if)#switchport trunk allowed vlan add [vlan_id]
Switch(config-if)#switchport trunk allowed vlan remove [vlan_id]
Defines which VLANs are allowed to communicate over the trunk.
Removes the VLANs that are not allowed to communicate over the trunk.
Switch(config-if)#switchport mode dynamic auto
Enables automatic trunking discovery and configuration. The switch uses DTP to configure trunking.
Switch(config-if)#switchport mode dynamic desirable
Enables dynamic trunking configuration. If a switch is connected, it will attempt to use the desired trunking protocol. If a switch is not connected, it will communicate as a normal port.
Switch(config-if)#switchport mode access
Disables trunking configuration on the port. The port is set to the access mode unconditionally and operates as a non-trunking, single VLAN interface that sends and receives un-tagged frames.
Switch(config-if)#switchport access vlan [number]
Assigns an unused interface to an unused VLAN.
Switch#show interface trunk
Switch#show interface fa0/1 trunk
Shows the following trunking information for interfaces: Mode Encapsulation Trunking status VLAN assignments
Describe VLAN Trunking Protocol (VTP)
allows VLAN configuration changes to be automatically propagated out to each switch