Cisco Systems XR 12000 SIP-401, XR 12000 SIP-501 manual Command or Action Purpose, HC-122

Page 8

Configuring Serial Interfaces on Cisco IOS XR Software

How to Configure Serial Interfaces

13.end or commit

14.show interfaces serial instance

DETAILED STEPS

 

Command or Action

Purpose

Step 1

 

 

 

configure

 

Enters global configuration mode.

 

Example:

 

 

 

 

RP/0/0/CPU0:router# configure

 

 

Step 2

 

 

interface serial instance

Specifies the serial interface name and enters interface

 

 

 

configuration mode. Naming notation for T3/E3 interfaces

 

Example:

 

is rack/slot/module/port and for T1/E1/DS0 interfaces is

 

 

rack/slot/module/port/t1-num:channel-group-number.

 

RP/0/0/CPU0:router(config)# interface serial

 

 

 

 

0/1/0/0/10:15

 

 

Step 3

 

 

ipv4 address ip-address

Assigns an IP address and subnet mask to the interface.

 

Example:

 

 

 

 

RP/0/0/CPU0:router(config-if)# ipv4 address

 

 

 

10.1.2.1

255.255.255.224

 

 

Step 4

 

 

encapsulation [hdlc ppp]

(Optional) Configures the interface encapsulation

 

 

 

parameters and details such as HDLC or PPP.

 

Example:

 

Note

The default encapsulation is hdlc.

 

RP/0/0/CPU0:router(config-if)# encapsulation

 

 

 

hdlc

 

 

 

Step 5

 

 

keepalive {seconds disable}

(Optional) Configures the HDLC keepalive value.

 

 

 

Note

The default value for the keepalive timer is 10

 

Example:

 

 

seconds.

 

RP/0/R0/CPU0:router(config-if)# keepalive 10

 

 

Step 6

 

 

 

serial

 

(Optional) Enters serial submode to configure the serial

 

 

 

parameters.

 

Example:

 

 

 

 

RP/0/0/CPU0:router(config-if)# serial

 

 

 

RP/0/0/CPU0:ios(config-if-serial)#

 

 

Step 7

 

 

crc length

(Optional) Specifies the length of the cyclic redundancy

 

 

 

check (CRC) on the interface.

 

Example:

 

Note

The default is CRC length is 16.

 

RP/0/0/CPU0:ios(config-if-serial)# crc 32

 

 

Step 8

 

 

 

invert

 

(Optional) Inverts the data stream.

 

Example:

 

 

 

 

RP/0/0/CPU0:ios(config-if-serial)# inverts

 

 

 

 

 

 

 

Cisco IOS XR Interface and Hardware Component Configuration Guide

HC-122

Image 8
Contents Configuring Serial Interfaces on Cisco IOS XR Software ContentsHC-116 Prerequisites for Configuring Serial InterfacesInformation About Serial Interfaces Step Task Module Section HC-117HC-118 Default Settings for Serial Interface Configurations Configuration File Entry Default SettingsSerial Interface Naming Notation HC-119Keepalive Timer Cisco IOS XR PPP EncapsulationCisco IOS XR Hdlc Encapsulation HC-120HC-121 How to Configure Serial InterfacesConfiguring the Serial Interfaces Command or Action Purpose HC-122Example HC-123Configuration Examples for Serial Interfaces Additional ReferencesRelated Documents Related Topic Document TitleStandards MIBsRFCs Technical AssistanceHC-126