![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/f/fa/ffa63819-0092-4e25-b43b-b3dd7442913c/ffa63819-0092-4e25-b43b-b3dd7442913c-bg15c.png)
xStack
®
DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
344
DGS–3426:5# show loopdetect ports 1–8
Command: show loopdetect ports 1–8
Port Loopdetect State Loop Status
–––––– –––––––––––––––––– ––––––––––
1 Enabled Normal
2 Enabled Normal
3 Enabled Normal
4 Enabled Normal
5 Enabled Loop!
6 Enabled Normal
7 Enabled Loop!
8 Enabled Normal
DGS–3426:5#
To display loop-detect state of port 1–8 in VLAN–based mode:
DGS–3426:5#show loopdetect ports 1–8
Command: show loopdetect ports 1–8
Port Loopdetect State Loop VLAN
–––––– –––––––––––––––––– ––––––––––
1 Enabled None
2 Enabled None
3 Enabled None
4 Enabled None
5 Enabled 2
–
8,9
–
20,300,500,600,700,
900,1000,2000
6 Enabled None
7 Enabled 2
8 Enabled None
DGS–3426:5#
config loopdetect trap
Purpose Used to configure the trap mode.
Syntax
config loopdetect trap [ none | loop_detected | loop_cleared | both ]
Description This command is used to configure the trap mode. A ttrap will be sent when the loop
condition is detected. Similiarly the trap is sent when the loop condition is cleared.
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 usage:
To configure the loop-detect trap on the Switch: