3 - Implementing VLANs and STP Flashcards
What is a VLAN?
A separate broadcast domain, virtually created on the switch
How do VLANs improve security and host performance?
Fewer hosts see copies of frames (broadcasts, multicasts, unknown unicasts) sent by one host, because it creates smaller broadcast domains. Allow per VLAN security policies
When do you need VLAN trunking and what does it do?
Networks with multiple interconnected switches. Allows traffic for multiple VLANs to be sent over a single link
What is a VLAN tag?
A small header added to an Ethernet frame so that frames can be identified as belonging to a given VLAN
What are the two trunking protocols Cisco primarily supports and which is more popular?
Inter-Switch Link (ISL)
IEEE 802.1Q is more popular
How do ISL and IEEE 802.1Q differ?
802.1Q inserts an extra 4 byte VLAN header into the original frame’s Ethernet header (that also contains the VLAN ID)
How many bits is the VLAN ID inside the 802.1Q header?
12 bits
What is the max number of VLANs supported by ISL and 802.1Q?
4096 but only 4094 usable. 0 and 4095 are reserved.
What number VLANs are in the standard range?
1 - 1005
What number VLANs are in the extended range?
1006 - 4094
What is the default native VLAN?
1
What does 802.1Q do with frames in the native VLAN?
Nothing. It does not add a header
What are non-trunking interfaces called?
Access interfaces / static access interfaces
What commands would you use to setup a VLAN and add a port to it on a switch?
vlan 10 name TestVLAN interface f0/10 switchport access vlan 10 switchport mode access
How could you list simple VLAN information on a switch?
show vlan brief
What is special about VLANs 1002-1005?
They cannot be deleted
How can you disable VTP on a Switch?
vtp mode transparent
vtp mode off
What does VTP transparent mode do?
Prevent VTP from learning and advertising about VLAN configuration itself, but still forwards VTP advertisements
How can you check VTP status?
show vtp status
True / False: The show running-config command shows VLAN commands
False
What is DTP for?
Dynamic Trunking Protocol. Two connected switches use this protocol to negotiate which type of trunking to use (ISL or 802.1Q)
How does the dynamic desirable Trunk administrative mode work?
Initiates negotiation messages and responds to negotiation messages to trunk
How does the dynamic auto Trunk administrative mode work?
Passively waits to receive trunk negotiation messages at which point the switch will respond and negotiate
What is the operational mode of an interface?
The mode that it is currently actually active on an interface, e.g. static access