1 debug loopback-detection, 2 loopback-detection control, Debug loopback – PLANET XGS3-24042 User Manual

Page 144: Detection, Loopback, Detection control

Advertising
background image

XGS3 Command Guide

6-144

Chapter 6 Commands for Port Loopback

Detection Function

6.1 debug loopback-detection

Command:

debug loopback-detection

Function:

After enabling the loopback detection debug on a port, BEBUG information will be generated when sending,

receiving messages and changing states.

Default:

Disabled by default.

Command Mode:

Admin Mode.

Usage Guide:

Display the message sending, receiving and state changes with this command.

Example:

Switch#debug loopback-detection

%Jan 01 03:29:18 2006 Send loopback detection probe packet:dev Ethernet1/0/10, vlan id 1

%Jan 01 03:29:18 2006 Send loopback detection probe packet:dev Ethernet 1/0/10, vlan id 2

6.2 loopback-detection control

Command:

loopback-detection control {shutdown |block| learning}

no loopback-detection control

Function:

Enable the function of loopback detection control on a port, the no operation of this command will disable the

function.

Parameters:

shutdown set the control method as shutdown, which means to close down the port if a port loopback is found.

block set the control method as block, which means to block a port by allowing bpdu and loopback detection

messages only if a port loopback is found.

learning disable the control method of learning MAC addresses on the port, not forwarding traffic and delete the

Advertising
This manual is related to the following products: