Configuring Serial Interfaces on Cisco IOS XR Software
Information About Serial Interfaces
•
•
Use the question mark (?) online help function following the serial keyword to view a list of all valid interface choices.
Cisco IOS XR PPP Encapsulation
PPPis a standard protocol used to send data over synchronous serial links. PPP also provides a link control protocol (LCP) for negotiating properties of the link. LCP uses echo requests and responses to monitor the continuing availability of the link.
PPPprovides Network Control Protocols (NCPs) for negotiating properties of data protocols that will run on the link:
•IP Control Protocol (IPCP) to negotiate IP properties
•Multiprotocol Label Switching control processor (MPLSCP) to negotiate MPLS properties
•Cisco Discovery Protocol control processor (CDPCP) to negotiate CDP properties
•IPv6CP to negotiate IP Version 6 (IPv6) properties
•Open Systems Interconnection control processor (OSICP) to negotiate OSI properties
Note The default encapsulation type for the serial line card configurations is Cisco HDLC. To change the encapsulation type to be PPP, you must use the encapsulation ppp command in interface configuration mode for the serial interface.
Cisco IOS XR HDLC Encapsulation
Cisco
Keepalive Timer
The HDLC usage of the keepalive timer also applies to PPP encapsulation to control how often ECHOREQ (echo request) packets are sent out.
Use the keepalive command in interface configuration mode to set how frequently LCP should send out ECHOREQ packets to its peer. To restore the system to the default keepalive interval of 10 seconds, use the keepalive command with no argument. To disable keepalives, use the no keepalive or keepalive disable command. For both PPP and Cisco HDLC, a keepalive of 0 disables keepalives and is reported in the show
When LCP is running on the peer and receives an ECHOREQ packet, it should respond with an echo reply (ECHOREP) packet, regardless of whether keepalives are enabled on the peer.
Cisco IOS XR Interface and Hardware Component Configuration Guide