Spanning tree Flashcards
Default STP port costs for the following speeds: 10M 100M 1G 10G
10M = 100 100M = 19 1G = 4 10G = 2
What are the 3 types of BPDUs?
Hello BPDU
CBDPU - Configuration BPDU
TCN BPDU - Topology Change Notification BPDU
Command to configure a static etherchannel
conf t
interface int
channel-group group number mode on
Command to show the status of an etherchannel
show etherchannel group number
What are the 2 protocols that can be used to create dynamic etherchannels?
PAgP
LACP
What does PAgP stand for?
Port Aggregation Protocol
What does LACP stand for?
Link Aggregation Control Protocol
What is the IEEE standard for PAgP and LACP?
PAgP is Cisco proprietary
LACP is 802.1ad
Syntax to enable PAgP on a interface
conf t
int gi1/0
channel-group group number mode {desirable | auto}
Syntax to enable LACP on a interface
conf t
int gi1/0
channel-group group number mode {active | passive}
In PAgP configurations, what does the keyword desirable tell the switch to do vs auto?
It tells the switch “use this protocol and begin negotiations”versus “use this protocol and wait for the other switch to begin negotiations.”
In LACP configurations, what does the keyword active tell the switch to do vs passive?
It tells the switch “use this protocol and begin negotiations”versus “use this protocol and wait for the other switch to begin negotiations.”
What happens with an etherchannel where both sides are set to either auto or passive?
It won’t come up, because both sides are waiting for the other to begin negotiations.
What is the IEEE standard for:
STP
PVST
RSTP
802.1D
Cisco Proprietary
802.1w
What does RSTP stand for?
Rapid Spanning Tree Protocol
What STP mode do Cisco switches generally default to?
802.1D with PVST
Command to set a switch to use PVST
spanning-tree mode pvst
What 3 fields make up the BID?
- Priority
- System ID Extension
- System ID
What is the range for priority?
0-65535
What is unusual about the priority value?
It’s in multiples of 4096.
What is the value of an all 1’s priority field?
61140
What are the values of each bit in the priority field?
32768 16384 8192 4096
What is normally stored in the System ID extension field?
VLAN ID
How many bits in the System ID extension field?
12
How many bits in the priority field?
4
How many bits in the System ID field?
6 bytes
Command to set the priority for a given VLAN
spanning-tree vlan vlan id priority priority
Command to set a port cost.
Conf t
interface gi1/0
spanning-tree [vlan vlan id] cost cost
What is the default BID priority?
32768