DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide
104
This example shows how to displays the loopback detection status for port-channel 2.
Switch# show loopback-detection interface port-channel2
Interface State Result Time Left (sec)
-------------- -------- ----------------- ---------------
Port-channel2 Disabled Normal -
Switch#
Display Parameters
Interface
Indicates the port that has loopback detection enabled.
State
Indicates the loopback detection state in each port.
Result
Indicates whether a loop is detected.
Time Left
The remaining time before being auto-recovered.
21-6
snmp-server enable traps loopback-detection
This command is used to enable the sending SNMP notifications of loopback detection. Use the no
form of this command to revert to the default setting.
snmp-server enable traps loopback-detection
no snmp-server enable traps loopback-detection
Parameters
None.
Default
By default, this option is disabled.
Command Mode
Global Configuration Mode.
Command Default Level
Level: 15.
Usage Guideline
Use this command to enable or disable the sending SNMP notifications of loopback detection.
Example
This example shows how to enable the sending SNMP notifications of loopback detection.
Switch# configure terminal