Chapter 1: Packet Forwarding Flashcards
How does a switch populate the MAC address table?
Source MAC
A switch receives a packet with a destination MAC that is not in the switch’s MAC table. What does the switch do with the packet?
Forwards the packet out every port except the port it was received on.
_______ create multiple broadcast domains on the same switch.
VLANs
How many bits does the the 802.1Q header add to the frame?
32 bits (4 bytes)
What 4 fields are part of the 802.1Q header?
Tag protocol identifier (TPID)
Priority code point (PCP)
Drop eligible indicator (DEI)
VLAN identifier (VLAN ID)
16-bit field set to 0x8100.
Identifies packet as an 802.1Q packet.
A. VLAN Identifier (VLAN ID)
B. Priority Code Point (PCP)
C. Drop Eligible Indicator (DEI)
D. Tag Protocol Identifier (TPID)
D. Tag Protocol Identifier (TPID)
3-bit field.
Indicates a CoS as part of L2 QoS between switches.
A. VLAN Identifier (VLAN ID)
B. Priority Code Point (PCP)
C. Drop Eligible Indicator (DEI)
D. Tag Protocol Identifier (TPID)
B. Priority Code Point (PCP)
1-bit field that indicates if the packet can be dropped when bandwidth congestion occurs.
A. VLAN Identifier (VLAN ID)
B. Priority Code Point (PCP)
C. Drop Eligible Indicator (DEI)
D. Tag Protocol Identifier (TPID)
C. Drop Eligible Indicator (DEI)
12-bit field. IDs VLAN associated with a network packet.
A. VLAN Identifier (VLAN ID)
B. Priority Code Point (PCP)
C. Drop Eligible Indicator (DEI)
D. Tag Protocol Identifier (TPID)
A. VLAN Identifier (VLAN ID)
The VLAN Identifier has ____ bits.
How many VLANs does this provide?
12 bits 4094 VLANs (2^12)
What are the normal range VLANs?
2-1001
Can be added, deleted, modified.
What is the default VLAN?
VLAN 1
VLAN 0 is reserved for ___ ______?
802.1P traffic
Can VLAN 0 be modified or deleted?
No
What VLANs are reserved and cannot be modified or deleted?
VLAN 1002-1005
What VLANs are in the extended range?
VLAN 1006-4094
Can be added, deleted, modified.
At what point is the VLAN actually created?
When the CLI has been moved back to global config or a different VLAN identifier.
How many VLANs is an access port assigned to?
1
What type of port adds or removes the 802.1Q header to the frame?
Trunk
By default, what kind of port are switch ports?
Access
What kind of port carries multiple VLANs?
Trunk
When are trunk ports used?
When multiple VLANs need connectivity between a switch and another switch/router/firewall.
What happens when a frame is received on a trunk port?
- Headers are examined.
- Traffic is associated to the proper VLAN.
- 802.1Q headers are removed.
- Traffic is forwarded to the next port, based on MAC address for that VLAN.
Traffic sent or received on a trunk port without the VLAN tag is associated to what VLAN?
Native VLAN
What info does ‘show interface trunk’ display?
Trunk ports; Port status; Association to etherchannel; Native vlan; List of vlans allowed on port; Vlans in forwarding state on switch.