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, 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. For details, see show Commands in JUNOSe System Basics Configuration Guide, Chapter 2, Command-Line Interface.
baseline hdlc interface
- Use to set a statistics baseline for Cisco HDLC interfaces. The router 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/1There is no no version. show hdlc interface
- Use to display statistics for the specified HDLC interfaces.
- You can specify the following keywords:
- statisticsDisplays interface statistics
- deltaSpecifies that baselined statistics are to be shown
- statusDisplays the operational status of all configured interfaces
- closedDisplays interfaces with administrative status Closed
- configDisplays configuration information
- downDisplays interfaces with operational status Down
- lower-layer-downDisplays interfaces with operational status LowerLayerDown
- not-presentDisplays interfaces with operational status NotPresent
- openDisplays interfaces with administrative status Open
- upDisplays interfaces with operational status Up
- fullDisplays configuration information, status, and statistics
- filterSpecifies a CLI output filter
- UpTraffic can flow on the interface
- DownTraffic cannot flow because of a problem in the interface at the current protocol layer
- LowerLayerDownTraffic cannot flow because of a problem in an interface at a lower protocol layer
- NotPresentTraffic cannot flow because hardware is unavailable
- Interface maximum-transmission-unitConfigured MTU size
- Interface keepalive timeConfigured keepalive interval value
- Interface loop detectionStatus of loopback detection: enabled, disabled
- Interface statistics:
- packets inNumber of inbound packets received on the interface
- packets outNumber of outbound packets transmitted on the interface
- octets inNumber of inbound octets received on the interface
- octets outNumber of outbound octets transmitted on the interface
- errors inNumber of inbound errors received on the interface
- errors outNumber of outbound errors transmitted on the interface
- discards inNumber of inbound packets discarded on the interface
- discards outNumber of outbound packets discarded on the interface
host1#show hdlc interface serial 5/1:5/1Cisco-HDLC interface serial 5/1:5/1 is LowerLayerDownExample 2 host1#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