Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
180 Cards in this Set
- Front
- Back
how does mac database instability occur |
copies of the same frame are received on different ports of the switch |
|
what is a broadcast storm |
when there is a loop in the network, each switch may flood broadcasts endlessly |
|
what is multiple frame transmission |
multiple copes of unicast frames may be delivered to destination stations, can cause unrecoverable errors |
|
why do broadcast loops cause mac address table instability |
the mac address is constantly changing due to the same frame coming in on different ports. |
|
when does a broadcast storm occur |
when there are so many broadcast frames caught in a layer 2 loop that all available bandwidth is consumed. |
|
spanning tree protocol function |
ensures that there is only one logical path between all destinations on the network |
|
how does spanning tree protocol work |
logically blocks redundant paths that can cause a loop |
|
a port is considered to be blocked when |
user data is prevented from entering or leaving that port |
|
BPDU stands for |
bridge protocol data unit |
|
what happens when a cable or switch failure occurs in an stp enabled network |
stp recalculates the paths and unblocks the necessary ports to allow the redundant path to become active |
|
RSTP stands for |
rapid spanning tree protocol |
|
MSTP stands for |
multiple spanning tree protocol |
|
IEEE documentation on spanning tree |
IEEE 802.1D |
|
STA stands for |
spanning tree algorithm |
|
how does the sta determine the root bridge |
all switches participating exchange bpdu frames to determine which switch has the lowest bid |
|
BID stands for |
bridge id |
|
What is a BPDU |
a messaging frame exchanged by switches for STP |
|
what does the BPDU contain that helps with STP |
a BID containing a priority value and the MAC address of the sending switch |
|
What happens after the root bridge has been determined |
the STA calculates the shortest path to the root bridge. |
|
what does the STA consider while making its calculation |
path and port costs |
|
how are path costs calculated |
using port cost values associated with port speeds for each switch port along a given path. sum of those determines overall path cost to root bridge. |
|
4 roles that can be assigned to a port by the STA |
root port designated port alternate/backup port disabled port |
|
root port is |
switch ports closest to the root bridge on each switch |
|
designated port is |
all non-root ports that are still permitted to forward traffic |
|
other end of a root port is a |
designated port |
|
alternate/backup ports are |
configured to be in a blocked state to prevent loops. only on trunk links where neither end is a root port. only one end is blocked |
|
disabled port is |
one that is shut down |
|
frequency of sending out BPDU frames |
every 2 seconds |
|
default port costs defined by |
speed at which the port operates |
|
new cost of 10 Gb/s port |
1 |
|
cost of 1 Gb/s port |
1 |
|
cost of 100 Mb/s port |
10 |
|
cost of 10 Mb/s port |
100 |
|
spanning tree cost command |
S2(config-if)# spanning-tree cost __ |
|
why would you want to configure a new spanning tree cost on an interface |
to manually control the spanning tree paths to the root bridge |
|
old cost of 10 Gb/s port |
2 |
|
old cost of 1 Gb/s port |
4 |
|
old cost of 100 Mb/s port |
19 |
|
old cost of 10MGb/s port |
100 |
|
command to verify port and path cost to the root bridge |
S1# show spanning-tree |
|
ports in the root bridge are automatically configured as |
designated |
|
if all port costs are equal, how are designated and alternate switch ports determined |
through the BPDU process, the switch with the lower BID has the designated ports |
|
how is the root port determined on each switch |
the switch port with the lowest overall path cost to the root bridge |
|
number of root ports on each switch |
one |
|
number of fields in the BPDU frame |
12 |
|
1st 4 fields of a BPDU frame |
protocol version message type status flag |
|
2nd 4 fields of BPDU frame |
root id cost of path bridge id port id |
|
3rd 4 fields of BPDU frame |
message age max age hello time forward delay |
|
multicast mac address for spanning tree group |
01:80:C2:00:00:00 |
|
if the priority on all switches are the same, how is the root bridge determined |
lowest MAC address |
|
when identifying a root bridge, what part of the BPDU does not get updated |
Bridge ID for each switch |
|
customizable part of the BID field |
bridge priority |
|
default bridge priority for Cisco switches |
32768 |
|
range and increments of bridge priority for Cisco switches |
0 to 61440, increments of 4096 |
|
value to set bridge priority to make sure it is the root bridge |
0 |
|
what information is in the extended switch id portion of the BID |
VLAN id |
|
if 2 switches have the same priority and extended switch id, how is the lowest BID determined |
the lowest MAC address |
|
6 varieties of spanning tree protocols |
802.1D-1998 PVST+ 802.1D-2004 RSTP Rapid PVST+ Multiple Spanning Tree Protocol |
|
RSTP stands for |
rapid spanning tree protocol |
|
802.1D-1998 is |
the legacy standard for bridging and STP |
|
CST stands for |
common spanning tree |
|
CST assumes |
one spanning tree instance for the entire bridged network regardless of number of vlans |
|
PVST+ is |
Cisco's enhancement of STP that provides separate spanning trees for each VLAN |
|
802.1D-2004 is |
and updated version of the STP standard incorporating IEEE 802.1W |
|
RSTP is, AKA |
evolution of STP that provides faster convergence than STP, AKA IEEE 802.1W |
|
Rapid PVST+ is |
Cisco enhancement that provides a separate instance of 802.1w per VLAN |
|
MISTP stands for |
multiple instance STP |
|
MSTP stands for |
multiple spanning tree protocol |
|
what does MSTP do |
maps multiple vlans into the same spanning tree instance, up to 16 of RSTP |
|
STP protocol standard resources needed, convergence, tree calculation |
802.1D Low Slow All VLANs |
|
PVST+ protocol standard resources needed, convergence, tree calculation |
Cisco High Slow Per VLAN |
|
RSTP protocol standard resources needed, convergence, tree calculation |
802.1w Medium Fast All VLANs |
|
Rapid PVST+ protocol standard resources needed, convergence, tree calculation |
Cisco Very High Fast Per VLAN |
|
MSTP protocol standard resources needed, convergence, tree calculation |
802.1s, Cisco Medium or high Fast Per instance |
|
why are cpu and memory requirements low for IEEE 802.1D |
only one instance of spanning tree, only one root bridge, |
|
PVST+ allows for |
per VLAN root bridges, optimizing traffic of each VLAN |
|
One thing RSTP and STP have in common |
only provides a single instance of STP |
|
Difference between RSTP and Rapid PVST+ |
supports separate instance of 802.1w per VLAN |
|
default spanning tree mode for Cisco switches |
PVST+ |
|
cisco enhancement of STP, provides a separate 802.1D spanning tree instance for each VLAN |
PVST+ |
|
Cisco enhancement of RSTP |
Rapid PVST+ |
|
Uses one IEEE 802.1D spanning tree instance for entire bridged network |
STP |
|
An evolution of STP that provides faster STP convergence |
RSTP |
|
Maps multiple VLANs that have the same traffic flow requirements into the same spanning tree instance |
MSTP |
|
2 characteristics of a network running CST |
No load sharing possible the CPU is spared, only 1 instance of spanning tree must be computed |
|
Advantages of PVST+ over CST |
Supports spanning tree for each VLAN so can block for 1 vlan while allowing traffic for another on the same trunk can implement layer 2 load balancing |
|
disadvantages of PVST+ |
requires greater CPU process and BPDU bandwidth consumption than CST |
|
2 characteristics of network running PVST+ |
Optimum load balancing capabilities Can have waste of CPU cycles due to each VLAN having own spanning tree |
|
5 port states that ensure no loops are created during creation of spanning tree |
blocking listening learning forwarding disabled |
|
blocking states means |
port is an alternate port and does not participate in frame forwarding |
|
listening state means |
listens for the path to the root. can receive, transmit BPDU frames and inform adjacent switches that the port is preparing to participate in active topology |
|
learning state means |
learns MAC addresses to participate in frame forwarding, begins to populate the MAC address table |
|
forwarding state means |
forwards data frames and sends/receives |
|
disabled state means |
does not participate in spanning tree and does not forward frames. Amin disabled |
|
4 steps PVST+ performs to provide loop free network topology |
Elects one root bridge selects the root port on each non-root bridge selects the designated port on each segment remaining ports in the switches network are alternate ports |
|
RSTP port states |
discarding learning forwarding |
|
version field of BPDU for RSTP |
2 |
|
Difference in use of BPDU in RSTP |
BPDU used as a keep-alive, 3 consecutively missed BPDUs indicate lost connectivity |
|
an RSTP edge port is |
a switch port that is never intended to be connected to another switch, immediately transitions to the forwarding state when enabled |
|
command to configure edge ports |
S1(config-if)# spanning-tree portfast |
|
2 different link types |
point to point shared |
|
point to point link type is |
a port operating in full duplex mode typically connects a switch to a switch and is a candidate for a rapid transition to a forwarding state |
|
shared link type is |
a port operating in half duplex mode connects a switch to a hub that attaches multiple devices |
|
type of port that most uses link type parameters |
designated |
|
Uses 802.1D to run a separate instance for each vlan |
PVST+ |
|
Possible to have load sharing with some vlans forwarding on each trunk |
PVST+ and Rapid PVST+ |
|
CPU processing and trunk bandwidth usage is greater than with STP |
PVST+ and Rapid PVST+ |
|
The root bridge is determined by the lowest BID+VLAN ID + MAC |
PVST+ and Rapid PVST+ |
|
Cisco proprietary protocol |
PVST+ and Rapid PVST+ |
|
Ports can transition to forwarding state without relying on a timer |
Rapid PVST+ |
|
Port roles, root, designated, alternate, edge, backup |
Rapid PVST+ |
|
Sends a BPDU hello message every 2 seconds |
PVST+ and Rapid PVST+ |
|
Cisco 2960 default enable state |
Vlan 1 |
|
Cisco 2960 default spanning tree mode |
PVST+ |
|
Cisco 2960 default switch priority |
32768 |
|
Cisco 2960 default spanning tree priority |
128 |
|
Cisco 2960 default spanning tree port cost |
1000 Mb/s: 4 100 Mb/s: 19 10 Mb/s: 100 |
|
Cisco 2960 default spanning tree vlan port priority |
128 |
|
Cisco 2960 default spanning tree vlan port cost |
1000 Mb/s: 4 100 Mb/s: 19 10 Mb/s: 100 |
|
spanning tree hello time |
2 seconds |
|
spanning tree forward-delay time |
15 seconds |
|
spanning tree max aging time |
20 seconds |
|
spanning tree transmit hold count |
6 BPDU |
|
command to ensure a switch has the lowest bridge priority value (vlan) |
s1(config)#spanning-tree vlan __ root primary |
|
What does the spanning-tree vlan ___ root primary do |
sets the priority for the switch to the predefined value of 24,576 or to the highest multiple of 4096, less than the lowest bridge priority detected on the network |
|
command to set an alternate root bridge |
s2(config)# spanning-tree vlan ___ root secondary |
|
what does the alternate root bridge command do |
sets the priority for the switch to 28,672 |
|
command to exactly configure bridge priority value
|
s1(config)# spanning-tree vlan __ priority ___ |
|
what does portfast do |
enables a port to transition from blocking to forwarding state immediately by passing the listening and learning states |
|
Portfast is a feature for which spanning tree protocol? |
PVST+ |
|
Where is portfast usually used |
on access ports connected to end devices |
|
What does BPDU guard do |
puts the port into error disabled state if it receives a BPDU |
|
why is Portfast useful for DHCP |
without it, it's possible for an end device to request an IP address before the port is active |
|
command to configure portfast |
s1(config-if)# spanning-tree portfast |
|
what does the command spanning-tree portfast default do |
enables Portfast on all nontrunking interfaces |
|
command to configure BPDU guard on a port |
s2(config-if)# spanning-tree bpduguard enable |
|
show command to check that BPDU guard has been enabled |
show running-config |
|
command to display active interface spanning tree config |
show spanning-tree active |
|
when is a spanning tree instance created |
when an interface is assigned to a vlan |
|
command to configure rapid PVST+ |
S1(config)# spanning-tree mode rapid-pvst |
|
command to get a quick overview of the status of STP for all vlans that are defined on a switch |
show spanning-tree |
|
command to get STP info for a particular vlan |
show spanning-tree vlan ___ |
|
2 types of STP failures |
STP might erroneously block ports that should have gone into the forwarding state STP erroneously moves one or more ports into the forwarding state |
|
Earliest indication of a broadcast storm |
routers or layer 3 switches report control plane failures and high cpu loads |
|
ways to prevent a single point of failure at the default gateway |
virtual router |
|
what is a virtual router |
multiple routers configured to work together to present the illusion of a single router to the hosts on a LAN |
|
what do routers share when they are a virtual router |
a MAC and IP address |
|
how does a virtual router route packets |
virtual router IP configured as default host uses ARP to resolve MAC address of default gateway frames sent to virtual router MAC address are processed by the current active router |
|
first-hop redundancy is |
the ability of a network to dynamically recover from the failure of a device acting as a default gateway |
|
a device that routes traffic destined to network segments beyond the source network segment for which the sending node may not have explicit routing information |
default gateway |
|
a set of routers working together to present the illusion of a single router to the hosts on a LAN segment |
virtual router |
|
a layer 3 address assigned to a protocol that shares the single address among multiple devices |
virtual ip address |
|
a device that is part of a virtual router group assigned the role of alternate default gateway |
standby router |
|
the layer 2 address returned by arp for an fhrp gateway |
virtual mac address |
|
a device that is part of a virtual router group assigned to the role of default gateway |
forwarding router |
|
command to verify HSRP state |
show standby |
|
HSRP stands for |
hot standby router protocol |
|
What is HSRP |
Cisco-proprietary FHRP designed to allow for transparent failover of a first-hop ipv4 device. |
|
Where is HSRP used |
in a group of routers for selecting an active device and standby device |
|
function of HSRP |
monitor the operational status of the HSRP group and quickly assume packet forwarding responsibility if active router fails |
|
HSRP ipv6 virtual mac address is derived from |
the HSRP group number |
|
HSRP ipv6 virtual IPv6 link-local address is derived from |
HSRP virtual MAC address |
|
VRRPv2 stands for |
Virtual router redundancy protocol version 2 |
|
What is VRRPv2 |
non-proprietary election protocol that dynamically assigns responsibility for one or more virtual routers to the VRRP routers |
|
VRRPv2 supports |
IPv4 only |
|
VRRPv2 supports |
IPv4 and IPv6 |
|
GLBP stands for |
gateway load balancing protocol |
|
Function of GLBP |
FHRP that protects data traffic from a failed router or circuity while also allowing load balancing |
|
IRDP stands for |
ICMP router discovery protocol |
|
what is IRDP |
a legacy FHRP solution |
|
Cisco proprietary FHRP protocol which protects data traffic from a failed router or circuit while also allowing load sharing between a group of redundant routers |
GLBP |
|
Used in a group of routers for selecting an active device and a standby device |
HSRP |
|
Cisco proprietary FHRP protocol designed to allow for transparent failover of a first hop IPv4 device |
HSRP |
|
One router is elected as the virtual router master, with the other routers acting as backups in case the virtual router master fails |
VRRP |
|
A non-proprietary election protocol that allows several routers on a multi-access link to utilize the same virtual IPv4 address |
VRRP |
|
4 characteristics of an HSRP active router |
responds to default gateway's ARP request Assumes active forwarding of packets sends hello messages knows the virtual router IP address |
|
2 characteristics of a HSRP standby router |
listens for periodic hello packets assumes active forwarding of packets if it does not hear from the active router |
|
Advantages of GLBP |
since it allows for load balancing between non-active routers it utilizes some of the bandwidth that would otherwise be dormant |
|
4 characteristics of GLBP |
Allows full use of resources on all devices without admin provides single virtual IP and MAC address routes traffic to a single gateway distributed across routers provides automatic rerouting in the event of any failure |
|
command to verify GLBP status |
show glbp |