Configuring Serial Interfaces on Cisco IOS XR Software
How to Configure Serial Interfaces
HC-122
Cisco IOS XR Interface and Hardware Component Configuration Guide
13. end
or
commit
14. show interfaces serial instance
DETAILED STEPS
Command or Action Purpose
Step 1
configure
Example:
RP/0/0/CPU0:router# configure
Enters global configuration mode.
Step 2
interface serial instance
Example:
RP/0/0/CPU0:router(config)# interface serial
0/1/0/0/10:15
Specifies the serial interface name and enters interface
configuration mode. Naming notation for T3/E3 interfaces
is rack/slot/module/port and for T1/E1/DS0 interfaces is
rack/slot/module/port/t1-num:channel-group-number.
Step 3
ipv4 address ip-address
Example:
RP/0/0/CPU0:router(config-if)# ipv4 address
10.1.2.1 255.255.255.224
Assigns an IP address and subnet mask to the interface.
Step 4
encapsulation [hdlc | ppp]
Example:
RP/0/0/CPU0:router(config-if)# encapsulation
hdlc
(Optional) Configures the interface encapsulation
parameters and details such as HDLC or PPP.
Note The default encapsulation is hdlc.
Step 5
keepalive {seconds | disable}
Example:
RP/0/R0/CPU0:router(config-if)# keepalive 10
(Optional) Configures the HDLC keepalive value.
Note The default value for the keepalive timer is 10
seconds.
Step 6
serial
Example:
RP/0/0/CPU0:router(config-if)# serial
RP/0/0/CPU0:ios(config-if-serial)#
(Optional) Enters serial submode to configure the serial
parameters.
Step 7
crc length
Example:
RP/0/0/CPU0:ios(config-if-serial)# crc 32
(Optional) Specifies the length of the cyclic redundancy
check (CRC) on the interface.
Note The default is CRC length is 16.
Step 8
invert
Example:
RP/0/0/CPU0:ios(config-if-serial)# inverts
(Optional) Inverts the data stream.