beautypg.com

15 interface commands, 1 interface commands, 1 get interface stats – Planet Technology IP DSLAM IDL-4801 User Manual

Page 464

background image

IDL series User Guide

464

5.15 Interface Commands

5.15.1 Interface Commands

5.15.1.1 Get interface stats

Description:

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

Command Syntax:

get interface stats [ifname ]

Parameters:

Name

Description

Ifname

Index of the interface having one to one mapping with

IfTable. Only Ethernet, EOA, Aggregator, HDLC,

PPPOE, IPOE, ABOND, ATM, ATM VC Aggregation

and ATM VC interface index are supported for reset

operation.

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

This manual is related to the following products: