181

Parameter time: Time interval in seconds for port loopback detection, in the range of 5 to 300.

Description Use the loopback-detectioninterval-timecommand to configure time interval for port loopback detection.

Use the undo loopback-detection interval-time command to restore the default time interval for port loopback detection, which is 30 seconds.

Related command: display loopback-detection.

Example # Set the time interval for port loopback detection to 10 seconds.

<Sysname> system-view

[Sysname] loopback-detection interval-time 10

loopback-detection per-vlan enable

Syntax loopback-detection per-vlan enable

undo loopback-detection per-vlan enable

View Ethernet interface view

Parameter None

Description Use the loopback-detectionper-vlan enable command to enable loopback detection in all VLANs with Trunk ports or Hybrid ports.

Use the undo loopback-detection per-vlan enable command to enable loopback detection in the default VLAN with Trunk ports or Hybrid ports.

By default, loopback detection is only enabled in the default VLAN(s) with Trunk ports or Hybrid ports.

Note that the loopback-detection per-vlan enable command is not applicable to access ports.

Example # Enable loopback detection in all VLANs to which the Hybrid port Ethernet 1/0 belong.

<Sysname> system-view

[Sysname] loopback-detection enable

[Sysname] interface ethernet 1/0 [Sysname-Ethernet1/0] loopback-detection enable

[Sysname-Ethernet1/0] port link-type trunk

[Sysname-Ethernet1/0] loopback-detection per-vlan enable

[Sysname-Ethernet1/0] loopback-detection per-vlan enable

Page 181
Image 181
3Com MSR 50, MSR 30 manual Loopback-detection per-vlan enable, Related command display loopback-detection, 181