Shared Flashcard Set

Details

CCNA Semester 3
Chapter 5 - STP v0209
73
Computer Networking
Undergraduate 1
05/04/2013

Additional Computer Networking Flashcards

 


 

Cards

Term
Why is it an advantage to have redundancy in a switched Ethernet network?
Definition
The additional devices and links provide alternative paths for data if some paths become unavailable because of equipment failure. This increases the reliability and availability of the network.
Term
What is the purpose of Spanning Tree Protocol?
Definition
To prevent loops in a level 2 switched network where there is redundancy
Term
What mechanism is available in the packet header to prevent endless routing loops, but is not available in the frame header to do the same for switching loops.
Definition
Time to live field.
Term
If frames are caught in a loop, how can you break the loop?
Definition
You need to break the loop physically by removing a connection or powering off aswitch.
Term
What is a broadcast storm?
Definition
A large number of broadcasts looping endlessly in a network, taking all the bandwidth so that normal traffic cannot be sent.
Term
What are the consequences of having a switching loop?
Definition
Broadcast storms, duplicate unicast frames arriving, discrepancies in switch MAC address tables.
Term
How can a physical loop occur?
Definition
It may be created on purpose to give redundancy, or it may be created by accident if there is a confusion with cables.
Term
How does Spanning Tree Protocol manage physical loops to allow redundancy without allowing frames to travel in loops?
Definition
It shuts down certain ports so that no loops are active. If a link fails and the blocked port is needed, then Spanning Tree Protocol will recalculate and unblock ports as required.
Term
What is the name of the type of frame that STP sends in order to carry out its function?
Definition
Bridge Protocol Data Unit (BPDU)
Term
What is the Root Bridge in a switched network?
Definition
The switch that is used as a starting point for the STP calculations. It is chosen by anelection.
Term
What is a BID and what does it consist of?
Definition
A bridge identifier. It identifies a switch for STP purposes. It consists of a priority number, the switch’s base MAC address, and it may also include an extended systemID.
Term
Why is it an advantage to have redundancy in a switched Ethernet network?
Definition
The additional devices and links provide alternative paths for data if some paths become unavailable because of equipment failure. This increases the reliability and availability of the network.
Term
What is the purpose of Spanning Tree Protocol?
Definition
To prevent loops in a level 2 switched network where there is redundancy
Term
What mechanism is available in the packet header to prevent endless routing loops, but is not available in the frame header to do the same for switching loops.
Definition
Time to live field.
Term
If frames are caught in a loop, how can you break the loop?
Definition
You need to break the loop physically by removing a connection or powering off aswitch.
Term
What is a broadcast storm?
Definition
A large number of broadcasts looping endlessly in a network, taking all the bandwidth so that normal traffic cannot be sent.
Term
What are the consequences of having a switching loop?
Definition
Broadcast storms, duplicate unicast frames arriving, discrepancies in switch MAC address tables.
Term
How can a physical loop occur?
Definition
It may be created on purpose to give redundancy, or it may be created by accident if there is a confusion with cables.
Term
How does Spanning Tree Protocol manage physical loops to allow redundancy without allowing frames to travel in loops?
Definition
It shuts down certain ports so that no loops are active. If a link fails and the blocked port is needed, then Spanning Tree Protocol will recalculate and unblock ports as required.
Term
What is the name of the type of frame that STP sends in order to carry out its function?
Definition
Bridge Protocol Data Unit (BPDU)
Term
What is the Root Bridge in a switched network?
Definition
The switch that is used as a starting point for the STP calculations. It is chosen by anelection.
Term
What is a BID and what does it consist of?
Definition
A bridge identifier. It identifies a switch for STP purposes. It consists of a priority number, the switch’s base MAC address, and it may also include an extended systemID.
Term
How is the BID used in the choice of a root bridge?
Definition
The switch with the lowest BID becomes the root bridge. The switches exchange BIDinformation in their BPDUs.
Term
What is a root port?
Definition
Every switch except the root bridge has one root port. It is the port closest to the root bridge – the one with the lowest cost route to the root bridge. Root ports are allowed to forward frames.
Term
What is a designated port?
Definition
A port that is allowed to forward frames, but is not a root port.
Term
What happens to a non-designated port?
Definition
It is closed down by STP. It enters the blocking state.
Term
How often, by default, does a switch send out BPDUs?
Definition
Every 2 seconds.
Term
When a switch first starts up, which BID does it put in its BPDU as the root ID?
Definition
Its own BID. It is saying that it is the root bridge.
Term
What would make a switch change the root ID that it puts in its BPDUs?
Definition
If it receives a BPDU that has a lower value as the root ID then it uses this lower value.It is saying that it is not the root bridge, another switch is the root bridge.
Term
If there are several switches between a certain port and the root bridge, how is the cost to the root bridge worked out?
Definition
It is the sum of the costs of all the links on the route. The cost for a link depends on the bandwidth of the link.
Term
What is the revised IEEE value for the cost of a Fast Ethernet link?
Definition
19
Term
How can you configure a switch so that it wins the election for root bridge?
Definition
Change its priority so that it has the lowest priority value of any switch on the network.
Term
Why was the extended system ID added to the BID?
Definition
It allows STP to support VLANs by running a separate process for each VLAN. The extended system ID contains the VLAN number.
Term
How is the root bridge chosen if all the switches have the default priority?
Definition
The switch with the lowest base MAC address is chosen.
Term
What does the command spanning-tree vlan 1 root primary do?
Definition
It sets the switch priority to 24576, or to 4096 less than the lowest priority detected onthe network – whichever of these is lower. The effect is to make this the switch with the lowest priority so that it becomes root bridge.
Term
Why do priority values go up in increments of 4096?
Definition
Originally they went up in increments of 1 from 1 to 65536, using 16 bits. When the extended system ID was introduced, it took 12 of the original 16 bits. Only 4 bits remained. In order to keep the same maximum value, the priority needs to go up insteps of 4096 (2^12 )
Term
Why might you use the command
spanning-tree vlan 1 root secondary?
Definition
It sets the switch priority to 24576. Assuming that you have used
spanning-tree vlan 1 root primary
on your chosen root bridge, and that all the other switches are left with the default priority, this switch will win the election if the root bridge fails. It therefore lets you choose a backup root bridge.
Term
What is a disabled port?
Definition
A port that has been administratively shut down. It does not participate in STP.
Term
If a switch has two ports with the same cost route to the root bridge, which of these ports will become the root port?
Definition
Each port has a port priority that can be configured, and the one with the lower priority becomes root port. If both have the same priority then the one with the lower port ID becomes root port.
Term
If port Fa0/6 has the default port priority, how would its priority be written?
Definition
128.6
Term
Why do all active ports on the root bridge become designated ports?
Definition
Each segment has a designated port, and this is the port closer to the root bridge. If one of the ports on a segment is on the root bridge then it has to be the closer port, so it is designated.
Term
What are the five port states in the original STP?
Definition
Blocking, listening, learning, forwarding, disabled.
Term
Which of these states are temporary and are not seen once the network has converged?
Definition
Listening and learning.
Term
What is a port doing while it is in the Learning state?
Definition
Learning MAC addresses and building up its switching table.
Term
What are the purposes of the Hello, Forward delay and Maximum age timers?
Definition
The Hello timer, default 2 seconds, controls the interval at which BPDUs are sent out.The Forward delay timer, default 15 seconds, controls the time the switch spends in the listening and learning states. The Maximum age timer, default 20 seconds, controls the
time BPDU information is kept. After 20 seconds with no BPDU received, the switch will assume that the link is down and STP calculations will have to be run again.
Term
Can the timers be changed?
Definition
They can, but it is not recommended. They are optimized for a network diameter of 7. If it is really necessary then the network diameter can be changed and the timers will automatically change with it, Even this is not recommended in normal conditions
Term
What is PortFast?
Definition
It is a Cisco proprietary method of speeding up STP convergence. Access ports that are connected to end devices, such as workstations, can never be involved in loops. It makes sense to bring them to the forwarding state immediately without spending time inlistening and learning. A port configured with PortFast will do this. It is important not to configure a port as PortFast if it is connected to another switch.
Term
What are the three steps in STP convergence?
Definition
1. Elect a root bridge
2. Elect root ports
3. Elect designated and non-designated ports
Term
Why does STP use timers to keep switches in the blocking, listening and learning statesfor given lengths of time?
Definition
It allows the network time to converge before user data frames are forwarded. This is based on a network diameter of 7 switches.
Term
Once a network has converged, BPDUs are normally sent outwards from the root bridgebut not back towards it. How do switches inform the root bridge if a link goes down?
Definition
They send a topology change notification (TCN) frame, which is a special BPDU.
Term
Why did Cisco introduce PVST and PVST+ as variations of STP?
Definition
They provide support for VLANs, so that each VLAN can have its own instance of STP.Ports may be blocking for some VLANs but not for others. PVST used only ISL for trunking, but PVST+ supports both ISL and IEEE802.1Q.
Term
Why was RSTP introduced?
Definition
Rapid STP was introduced to avoid having to wait up to 50 seconds for the network toconverge.
Term
What three port types are defined by RSTP?
Definition
Discarding, Learning and Forwarding.
Term
What happens if you have some switches running STP and some running RSTP?
Definition
They are compatible and will work correctly together.
Term
How does the BPDU for RSTP compare with the BPDU for STP?
Definition
They have the same format – same fields of the same length. RSTP has the versionfield set to 2.
Term
A switch running STP waits for 20 seconds (10 missed BPDUs) before assuming that the link is down. How long does a switch running RSTP wait?
Definition
3 missed BPDUs or 6 seconds by default.
Term
What is an edge port in RSTP?
Definition
A port that is not intended to be connected to another switching device. It will only beconnected to an end device such as a workstation.
Term
What is the advantage of having a port configured as an edge port?
Definition
It will change to the forwarding state at once when it is enabled, and will not spend timein intermediate states.
Term
Which Cisco proprietary enhancement to STP is similar to the edge port in RSTP?
Definition
PortFast
Term
What happens if an RSTP edge port receives a BPDU? Is its behaviour the same asthat of a PortFast port used with STP?
Definition
If an RSTP edge port receives a BPDU, this means that it has been connected to aswitch. It immediately stops being an edge port. It reverts to normal and takes part inspanning tree activities. A PortFast port does not do this by default, though there is afeature that can allow it to do so.
Term
On a Cisco switch, what is the command that configures a port as an RSTP edge port,and why was this command chosen?
Definition
spanning-tree portfast This command was chosen to make the transition from STP to RSTP easier becausethe command is unchanged from the old PortFast configuring command.
Term
How can non-edge ports be classified?
Definition
It depends on the type of link. They can be point-to-point or shared. The type can befound automatically or it can be configured.
Term
Which type of port makes most use of this classification?
Definition
Designated ports.
Term
RSTP has a discarding port state that is not found in STP. Which STP port statescorrespond to the discarding port state?
Definition
Blocking, listening and disabled.
Term
In STP, root ports and designated ports are able to forward frames. RSTP has theseport roles, but it introduces roles for ports that are not forwarding. What are these rolesand what is their purpose?
Definition
Alternate ports are discarding (closed down) but can take over from designated ports quickly when necessary. Backup ports are discarding, but can take over from root ports quickly when necessary.
Term
How can RSTP converge more quickly than STP, and without the use of timers?
Definition
It works on one link at a time, closing it down briefly and determining the port roles,using a proposal and agreement process. Then it moves on to the next link.
Term
What is Rapid PVST+ ?
Definition
It is Cisco’s implementation of RSTP. It supports the use of VLANs.
Term
Do all the switches in a network have to be running Rapid PVST+ ?
Definition
Not necessarily. At least one switch on each loop in a VLAN must be running it,otherwise there will be a broadcast storm.
Term
If a switch is running PVST+ by default, how can it be configured to run Rapid PVST+ ?
Definition
S1(config)# spanning-tree mode rapid-pvst
Term
What is the best choice of a root bridge?
Definition
A powerful switch in the middle of the network with a direct connection to the serversand routers. This keeps the average distance traveled by frames as small as possible.
Term
What is the advantage of using some layer 3 switches in a network?
Definition
They break up broadcast domains (as routers do), so there can be redundant linkswithout forming switching loops that cause broadcast storms. They keep the advantageof forwarding very quickly (unlike routers).
Term
You have designed a network without switching loops. Should you disable STP?
Definition
No. There is too much risk that a loop could be created by accident and cause abroadcast storm. It is better to leave STP running as it does not make too muchdemand on processing or bandwidth.
Term
Why is it essential for the network administrator to know the topology of the network,including all redundant links, which switch is the root bridge, and which ports are closeddown by STP?
Definition
If there is a problem, this information is required for troubleshooting.
Supporting users have an ad free experience!