5
Display and maintenance commands for loop
detection
Execute
display
commands in any view.
Task Command
Display the loop detection configuration and status.
display loopback-detection
Loop detection configuration examples
Example: Configuring basic loop detection functions
Network configuration
As shown in
, configure loop detection on Device A to meet the following requirements:
•
Device A generates a log as a notification.
•
Device A automatically shuts down the port on which a loop is detected.
Figure 3 Network diagram
Procedure
1.
Configure Device A:
# Create VLAN 100, and globally enable loop detection for the VLAN.
<DeviceA> system-view
[DeviceA] vlan 100
[DeviceA-vlan100] quit
[DeviceA] loopback-detection global enable vlan 100
# Configure Twenty-FiveGigE 1/0/1 and Twenty-FiveGigE 1/0/2 as trunk ports, and assign
them to VLAN 100.
[DeviceA] interface Twenty-FiveGigE 1/0/1
WGE1/0/1
Device A
Device B
Device C
WGE1/0/2
VLAN 100
Содержание S6850 Series
Страница 108: ...48 WGE1 0 3 32768 49153 50100 0x7b 0001 0001 0001 ACDEF...
Страница 259: ...21 6 N A 200 6...
Страница 337: ...ii...