03-01-2017 06:55 PM - edited 03-08-2019 09:34 AM
we have establish trunk link between two switches, at the port level, there are some commands configured:
logging event trunk status
udld port aggressive
spanning-tree guard loop
load-interval 20
can anyone explain what are the purpose of the above commands, if we remove loop guard, what will happen in production environment, thanks
03-01-2017 07:23 PM
logging event trunk
http://www.cisco.com/c/en/us/td/docs/ios/fundamentals/command/reference/cf_book/cf_l1.html
To enable trunk status messaging, use the logging event trunk-status command in interface configuration mode. To disable trunk status messaging, use the no form of this command.
udld port aggressive
Normal-mode UDLD classifies a link as unidirectional if the received UDLD packets do not contain information that is correct for the neighbor device. In addition to the functionality of normal mode UDLD, aggressive-mode UDLD puts ports into the errdisabled state if the relationship between two previously synchronized neighbors cannot be reestablished.
spanning-tree guard loop
http://www.cisco.com/c/en/us/support/docs/lan-switching/spanning-tree-protocol/10596-84.html
The STP loop guard feature provides additional protection against Layer 2 forwarding loops (STP loops). An STP loop is created when an STP blocking port in a redundant topology erroneously transitions to the forwarding state. This usually happens because one of the ports of a physically redundant topology (not necessarily the STP blocking port) no longer receives STP BPDUs. In its operation, STP relies on continuous reception or transmission of BPDUs based on the port role. The designated port transmits BPDUs, and the non-designated port receives BPDUs.
When one of the ports in a physically redundant topology no longer receives BPDUs, the STP conceives that the topology is loop free. Eventually, the blocking port from the alternate or backup port becomes designated and moves to a forwarding state. This situation creates a loop.
The loop guard feature makes additional checks. If BPDUs are not received on a non-designated port, and loop guard is enabled, that port is moved into the STP loop-inconsistent blocking state, instead of the listening / learning / forwarding state. Without the loop guard feature, the port assumes the designated port role. The port moves to the STP forwarding state and creates a loop.
load-interval 20
http://www.cisco.com/c/en/us/td/docs/ios/fundamentals/command/reference/cf_book/cf_l1.html
To change the length of time for which data is used to compute load statistics
03-02-2017 06:56 PM
No. I want to know the purpose of the above commands as whole, for all my router/switches, only two switch are configured in this way, thus I want to know the exact purpose
03-01-2017 07:24 PM
If nothing is broken then you could remove the "spanning-tree guard loop" command. Just make sure no ports says they are in an "inconsistent state".
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide