2.2 Interswitch Connectivity Flashcards
Configure and verify interswitch connectivity, including trunk ports, 802.1Q, and Native VLAN. (32 cards)
Define:
trunk port
A port that carries traffic from multiple VLANs.
Trunk ports are configured to allow traffic for multiple VLANs, commonly using VLAN tagging protocols like 802.1Q, typically connecting switches.
What’s the difference between access ports and trunk ports?
- Access ports: Carry traffic for one VLAN.
- Trunk ports: Carry traffic for multiple VLANs.
Access ports are for end devices, and trunk ports are used to connect switches, carrying traffic for multiple VLANs.
What command configures a port as a trunk port on a Cisco switch?
switchport mode trunk
This command enables trunking on the port, allowing it to carry traffic from multiple VLANs.
True or False:
Trunk ports can only transmit untagged traffic.
False
Trunk ports transmit both tagged (VLAN-tagged) and untagged traffic. Untagged traffic is assigned to the native VLAN.
What happens when a trunk port receives an untagged frame?
It assigns the frame to the native VLAN.
The native VLAN is the default VLAN for untagged traffic on a trunk port.
What is the default native VLAN for a Cisco trunk port?
VLAN 1
VLAN 1 is the default native VLAN on Cisco trunk ports unless manually changed.
Why should the native VLAN be the same on both ends of a trunk link?
To prevent misdirected untagged traffic.
Mismatched native VLANs between switches could cause untagged frames to be improperly forwarded, leading to communication failures.
What protocol is used for VLAN tagging in trunk ports?
IEEE 802.1Q
802.1Q adds a tag to each Ethernet frame to identify its VLAN, enabling multiple VLANs to be carried on a single trunk link.
True or False:
Trunk ports require both ends to be configured for trunking to work.
True
Both switches must be configured with trunking for the link to successfully carry multiple VLANs.
What are the characteristics of trunk ports?
- Carries traffic for multiple VLANs
- Uses VLAN tagging (802.1Q or ISL)
- Commonly used to connect switches
- Can transmit both tagged and untagged frames
Trunk ports are essential for inter-switch communication and enable the efficient use of network links by allowing multiple VLANs to share a single connection.
How can you verify if a switch port is configured as a trunk?
Use “show interfaces [interface-id] switchport”.
This command shows the port’s configuration, including whether it’s in trunk mode and the allowed VLANs.
List the steps to configure a trunk port on a Cisco switch.
- Enter interface configuration mode.
- Set the port to trunk mode (switchport mode trunk).
- Define the allowed VLANs (switchport trunk allowed vlan [vlan-list]).
- Optionally configure the native VLAN (switchport trunk native vlan [vlan-id]).
What is the command to disable trunking on a Cisco switch port?
“switchport mode access”
This command changes the port to an access port, allowing traffic for only one VLAN.
What are the key features of 802.1Q?
- Allows multiple VLANs over a single link.
- Adds a 4-byte tag to Ethernet frames.
- Supports VLAN IDs from 1 to 4095.
- Can be used with both access and trunk ports (though primarily for trunks).
802.1Q is the industry-standard VLAN tagging protocol, widely adopted for enabling trunking between network devices while maintaining VLAN separation.
How does 802.1Q tagging work?
It inserts a 4-byte tag in the Ethernet frame.
This tag is placed between the MAC address and EtherType fields, containing the VLAN ID and other control information.
What are the advantages of using 802.1Q over ISL?
- Open standard (non-proprietary).
- Supports interoperability with multiple vendors.
- Widely adopted and supported across different platforms.
ISL (Inter-Switch Link) is a VLAN tagging protocol developed by Cisco, while 802.1Q is an industry-standard protocol used by multiple vendors.
What is the maximum VLAN ID for 802.1Q?
4095
The VLAN ID is 12 bits long, so the valid range is from 1 to 4095, with 0 being reserved.
What is the role of the priority field in 802.1Q?
It provides Quality of Service.
(QoS)
The 3-bit priority field allows traffic to be prioritized, especially useful for real-time applications like VoIP.
True or False:
802.1Q can only be used on trunk ports.
True
802.1Q is designed for trunking, where multiple VLANs need to be carried over a single link. Access ports do not use VLAN tagging.
How does 802.1Q handle untagged traffic on a trunk?
It uses the native VLAN.
Untagged frames on a trunk are assigned to the native VLAN, which is typically VLAN 1 by default.
How do you configure 802.1Q trunking on a Cisco switch?
Use “switchport mode trunk” and “switchport trunk encapsulation dot1q”.
These commands enable trunking and set the encapsulation type to 802.1Q, allowing multiple VLANs to be transmitted over the link.
Fill in the blank:
To check 802.1Q trunk status on a Cisco switch, use ________.
“show interfaces trunk”
This command shows the trunk status, including the VLANs allowed and the native VLAN used on the trunk port.
True or False:
802.1Q supports VLANs from 1 to 4096.
False
The valid range for VLANs in 802.1Q is 1 to 4095. VLAN 0 and VLAN 4096 are reserved.
What is the purpose of the EtherType field in the 802.1Q header?
To identify the protocol type.
The EtherType field indicates the higher-layer protocol, such as IPv4 or IPv6, enabling the correct interpretation of the frame payload.