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
Describe the Server VTP mode
Server mode is the default VTP mode. A switch in server mode can perform the following actions:
Add, remove, and modify VLANs.
Change VTP configuration settings (e.g., change the VTP version number or enable pruning).
Send advertisement messages to propagate changes in the VTP domain.
Describe the Client VTP mode
A switch in client mode is able to send and receive VTP advertisement messages but is unable to add, remove, or modify VLAN configurations.
Describe Transparent VTP mode
A switch in transparent mode will not obtain configuration information from VTP. However, it will forward VTP messages it receives.
Describe Off VTP mode
A switch in off mode will not participate in VTP and will not forward VTP messages.
Switch(config)#vtp domain [name]
Configures the VTP domain. The domain name is case sensitive and must be the same for all switches in order for them to send and receive VTP messages.
Switch(config)#vtp password [password]
Configures the password for VTP. The same password must be used for all switches in the VTP domain.
Switch(config)#vtp mode {server|client|transparent|off}
Changes the VTP mode of the switch.
Switch(config)#vtp version 1|2
Enables/disables VTP pruning. VTP pruning is used to eliminate unnecessary traffic in large networks by forwarding only VLAN broadcast traffic to the necessary VLANs.
Switch(config)#vtp pruning
Switch(config)#no vtp pruning
Enables/disables VTP pruning. VTP pruning is used to eliminate unnecessary traffic in large networks by forwarding only VLAN broadcast traffic to the necessary VLANs.
Switch#show vtp status
Displays the following status information about VTP:
VTP Version: The highest version the switch is capable of, not the version that the switch is using.
Configuration Revision: The revision number of the VTP database. This number should be the same on all switches in the VTP domain.
VTP Operating Mode: The VTP mode of the switch. Possible values are Server, Client, Transparent, and Off.
VTP Domain Name: The configure domain of the switch. This value should be the same for all switches using VTP.
VTP Pruning Mode: Specifies whether VTP pruning is enabled or disabled.
VTP V2 Mode: Shows the version of VTP being used.
Disabled: V1 is being used.
Enabled: V2 is being used.