beautypg.com

Clear port counter – Allied Telesis AT-DC2552XS User Manual

Page 241

background image

AT-DC2552SX Switch Command Line Interface User’s Guide

Section II: Layer 2 Switching

241

CLEAR PORT COUNTER

Syntax

clear port counter

port_ids

Parameter

port_ids

Specifies a port ID or multiple port IDs. Use a comma (,) to
separate port IDs and a hyphen (-) to indicate a range of port IDs.

Mode

User Exec mode

Description

Use this command to clear the packet counters on a port, or ports.

Confirmation Command

“SHOW PLATFORM PORT COUNTERS” on page 269

Example

This example clears the packet counters for ports 1.0.4 through 1.0.7:

awplus# clear port counter port1.0.4-port1.0.7