430
8.15 Interface Commands
8.15.1 Interface Commands
8.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 <interface-name>]
Parameters:
Name Description
Ifname <interface-
name>
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
In Mcast Pkts : 428 Out Mcast Pkts : 0
In Bcast Pkts : 1456 Out Bcast Pkts : 0
LinkUpDnTrapEnable : Enable Promiscous Mode :
True
Connector Present : True CounterDiscontTime : 0
HC In Octets : 0x000060c18
HC OutOctets : 0x0000293e1
Output Fields
Field Description
Interface
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.
Comments to this Manuals