DGS-3710 Series Layer 2 Managed Gigabit Switch CLI Reference Guide
392
Restrictions
None.
Example
To display the loop detection state of ports 1 to 9 in port-based mode:
DGS-3710-12C:admin#show loopdetect ports 1-9
Command: show loopdetect ports 1-9
Port State Loop VLAN Loop Status LoopDetected Time LoopRecovered Time
----- -------- --------- ----------- ------------------- -------------------
1 Enabled 4094 Recovered 2012/12/12 11:59:59 2012/12/12 12:01:59
2 Enabled 1 Loop 2012/12/12 11:59:59 –
3 Enabled - Normal -
4 Enabled - Normal -
5 Enabled - Normal -
6 Enabled - Normal -
7 Enabled - Normal -
8 Enabled - Normal -
9 Enabled - Normal -
DGS-3710-12C:admin#
38-7
config loopdetect trap
Description
This command is used to configure the trap mode. A loop detected trap is sent when the loop
condition is detected and a loop cleared trap is sent when the loop condition is cleared.
Format
config loopdetect trap [none | loop_detected | loop_cleared | both]
Parameters
none
- Trap will not be sent for both cases.
loop_detected
- Trap is sent when the loop condition is detected
loop_cleared
- Trap is sent when the loop condition is cleared.
both
- Trap will be sent for both cases.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example
To configure a trap: