5.15 Interface Commands

5.15.1Interface Commands

5.15.1.1Get interface stats

Description:

Use this command to view statistics for one interface or all the interfaces.

Command Syntax:

get interface stats [ifname <interface-name>]

Parameters:

 

Name

 

Description

 

 

 

 

 

 

 

Index of the interface having one to one mapping with

 

 

 

IfTable. Only Ethernet, EOA, Aggregator, HDLC,

 

 

 

PPPOE, IPOE, ABOND, ATM, ATM VC Aggregation

 

Ifname

 

and ATM VC interface index are supported for reset

 

 

operation.

 

<interface-name>

 

 

 

Type : Optional

 

 

 

 

 

 

Valid values: aal5-*, eth-0, eth-1,atm-*, eoa-*, dsl-*,

 

 

 

dslf-*, dsli-*, aggr-*, ehdlc-*, pppoe-*, pppr-*, vdsl-*,

 

 

 

ipoe-*, abond-* , vcaggr-*

 

 

 

 

Example:

$ get interface stats ifname eth-0

Output:

Verbose Mode On

Entry Created

 

 

Interface

: eth-0

Description

: eth-0

 

 

Type

: ETHERNET

Mtu

: 1500

 

 

Bandwidth

: 100000000

Phy Adddr

:

 

 

00:BB:CC:DD:EE:F1

 

 

 

 

Last Change(sec)

: 219

Unknown Prot Pkts : 0

 

 

Admin Status

: Up

Operational Status : Up

 

 

In Octets

: 396312

Out Octets

: 168929

 

 

In Discards

: 0

Out Discards

: 0

 

 

In Errors

: 0

Out Errors

: 0

 

 

In Ucast Pkts

: 2291

Out Ucast Pkts

: 2518

 

 

 

 

 

 

 

464

 

 

 

IDL series User Guide