beautypg.com

Clear port counter, Debug loopprot, Clear port counter debug loopprot – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual

Page 369

background image

Switching Commands

Software Reference for x310 Series Switches

C613-50046-01 REV A

AlliedWare Plus

TM

Operating System - Version 5.4.4C

15.7

clear port counter

Use this command to clear the packet counters of the port.

Syntax

clear port counter [<port>]

Mode

Privileged Exec

Example

To clear the packet counter for port1.0.1, use the command:

Related Commands

show platform port

debug loopprot

This command enables Loop Protection debugging.

The no variant of this command disables Loop Protection debugging.

Syntax

debug loopprot {info|msg|pkt|state|nsm|all}

no debug loopprot {info|msg|pkt|state|nsm|all}

Mode

Privileged Exec and Global Configuration

Example

To enable debug for all state transitions, use the command:

Related Commands

show debugging loopprot
undebug loopprot

Parameter

Description

The port number or range

awplus#

clear port counter port1.0.1

Parameter

Description

info

General Loop Protection information.

msg

Received and transmitted Loop Detection Frames (LDFs).

pkt

Echo raw ASCII display of received and transmitted LDF packets to
the console.

state

Loop Protection states transitions.

nsm

Network Service Module information.

all

All debugging information.

awplus#

debug loopprot state