show interface pos
Displays information about POS interfaces.
Syntax: show interface [access-list] pos bay/slot/port [extension-counters | inflow-counters | packet-qos-counters]
show interface pos bay/slot/port statistics {average | delta} sampleperiod
access-list
|
Displays statistics for the specified access list and interface.
|
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:
- 4xOC-12c, 4xOC-3c, and 4xOC-48c modules have 4 ports. Valid values are 1 - 4.
- 2xOC-48c module has 2 ports. Valid values are 1 and 2.
- 1xOC-48c, 1xOC-48c-mux, and 1xOC-192c modules have one port.
|
extension-counters
|
Displays the extension counters for a specific POS interface.
|
inflow counters
|
Displays the inflow counters for a specific POS interface.
|
packet-qos-counters
|
Displays the packet QoS counters for a specific POS interface.
|
sampleperiod
|
The length of the statistical sample in seconds. Range: 5 to 300 seconds. Default: none.
|
Description: Use the show interface pos command with no arguments to display information about all the POS interfaces.
Use the show interface access-list pos bay/slot/port command to display statistics for the specified access list and POS interface.
Use the show interface pos bay/slot/port command to display information about a specific POS interface.
Use the show interface pos extension-counters command with no arguments to display the extension counters for all POS interfaces.
Use the show interface pos extension-counters bay/slot/port command to display the extension counters for the specified POS interface.
Use the show interface pos inflow-counters command with no arguments to display the inflow counters for all POS interfaces.
Use the show interface pos inflow-counters bay/slot/port command to display the inflow counters for the specified POS interface.
Use the show interface pos packet-qos-counters command with no arguments to display the packet QoS counters for all POS interfaces.
Use the show interface pos packet-qos-counters bay/slot/port command to display the packet QoS counters for the specified POS interface.
Use the show interface pos identifier statistic syntax to display statistics for the specified pos interface. This command displays 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 pos statistics command applies the specified statistic over the requested period of time and returns the result immediately.
The show interface pos statistics command uses two sample types: delta and average.
Use the delta sample type 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.
When a remote device, connected to the Avici router via a pos interface is looped back to the Avici router, the show interface pos command indicates Remote Peer is potentially in Line Loopback.
The show interface pos statistics command will not return any data if the specified sample period 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.
Factory Default: None.
Command Mode: Executive and privileged.
Example 1: In the following example, show interface pos bay/slot/port command displays information about the specified POS interface:
router#show interface pos 1/1/1
POS 1/1/1 interface status is up, line protocol is down
Internet address is 17.1.1.2/24
MTU 4470 bytes
Payload BW: 601.344 Mbit/Sec, Total BW: 622.080 Mbit/Sec
Encapsulation PPP, CRC-32
Loopback: None, Keepalive: Enabled, Scramble: Enabled
LCP: Req Sent, IPCP: Closed, OSICP: Closed, MPLSCP: Closed
Received:
16483661 bytes
123981 directed packets, 0 broadcast packets
58825 discards, 58825 errors, 0 unknown protocols
Transmitted:
2645980 bytes
123521 directed packets, 0 broadcast packets
0 discards, 0 errors
Max link bandwidth: 601.344m
Max reservable bandwidth: 601.344m
Priority Reserved BW Available BW Total BW
0 601.344m 0.000m 0.000m
1 0.000m 0.000m 0.000m
2 0.000m 0.000m 0.000m
3 0.000m 0.000m 0.000m
4 0.000m 0.000m 0.000m
5 0.000m 0.000m 0.000m
6 0.000m 0.000m 0.000m
7 0.000m 0.000m 0.000m
Traffic Engineering metric: 1
Using factory default reflood timers
Reflood timers : linear
100% 5000ms 90% 7500ms 0% 10000ms jitter 20.0%
Medium Type SONET, Line Coding: NRZ, Line Type: ShortSingleMode
Sonet Loopback: None, Sonet Clock Source: Internal
PPP: SNMP Trap link-status: enabled
Sonet/Path: SNMP Trap sonet link-status: enabled
Remote Peer is potentially in Line Loopback
Tx J0 Section Trace: "1"
Rx J0 Section Trace: "1"
Tx Path Trace: "tetest12/POS 1/1/1/12/17.1.1.2"
Rx Path Trace: "tetest12/POS 1/1/1/12/17.1.1.2"
router#
|
The following table describes the fields in the display:
Table 4-11. Fields Displayed by show interface pos
| Field
|
Description
|
Internet address is
|
IP address and netmask of the interface.
|
MTU bytes
|
The maximum transfer unit (MTU) size for this interface.
|
Payload BW
|
Available bandwidth of this interface. Available bandwidth is the total bandwidth of the link minus SONET overhead information. Valid values are:
For OC-3c links: 150 Mb/sec
For OC-12c links: 601.34 Mb/sec
For OC-48c links: 2405.38 Mb/sec
For OC-192 links: 9621.5 Mb/sec
|
Total BW
|
Total bandwidth of the link. Valid values are:
For OC-3c links: 155.52 Mb/sec
For OC-12c links: 622.08 Mb/sec
For OC-48c links: 2488.32 Mb/sec
For OC-192 links: 9953.28 Mb/sec
|
Encapsulation
|
The protocol enabled on this interface.
|
CRC
|
The setting for the frame check sequence (CRC). Valid values are 16 and 32.
|
Loopback:
|
Indicates if a loopback interface has been defined (using the pos loopback command) for this interface.
|
Keepalive
|
Indicates if the keepalive interval is enabled/disabled.
|
Scramble
|
Indicates if scrambling is enabled/disabled.
|
LCP
|
Indicates the current state of the LCP. Valid values are:
Opened: the LCP is operationally up.
Closed: the LCP is attempting to come up, but is operationally down.
|
IPCP
|
Indicates the current state of the IPCP. Valid values are:
Opened: the IPCP is operationally up.
Closed: the IPCP is attempting to come up, but is operationally down.
|
OSICP
|
Indicates the current state of the OSICP. Valid values are:
Opened: the OSICP is operationally up.
Closed: the OSICP is attempting to come up, but is operationally down.
|
MPLSCP
|
Indicates the current state of the MPLSCP. Valid values are:
Opened: the MPLSCP is operationally up.
Closed: the MPLSCP is attempting to come up, but is operationally down.
|
Received:
|
|
|
The total number of packets received over this interface.
|
|
|
The number of unicast packets received on this interface.
|
|
|
The number of multicast packets received on this interface.
|
|
|
The number of broadcast packets received on this interface.
|
|
|
The number of received packets purposely dropped during reception on this interface.
|
|
|
The number of errored packets received on this interface.
|
|
|
The number of packets received with an unknown protocol.
|
Transmitted:
|
|
|
The total number of bytes sent over member links of this interface.
|
|
|
The number of unicast packets sent on this interface.
|
|
|
The number of multicast packets sent on this interface.
|
|
|
The number of broadcast packets sent on this interface.
|
|
|
The number of packets purposely dropped during transmission on this interface.
|
|
|
The number of packets sent in error on this interface.
|
Medium Type
|
Indicates the framing type currently in use for this interface. Valid values are SDH and SONET.
|
Max link bandwidth
|
Specifies the Maximum link bandwidth for this link.
|
Max reservable bandwidth
|
Specifies the Maximum reservable bandwidth for this link.
|
Priority
|
Specifies the Reserved bandwidth, Available bandwidth, and Total bandwidth for each of seven priority levels.
|
Line Coding:
|
Always NRZ (non-return to zero).
|
Traffic Engineering metric
|
Specifies the te metric value.
|
Reflood timers
|
Indicates if default reflood timers are being used along with timer type and configuration values.
|
Line Type:
|
There are two line types: - multimode fiber which allows light to take many paths as it travels through the fiber. Multimode fiber is used for short runs linking LAN nodes and servers. - single mode fiber which is so small that light has only one path through the fiber. Single mode fiber is used for high speed and long distance applications.
|
Sonet Loopback
|
Indicates if a loopback interface has been defined for this interface.
|
Multimode fiber
|
Fiber which allows light to take many paths as it travels through the fiber. Multimode fiber is used for short runs linking LAN nodes and servers.
|
Single mode fiber
|
Fiber which is so small that light has only one path through the fiber. Single mode fiber is used for high speed and long distance applications.
|
Sonet Clock Source;
|
Indicates the source of the clock for this interface.
|
Remote Peer in loopback
|
Displays that a remote peer is potentially in loopback if the remote has been configured for loopback.
|
Tx JO Section Trace
|
Section trace byte transmitted from this interface.
|
Rx JO Section Trace
|
Section trace byte received on this interface.
|
Tx Path Trace:
|
Text of any transmitted path trace (submitted using the sonet path trace command).
|
Rx Path Trace
|
Text of any received path trace.
|
Example 2: In the following example, the show interface pos extension-counters bay/slot/port command displays the extension counters for the specified POS interface:
router#show int pos 1/1/1 extension-counters
Bad Control Field: 0
CRC Error: 0
Bad IPv4 Header Checksum: 0
Maximum Packet Length Exceeded: 0
IPv4 Packets Truncated: 0
IPv6 Packets Truncated: 0
IPv4 Packet Header Length Error: 0
IP Version Error: 0
Me FIFO Packets Discarded: 0
Runt Packet: 0
Page Allocation Error: 0
Packet Descriptors Discarded: 0
Non-IP Packets(PPP/ISIS): 1381
IPv4 Packets: 200
IPv6 Packets: 0
Allocated Packet Descriptors Discarded: 0
IPv6 Packets Too Short: 0
IPv4 Packets Too Short: 0
Page Reply Parity Errors: 0
Octets Received: 288651
Transmit Packet Descriptors Received: 10007
Pings Received: 200
Autotunnelled Packets Received: 0
Octets Transmitted: 454592
Packets Transmitted: 10005
Packet Underflow: 0
Packets Discarded: 2
|
The following table describes the fields in the display:
Table 4-12. Fields Displayed by show interface pos extension-counters
| Field
|
Description
|
Bad Control Field
|
The number of packets received on this link with an unrecognized Control Field.
|
CRC Error
|
The number of packets received on this link with a bad CRC.
|
Bad IPv4 Header Checksum
|
Total number of IP Version 4 packets received by this sub-layer with bad IP header checksum. The counter is only incremented if there are no framing errors.
|
Maximum Packet Length Exceeded
|
The total number of frames received that exceed the Maximum Frame Size set for this interface.
|
IPv4 Packets Truncated
|
Total number of Truncated IP Version 4 packets received by this sub-layer. This counter is only incremented if there are no framing errors.
|
IPv6 Packets Truncated
|
Total number of Truncated IP Version 6 packets received by this sub-layer. This counter is only incremented if there are no framing errors.
|
IPv4 Packet Header Length Error
|
Total number of IP Version 4 packets received which had bad header lengths. This counter is only incremented if there are no framing errors.
|
IP Version Error
|
Total number of packets received with unrecognized version in the IP Version field. This counter is only incremented if there are no framing errors.
|
Me FIFO Packets Discarded
|
Number of packets discarded by the Main FIFO. Packets are discarded when the Main FIFO is full and the line_ts_full or rx_pdf_nearfull signal is asserted.
|
Runt Packet
|
Total number of frames received at this sub-layer which were smaller than the minimum frame size. Runt packets are silently discarded.
|
Page Allocation Error
|
Number of times reply to an Allocate or Allocate Link Last or a Last Page command returned page zero.
|
Packet Descriptors Discarded
|
Total number of packets which were discarded by this sub-layer due to an error.
|
Non-IP Packets(PPP/ISIS)
|
Total number of packets delivered by this sub-layer to a Non IP higher sub-layer.
|
IPv4 Packets
|
Total number of packets delivered by this sub-layer to IP Version 4 sub-layer.
|
IPv6 Packets
|
Total number of packets delivered by this sub-layer to IP Version 6 sub-layer.
|
Allocated Packet Descriptors Discarded
|
Total number of times the Input Framer had to discard a Receive Packet Descriptor because it got a page-0 reply from packet memory.
|
IPv6 Packets Too Short
|
Total number of IP Version 6 packets received by this sub-layer that were shorter than the minimum IP Version 6 packet length.
|
IPv4 Packets Too Short
|
Total number of IP Version 4 packets received by this sub-layer that were shorter than the minimum IP Version 4 packet length.
|
Page Reply Parity Errors
|
Number of parity errors detected in page reply phase.
|
Octets Received
|
Total number of octets received for this interface.
|
Transmit Packet Descriptors Received
|
Total number of packet descriptors received for transmission over this interface.
|
Pings Received
|
The total number of ICMP Echo Responses that higher-level protocols requested be transmitted by this sub-layer.
|
Octets Transmitted
|
Total number of octets output over this interface.
|
Packets Transmitted
|
The total number of packets that higher-level protocols requested be transmitted by this sublayer. This count includes all packet types that is unicast, multicast, and link layer control packets.
|
Packet Underflow
|
Internal Counter. Total number of packets which experienced an underflow due to internal packet memory.
|
Packets Discarded
|
The number of outbound packets which were chosen to be discarded even though there were no errors encountered. A possible reason for discard is to free up buffer space.
|
Example 3: In the following example, the show interface pos inflow-counters bay/slot/port displays the inflow counters for the specified POS interface:
router#show interface pos 1/1/1 inflow-counters
In Mir: 0
Out Mir: 0
TTL: 0
Unicast Fwd: 0
Multicast Fwd: 0
Echo: 0
Bad IP Header: 0
Inv Src IP: 0
Unreachable: 0
Options Not For Me: 0
For Me: 0
QoS Octets Octets DE UCast UCast DE MCast MCast DE
---------------------------------------------------------------------------
QoSB0 | 15954 0 1381 0 0 0
QoSB1 | 0 0 0 0 0 0
QoSB2 | 0 0 0 0 0 0
QoSB3 | 0 0 0 0 0 0
QoSB4 | 0 0 0 0 0 0
QoSB5 | 0 0 0 0 0 0
QoSB6 | 0 0 0 0 0 0
QoSB7 | 0 0 0 0 0 0
|
The following table describes the fields in the display:
Table 4-13. Fields Displayed by show interface pos inflow-counters
| Field
|
Description
|
In Mir
|
Number of inbound mirror packets generated for this interface and protocol.
|
Out Mir
|
Number of outbound mirror packets generated for this interface and protocol.
|
TTL
|
Number of expired Time to live (TTL) packets.
|
Unicast Fwd
|
Number of unicast packets forwarded for this interface and protocol.
|
Multicast Fwd
|
Number of multicast packets forwarded for this interface and protocol.
|
Echo
|
Number of ICMP Echo Reply packets forwarded for this interface and protocol.
|
Bad IP Header
|
Number of packets received with a bad IP header for this interface and protocol. IPv4 and IPv6 only.
|
Inv Src IP
|
Number of packets received with an invalid IP source address for this interface and protocol. IPv4 and IPv6 only.
|
Unreachable
|
Number of packets for which there was no route to the destination address for this logical interface and protocol.
|
Options Not For Me
|
Number of packets received with header options that were not for-me packets.
|
For Me
|
Number of packets received with header options that were for-me packets.
|
Example 4: In the following example, the show interface pos packet-qos-counters bay/slot/port command displays the packet QoS counters for the specified SONET/SDH interface:
router#show interface pos 1/1/1 packet-qos-counters
IPV4 Out Octets: 261600
IPV4 Out Unicast Pkts: 0
IPV4 Out Multicast Pkts: 0
IPV4 Out ICMP Echo Reps: 200
At Out Unicast Pkts: 0
At Out Multicast Pkts: 0
Raw Out Unicast Pkts: 153490
Raw Out Multicast Ptks: 9863
Raw Out Octets: 0
Red Queue Discarded: 0
Red Queue Discarded De: 0
Flow Queue Tail Drops: 0
Flow Queue Tail Drops De: 0
WFQ Tail Drops: 0
WFQ Tail Drops De: 0
|
The following table describes the fields in the display:
Table 4-14. Fields Displayed by show interface pos packet-qos-counters
| Field
|
Description
|
IPv4 Out Octets
|
Total number of bytes sent to the output framer.
|
IPv4 Out Unicast Pkts
|
Total number of non-tunneled unicast, non-ICMP packets.
|
IPv4 Out Multicast Pkts
|
Total number of non-tunneled multicast packets.
|
IPv4 Out ICMP Echo Reps
|
Total number of non-tunneled ICMP Echo Replies.
|
At Out Unicast Pkts
|
Total number of auto-tunneled unicast packets.
|
At Out Multicast Pkts
|
Total number of auto-tunneled multicast packets.
|
Raw Out Unicast Pkts
|
Total number of raw unicast packets sent per queue.
|
Raw Out Multicast Pkts
|
Total number of raw multicast packets sent per queue.
|
Raw Out Octet
|
Total number of raw bytes sent per queue.
|
Red Queue Discarded
|
Total number of Random Early Discard (RED) from queue.
|
Red Queue Discarded DE
|
Total number of packets discarded by the RED function that had the DE (discard eligible) bit set.
|
Flow Queue Tail Drops
|
Total number of tail drop discards from queue. Tail drops indicate uncontrolled discards.
|
Flow Queue Tail Drops DE
|
Total number of packets discarded by the Flow Queue Tail Drop that had the DE (discard eligible) bit set.
|
WFQ Tail Drops
|
Total number of Weighted Fair Queue (WFQ) tail drop discards.
|
WFQ Tail Drops DE
|
Total number of packets discarded by WFQ tail drop that had the DE (discard eligible) bit set.
|
Example 5: In the following example, the show interface pos statistics displays delta input and output statistics for the pos 1/1/1 interface:
router#show interface pos 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
|
The following table describes the fields in the display
Table 4-15. Fields Displayed by show interface pos statistics
| Field
|
Description
|
Input
|
Octets
|
The number of octets received on this interface over the specified sample period.
|
UnicastPkts
|
The number of unicast packets received on this interface over the specified sample period.
|
MulticastPkts
|
The number of multicast packets received on this interface over the specified sample period.
|
BroadcastPkts
|
The number of broadcast packets received on this interface over the specified sample period.
|
Discards
|
The number of discarded packets received on this interface over the specified sample period.
|
Errors
|
The number of errors received on this interface over the specified sample period.
|
Output
|
Octets
|
The number of octets sent by this interface over the specified sample period.
|
UnicastPkts
|
The number of unicast packets sent by this interface over the specified sample period.
|
MulticastPkts
|
The number of multicast packets sent by this interface over the specified sample period.
|
BroadcastPkts
|
The number of broadcast packets sent by this interface over the specified sample period.
|
Discards
|
The number of discarded packets received on this interface over the specified sample period.
|
Errors
|
The number of errors received on this interface over the specified sample period.
|
.
Related Commands: interface
show interface ethernet
show interface loopback