
show interface statistics
Displays interface statistics over a specified period of time.
Syntax: show interface {pos bay/slot/port | composite-link name} statistics {average | delta} sampleperiod
bay/slot/port
Identifies a specific interface on the Avici router. Valid values are as follows:
bay: Numeric identifier for this bay. Valid values are 1 and 2.
slot: Slot number where the module is installed in the Avici router. Valid values are integers between 1 and 40.port:
name
The name of the composite-link
sampleperiod
The length of the statistical sample in seconds. Range: 0 to 300 seconds. Default: none.
Description: Use the show interface statistics command to display interface statistics taken over a specified period of time in seconds. The interface counters are collected at 5 second intervals in real time. The collection of statistics spans a time period of up to the last 5 minutes of traffic history. The show interface statistics command applies the specified statistic over the requested period of time and returns the result immediately.
This command will not return any data if the specified samplePeriod has not been collected, i.e., shortly after reboot. An error messages of the form: "showSonetStatistics(): Error, can't get interface data for pos x/y/z" will be reported. The user may then re-issue the command after sufficient time has elapsed for the interface to have a complete set of data. This is done to prevent misleading output data. The data collection process starts approximately 30 seconds after the module is up.
Use the show interface composite-link name syntax to display statistics for the specified composite link.
Use the show interface pos bay/slot/port syntax to display statistics for the specified pos interface.
Use the delta keyword to display the change in value for each statistic during the specified sample period.
Use the average keyword to display the average change in statistic value per second over the sample period. This is calculated by dividing the delay by the sample period. For example, if the sample period is 15 seconds and the delta during the sample period is 1500, the average value is 1500/15=100.
Factory Default: None.
Command Mode: Executive and privileged.
Example 1: In the following example, the show interface pos statistic displays delta input and output statistics for the pos 1/1/1 interface:
router#show interface 1/1/1 statistic delta 30
Statistics for pos 1/1/1: Delta over 30 seconds
Input:
Octets 50 bytes
UnicastPkts 0 packets
MulticastPkts 0 packets
BroadcastPkts 0 packets
Discards 0
Errors 0
Output:
Octets 0 bytes
UnicastPkts 0 packets
MulticastPkts 0 packets
BroadcastPkts 0 packets
Discards 0
Errors 0
Example 2: In the following example, the show interface statistic displays delta input and output statistics for the composite-link interface named rbw:
router#show interface composite-link rbw statistic delta 30
Statistics for composite-link rbw: Delta over 30 seconds
Input:
Octets 1200 bytes
UnicastPkts 0 packets
MulticastPkts 0 packets
BroadcastPkts 0 packets
Discards 0
Errors 0
Output:
Octets 0 bytes
UnicastPkts 0 packets
MulticastPkts 0 packets
BroadcastPkts 0 packets
Discards 0
Errors 0
The following table describes the fields in the display
Related Commands: show interface composite-link
show interface ethernet
show interface gbe
show interface loopback
show interface pos
Copyright © 2005
Avici Systems Inc.
Avici® and TSR®
is a registered trademark of Avici Systems Inc.
IPriori, Composite Links, SSR, QSR, and NSR® are
trademarks of Avici Systems Inc.
Source
File Name: Interface_Cmd.fm
HTML File Name: Interface_Cmd41.html
Last Updated: 02/25/05 at 14:28:34