Configuring Serial Interfaces on the Cisco ASR 9000 Series Router
Configuration Examples for Serial Interfaces
545
Cisco ASR 9000 Aggregation Services Router Interfaces and Hardware Component Configuration Guide
OL-26061-03
RP/0/0RP0RSP0/CPU0:router(config-fr-vc)# exit
RP/0/0RP0RSP0/CPU0:router(config-subif)# exit
RP/0/0RP0RSP0/CPU0:router(config)# exit
RP/0/0RP0RSP0/CPU0:router# show interface serial 0/1/0/1
Wed Oct 8 04:13:45.046 PST DST
Serial0/1/0/1 is up, line protocol is up
Interface state transitions: 7
Hardware is Serial network interface(s)
Internet address is Unknown
MTU 4474 bytes, BW 44210 Kbit
reliability 255/255, txload 0/255, rxload 0/255
Encapsulation FRAME-RELAY, crc 16,
Scrambling is disabled, Invert data is disabled
LMI enq sent 1110, LMI stat recvd 875, LMI upd recvd 0, DTE LMI up
LMI enq recvd 0, LMI stat sent 0, LMI upd sent 0
LMI DLCI 1023 LMI type is CISCO frame relay DTE
Last clearing of "show interface" counters 02:22:09
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
853 packets input, 12153 bytes, 0 total input drops
0 drops for unrecognized upper-level protocol
Received 0 runts, 0 giants, 0 throttles, 0 parity
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
853 packets output, 11089 bytes, 0 total output drops
0 output errors, 0 underruns, 0 applique, 0 resets
0 output buffer failures, 0 output buffers swapped out
Configuring a Serial Interface with PPP Encapsulation: Example
The following example shows how to create and configure a serial interface with PPP encapsulation:
RP/0/0RP0RSP0/CPU0:router# configure
RP/0/0RP0RSP0/CPU0:router(config)# interface serial 0/3/0/0/0:0
RP/0/0RP0RSP0/CPU0:router(config-if)# ipv4 address 172.18.189.38 255.255.255.224
RP/0/0RP0RSP0/CPU0:router(config-if)# encapsulation ppp
RP/0/0RP0RSP0/CPU0:router(config-if)# no shutdown
RP/0/0RP0RSP0/CPU0:router(config-if)# ppp authentication chap MIS-access
RP/0/0RP0RSP0/CPU0:router(config-if)# end
Uncommitted changes found, commit them? [yes]: yes
The following example shows how to configure serial interface 0/3/0/0/0:0 to allow two additional retries
after an initial authentication failure (for a total of three failed authentication attempts):
RP/0/0RP0RSP0/CPU0:router# configuration
RP/0/0RP0RSP0/CPU0:router(config)# interface serial 0/3/0/0/0:0
RP/0/0RP0RSP0/CPU0:router(config-if)# encapsulation ppp
RP/0/0RP0RSP0/CPU0:router(config-if)# ppp authentication chap
RP/0/0RP0RSP0/CPU0:router(config-if)# ppp max-bad-auth 3
RP/0/0RP0RSP0/CPU0:router(config-if)# end
Uncommitted changes found, commit them? [yes]: yes
IPHC Configuration: Examples
This section provides the following examples:
• IPHC Profile Configuration: Example, page 546
• IPHC on a Serial Interface Configuration: Examples, page 546
• IPHC on Multilink Configuration: Example, page 546