Monitoring Cisco HDLC
You can monitor Cisco HDLC interfaces using the show hdlc interface command.
You can set a statistics baseline for Cisco HDLC interfaces, subinterfaces, and/or circuits using the baseline hdlc interface serial command.
You can use the filtering feature of the show command to include or exclude lines of output based on a text string you specify. See show Commands in ERX System Basics Configuration Guide, Chapter 2, Command Line Interface, for details.
baseline hdlc interface
- Sets a statistics baseline for Cisco HDLC interfaces. The system implements the baseline by reading and storing the statistics at the time the baseline is set and then subtracting this baseline whenever baseline-relative statistics are retrieved.
- Example
host1#baseline hdlc interface serial 2/0:1/1show hdlc interface
- statistics - displays interface statistics
- delta - specifies that baselined statistics are to be shown
- status - displays the operational status of all configured interfaces
- closed - displays interfaces with administrative status Closed
- config - displays configuration information
- down - displays interfaces with operational status Down
- lower-layer-down - displays interfaces with operational status LowerLayerDown
- not-present - displays interfaces with operational status NotPresent
- open - displays interfaces with administrative status Open
- up - displays interfaces with operational status Up
- full - displays configuration information, status, and statistics
- filter - specifies a CLI output filter
- Up - traffic can flow on the interface
- Down - traffic cannot flow because of a problem in the interface at the current protocol layer
- LowerLayerDown - traffic cannot flow because of a problem in an interface at a lower protocol layer
- NotPresent - traffic cannot flow because hardware is unavailable
- Interface maximum-transmission-unit - configured MTU size
- Interface keepalive time - configured keepalive interval value
- Interface loop detection - status of loopback detection: enabled, disabled
- Interface statistics
- packets in - number of inbound packets received on the interface
- packets out - number of outbound packets transmitted on the interface
- octets in - number of inbound octets received on the interface
- octets out - number of outbound octets transmitted on the interface
- errors in - number of inbound errors received on the interface
- errors out - number of outbound errors transmitted on the interface
- discards in - number of inbound packets discarded on the interface
- discards out - number of outbound packets discarded on the interface
host1#show hdlc interface serial 5/1:5/1Cisco-HDLC interface serial 5/1:5/1 is LowerLayerDownhost1#show hdlc interface fullCisco-HDLC interface serial 4/0:2 is UpInterface administrative status is openInterface maximum-transmission-unit is 1596Interface keepalive time is 10 secondsInterface loop detection is disabledInterface statistics in outpackets 0 0octets 242 242errors 0 0discards 0 0Cisco-HDLC interface serial 5/0:1/1 is NotPresent2 Cisco-HDLC interfaces found