This is the Q&A from "Understanding LAN Switching Features – STP, QOS, and Stacking session".
STP (Spanning-tree Protocol) related questions:
Q. Should root guard be enabled only on primary root switch or can it also be enabled on secondary root switch?
A. Root guard can enable on both, the primary and secondary, root switches¬. The Root Guard feature forces an interface to become a designated port to prevent surrounding switches from becoming a root switch. In other words, Root Guard provides a way to enforce the root bridge placement in the network.The Root Guard feature prevents a Designated Port from becoming a Root Port. If a port on which the Root Guard feature receives a superior BPDU, it moves the port into a root-inconsistent state (effectively equal to a listening state), thus maintaining the current Root Bridge status.
Q. Can BPDU guard be used when Cisco switches are connecting to a non-Cisco switch or can it only be used between Cisco switches?
A. BPDU guard can be enabled on any access-ports where you are not expected to receive any BPDU which affects the spanning-tree.
Q. What should be the first step to start troubleshooting spanning-tree loop in a network?
A. When you start troubleshooting spanning-tree loop, first you need to understand if there is an actual loop which can be easily identified by using enabled mac-address-table mac-move. Basically “MAC move” is when your switch learned same mac-address on different ports. To know more about STP troubleshooting, you can watch recorded video session.
Q. Can loop guard be implemented on uplinks between Cisco and Non-Cisco switches?
A. Yes, loop guard can be implemented on uplinks between Cisco and Non-Cisco switches.
Q. Does trunk port become port-fast, if you enable port-fast globally on switches?
A. When you enable port-fast globally using “spanning-tree portfast default” command, it enable port-fast only on all access ports.
Q. Can we use port-fast instead of BPDU filters on interface?
A. Port-fast is not a replacement for BPDU Filter or BPDU guard. Enabling portfast does not make any difference to sending or receiving BPDUs, it uses to avoid the port from participating in STP. If Portfast enable interface receives a BPDU on that port it’s not going to block the port from processing the BPDU whereas enabling BPDU filter stops sending and receiving BPDUs on the interface.
Q. What will happen if a Port-fast enabled interface receives BPDU?
A. Enabling portfast does not make any difference to sending or receiving BPDUs, it uses to avoid the port from participating in STP. If a Port-fast enabled interface receives a BPDU on that port it’s not going to block the port from processing the BPDU ,it will simply turnoff the port-fast feature from that interface and start participating in STP.
Q. How MAC flaps create loops in network and how to prevent it?
A. Not always the mac-flaps create loops in the network. Let’s take an example: If a wireless user roams between the access-points then we would see mac-flaps which can an expected behavior. We cannot prevent the mac-flaps with any specific command. However, if your network is loop free (non-close looped switching network) then you might not see mac-flaps.
Q. Can I see mac flapping logs on console port?
A. Yes, you can see log when you enable mac-move notifications.log can be seen as shown below:
“%SW_MATM-4-MACFLAP_NOTIF: Host aabb.ccdd.0000 in vlan 1 is flapping between port Gi2/0/3 and port Gi2/0/2”
Q. If I want to apply port fast globally on 48 port switch, but some uplinks needs to be excluded, how do I override it?
A. If you configure port-fast globally it will affect only access-ports which can be verified using "show spanning-tree int <interface > detail | in portfast" command.
Q. How we can find where a loop is created in a network having hundreds of switches?
A. If there is a loop in the network then most of the time you should see high CPU utilization on the switch.
Q. Isn't following TCN's also one of the method to find the source of the loop?
A. It can be used to identify the source but not always a TCN will be generated for every loop.
Q. If I have multiple line cards in a core switch, which mac address become the bridge id?
A. Every switch has a base mac-address and the least of the base mac-address will be used as bridge id.
Q. When we notice mac-flaps on the switches, why does the ARP input process shoots up?
A. You will not always see “arp-input” process to be high during mac-flap situations. However, in a few scenarios, if the mac-address flushes and re-learns which might trigger the ARP rebuilt process.
Q. How to trace mac-address in a switch network? Many times when I execute “traceroute mac” command on core switch, it does not give me exact result of that mac address exists in a switch network?
A. The best way to trace a mac address is to run the “show mac address-table address <> command” and follow the interfaces.
Stacking related questions:
Q. Does stacking switch support any routing protocol?
A. Stacking does not limit the switch to its routing capabilities. These are layer 3 switches and can route as well.
I am not sure if its a limitation issue or maybe its something that not suppose to be in a network,The network works great,in the beginning I only configured the connection between R6 and R8 as NAT OUTand the PC connect to SW7 would get an IP address from...
Hello! I'm a college student and while doing my project I can't ping any device under the R-PROD_GDL block. (i.e. use Server-Inv to ping PC31), everytime I try to do so I get the host unreachable error. I can however ping devices within the Oficinas GDL. ...
I am new to networking and have a question about a problem I ran into. I have three switches - s1 is a 3560, s2 is a 2960 and s3 is a 2960. S1 is connected to s2 and s2 is connected to s3. When I took over the network segment I noticed that th...
I will be replacing our pair of Catalyst 6807 chassis running in VSS with a pair of new Catalyst 9500-16x. Currently, I have already replaced our 6800IA instant access switches with Catalyst 9300 switches that are trunked back to the 6807's in the core.&n...
Hello, Please see the below debug ip packag and interface config. Why the switch 3560 show these debug message? Thank you SW1#sh ip routeGateway of last resort is not set10.0.0.0/24 is subnetted, 4 subnetsS 10.0.30.0 [1/0] via 10.0.100.1C 10.0....