2 loopback-detection specified-vlan, 3 loopback-detection interval-time, Loopback – PLANET WGSW-50040 User Manual

Page 107: Detection specified, Vlan, Detection interval, Time

Advertising
background image

4.2 loopback-detection specified-vlan

Command:

loopback-detection specified-vlan <vlan-list>

no loopback-detection specified-vlan [<vlan-list>]

Function:

Enable the function of loopback detection on the port and specify the VLAN to be checked; the no

operation of this command will disable the function of detecting loopbacks through this port or the

specified VLAN.

Parameters:

<vlan-list> the list of VLANs allowed passing through the port. Given the situation of a trunk port,

the specified VLANs can be checked. So this command is used to set the vlan list to be checked.

Default:

Disable the function of detecting the loopbacks through the port.

Command Mode:

Port Mode.

Usage Guide:

If a port can be a TRUNK port of multiple Vlans, the detection of loopbacks can be implemented on

the basis of port+Vlan, which means the objects of the detection can be the specified Vlans on a

port. If the port is an ACCESS port, only one Vlan on the port is allowed to be checked despite the

fact that multiple Vlans can be configured. This function is not supported under Port-channel.

Example:

Enable the function of loopback detection under port 1/2 mode.

Switch(config)#interface ethernet 1/2

Switch(Config-If-Ethernet1/2)#switchport mode trunk

Switch(Config-If-Ethernet1/2)#switchport trunk allowed vlan all

Switch(Config-If-Ethernet1/2)#loopback-detection specified-vlan 1;3;5-20

Switch(Config-If-Ethernet1/2)#no loopback-detection specified-vlan 1;3;5-20

4.3 loopback-detection interval-time

Command:

oopback-detection interval-time <loopback> <no-loopback>

no loopback-detection interval-time

Function:

Set the loopback detection interval. The no operate closes the loopback detection interval function.

Advertising