Configuring Serial Interfaces on Cisco IOS XR
Software
This module describes the serial interfaces on routers supporting Cisco IOS XR software. Before you
configure a serial interface, you must configure the clear channel T3/E3 controller or channelized
T1/E1controller (DS0 channel) that is associated with that interface.
Feature History for Configuring Serial Controller Interfaces
ReleaseModification
Release 3.3.0This feature was introduced on the Cisco XR 12000 Series Router.
Support was added on the Cisco XR 12000 Series Router for the following
hardware:
• Cisco XR 12000 SIP-401
• Cisco XR 12000 SIP-501
• Cisco XR 12000 SIP-601
Support was added on the Cisco XR 12000 Series Router for the following
SPAs:
• 2-Port and 4-Port Channelized T3 Serial SPA
• 2-Port and 4-Port T3/E3 Serial SPA
Contents
• Prerequisites for Configuring Serial Interfaces, page HC-116
• Information About Serial Interfaces, page HC-116
• How to Configure Serial Interfaces, page HC-121
• Additional References, page HC-124
Cisco IOS XR Interface and Hardware Component Configuration Guide
HC-115
Configuring Serial Interfaces on Cisco IOSXR Software
Prerequisites for Configuring Serial Interfaces
Prerequisites for Configuring Serial Interfaces
Before configuring serial interfaces, be sure that the following tasks and conditions are met:
• You must be in a user group associated with a task group that includes th e proper task IDs for serial
Interface commands. Task IDs for commands are listed in Cisco IOS XR Interface and Hardware
Component Command Reference.
• Your hardware must support T3/E3 controllers and serial interfaces. The following hardware
supports T3/E3 controllers and serial inte rfaces in Cisco IOS XR Software Release 3.3:
–
2-Port and 4-Port Clear Channel T3/E3 SPAs
–
2-Port and 4-Port Channelized T3 SPAs
NoteThe 2-Port and 4-Port Channelized T3 SPAs support T1/E1 controllers and DS0 channels.
• You have already configured the clear channel T3/E3 controller or channelized
T3-to-T1/E1controller that is associated with the serial interface y ou want to conf igure, as described
in the Configuring Clear Channel T3/E3 Controllers and Channelized T3 Controllers on
Cisco IOS X R Software module earlier in this document.
Information About Serial Interfaces
Serial interfaces are supported on the following Cisco XR 12000 Series Router shared port adapter
(SPA) cards:
• 2-Port and 4-Port Clear Channel T3/E3 SPAs
• 2-Port and 4-Port Channelized T3 SPAs
NoteThe 2-Port and 4-Port Channelized T3 SPAs can run in clear channel mode, or they can be
channelized into 28 T1 or 21 E1 controllers.
T3/E3 serial interfaces are automatically created on clear channel T3/E3 controllers. On channelized
T3-to-T1/E1 controllers, serial interfaces are automatically created when users conf igure indi vidual DS0
channel groups the T1/E1 controll ers.
To configure serial interfaces, you must understand the following concepts:
• High Level Over-View: Serial Interface Configuration on Clear-Channel SPAs, page HC-117
• High Level Over-View: Serial Interface Configuration on Channelized SPAs, page HC-118
• Default Settings for Serial Interface Configurations, page HC-119
• Serial Interface Naming Notation, page HC-119
• Cisco IOS XR PPP Encapsulation, page HC-120
• Cisco IOS XR HDLC Encapsulation, page HC-120
• Keepalive Timer, page HC-120
HC-116
Cisco IOS XR Interface and Hardware Component Configuration Guide
Configuring Serial Interfaces on Cisco IOS XR Software
Information About Serial Interfaces
High Level Over-View: Serial Interface Configuration on Clear-Channel SPAs
Table 10 provides a high-level overview of the tasks required to configure a T3 serial interface on a
2-Port and 4-Port Clear Channel T3/E3 SPA.
Table 10Overview: Configuring a T3 Serial Interface on a Clear Channel SPA
StepTaskModuleSection
1.Use the hw-module subslot
command to set serial mode for the
SPA to be T 3, if necessary.
NoteBy default, the 2-Port and
“Configuring Clear Channel T3/E3
Controllers and Channelized T3
Controllers on Cisco IOS XR
Software”
4-Port Clear Channel
T3/E3 SPA is set to run in
T3 mode.
2.Configure the T3 controller“Configuring Clear Channel T3/E3
Controllers and Channelized T3
Controllers on Cisco IOS XR
Software”
3.Configure the serial interface that is
associated with the T3 controller
“Configuring Serial Interfaces on
Cisco IOS XR Software”
you configured in Step 2.
“Setting the Card Type for the Clear
Channel SPAs”
“Setting the Card Type for the Clear
Channel SPAs”
“Configuring the Serial Interfaces”
Table 11 provides a high-level overview of the tasks required to configure an E3 serial interface on a
2-Port and 4-Port Clear Channel T3/E3 SPA.
Table 11Overview: Configuring an E3 Serial Interface on a Clear Channel SPA
StepTaskModuleSection
1.Use the hw-module subslot
command to set serial mode for the
SPA to be E 3.
2.Configure the E3 controllerConfiguring Clear Channel T3/E3
Configuring Clear Channel T3/E3
Controllers and Channelized T3
Controllers on Cisco IOS XR Software
Controllers and Channelized T3
Setting the Card Type for the Clear
Channel SPAs
Setting the Card Type for the Clear
Channel SPAs
Controllers on Cisco IOS XR Software
3.Configure the serial interface that is
associated with the E3 controller
Configuring Serial Interfaces on
Cisco IOS XR Software
Configuring the Serial Interfaces
you configured in Step 2.
Cisco IOS XR Interface and Hardware Component Configuration Guid e
HC-117
Configuring Serial Interfaces on Cisco IOS XR Software
Information About Serial Interfaces
High Level Over-View: Serial Interface Configuration on Channelized SPAs
Table 12 provides a high-level overview of the tasks required to configure a T1 serial interface on the
2-Port and 4-Port Channelized T3 SPA.
Table 12Overview: Configuring a Serial Interface on a T1 DS0 Channel
StepTaskModuleSection
1.Configure the T3 controller
parameters and set the SP A mode to
be T3.
28 T1 controllers are automat ically
created.
2.Create and configure DS0 channel
groups on the T1 controllers you
created in Step 1.
3.Configure the Serial interfaces that
are associated channel groups you
created in Step 2.
“Configuring Clear Channel
T3/E3 Controllers and
Channelized T3 Controllers on
Cisco IOS XR Software”
“Configuring Clear Channel
T3/E3 Controllers and
Channelized T3 Controllers on
Cisco IOS XR Software”
“Configuring Serial Interfaces on
Cisco IOS XR Software”
“Configuring a Channelized T3-to-T1
Controller”
“Configuring a Channelized T3-to-T1
Controller”
“Configuring the Serial Interfaces”
Table 13 provides a high-level overview of the tasks required to configure an E1 serial interface on the
2-Port and 4-Port Channelized T3 SPA.
Table 13Overview: Configuring a Serial Interface on an E1 DS0 Channel
StepTaskModuleSection
1.Configure the T3 controller
parameters and set the SP A mode to
be E3.
21 E1 controllers are automat ically
Configuring Clear Channel T3/E3
Controllers and Channelized T3
Controllers on Cisco IOS XR
Software
Configuring a Channelized T3-to-T1
Controller
created.
2.Create and configure DS0 channel
groups on the E1 controllers you
created in Step 1.
Configuring Clear Channel T3/E3
Controllers and Channelized T3
Controllers on Cisco IOS XR
Configuring a Channelized T3-to-E1
Controller
Software
3.Configure the Serial interfaces that
are associated channel groups you
Configuring Serial Interfaces on
Cisco IOS XR Software
Configuring the Serial Interfaces
created in Step 2.
HC-118
Cisco IOS XR Interface and Hardware Component Configuration Guide
Configuring Serial Interfaces on Cisco IOS XR Software
Default Settings for Serial Interface Configurations
When an interface is enabled on a T3/E3 SPA, and no additional configuration commands are applied,
the default interface settings shown in Table 14 are present. These default settings can be changed by
configuration. Default settings do not appear in the output of the show running-config command.
Table 14Serial Interface Default Settings
ParameterConfiguration File EntryDefault Settings
Keepalivekeepalive [disable]
no keepalive
Encapsulationencapsulation [hdlc | ppp]hdlc
Maximum transmission unit (MTU)mtu bytes4474 bytes
Cyclic redundancy check (CRC)crc [16 | 32]32
Data stream inversion on a serial
interface
Payload scrambling (encryption)scrambleScrambling is disabled.
Number of High-Level Data Link
Control (HDLC) flag sequences to be
inserted between the packets
invertData stream is not inverted
transmit-delayDefault is 0 (disabled).
Information About Serial Interfaces
keepalive 10 seconds
Serial Interface Naming Notation
The naming notation for s erial in terfaces on a clear channel SPA is rack/slot/module/port, as shown in
the following example:
interface serial 0/0/1/2
The naming notation for T1, E1, and DS0 inte rfaces on a channelized SPA is
rack/slot /module/port/t1-num:channel-group-number, as shown in the following example:
interface serial 0/0/1/2/4:3.
NoteA slash between values is required as part of the notation.
The naming notation syntax for serial interfaces is as follows:
• rack: Chassis number of the rack.
• slot: Physical slot number of the modular services card or line card.
• module: Module number. Shared port adapters (SPAs) are referenced by their subslot number.
• port: Physical port number of the T3 controller.
Cisco IOS XR Interface and Hardware Component Configuration Guid e
HC-119
Information About Serial Interfaces
• t1-num: T1 or E1 channel number. T1 channels range from 0 to 23; E1 channels range fr om 0 to 30.
• channel-group-number: Time slot number. T1 time slots range from 1 to 24; E1 time slots range
from 1 to 31. The channel-group-number is preceded by a colon and not a slash.
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
PPP is 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.
PPP provides 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
Configuring Serial Interfaces on Cisco IOS XR Software
• Open Systems Interconnection control processor (OSICP) to negotiate OSI properties
NoteThe 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 co mmand in interf ace configuration
mode for the serial interface.
Cisco IOS XR HDLC Encapsulation
Cisco High-Level Data Link Controller (HDLC) is Cisco’s proprietary protocol for sending data over
synchronous serial links using HDLC. Cisco H DLC also pro vides a simple control protoco l called Serial
Line Address Resolution Protocol (SLARP) to maintain serial link keepalives. HDLC is the default
encapsulation for serial interfaces under Cisco IOS XR software.
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 conf igur ation mo de 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 running-config command output as keepalive disable.
HC-120
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
Configuring Serial Interfaces on Cisco IOS XR Software
Keepalives are independent between the tw o peers. One peer end can have keepaliv es enabled; the other
end can have them disabled. Even if keepali v es are disabled locall y, LCP still responds with ECHOREP
packets to the ECHOREQ packets it receives. Similarly, LCP also works if the period of keepalives at
each end is different.
When the interface has PPP encapsulation, if LCP sends three ECHOREQ pa ckets without an
ECHOREP being received then it declares the link down and initiates full LCP negotiation again. If the
interface has HDLC encapsulation, the number of resends is only three before the link is taken down.
Only when LCP negotiation is complete (for example, when LCP is Open) are ECHOREQ packets sent
out.
How to Configure Serial Interfaces
After you have configured a channelized or clear channel T3/E3 controller, as described in the
Configuring Clear Channel T3/E3 Controllers and Channelized T3 Controllers on Cisco IOS XR
Software module earlier in this document, you can configure the Serial interfaces associated with that
controller. The following task describes how to configure a serial interface.
• Configuring the Serial Interfaces, page HC-121
How to Configure Serial Interfaces
Configuring the Serial Interfaces
Before you can use a serial interface, you must configure the IP address and bring the interface to the up
state, as described in the steps that follow.
NoteAll global commands are supported on serial interf aces . Only commands specif ic to serial interfaces are
described in this section. For more information about global interface commands, refer to the Global
Interface Commands on Cisco IOS XR Software module in Cisco IOS XR Interface and Hardware
Component Command Reference.
SUMMARY STEPS
1. configure
2. interface serial instance
3. ipv4 address ip-address
4. encapsulation [hdlc | ppp]
5. keepalive {seconds | disable}
6. serial
7. crc length
8. invert
9. scramble
10. transmit-delay hdlc-flags
11. exit
12. no shutdown
Cisco IOS XR Interface and Hardware Component Configuration Guid e
HC-121
How to Configure Serial Interfaces
DETAILED STEPS
Command or ActionPurpose
Step 1
configure
Example:
RP/0/0/CPU0:router# configure
Step 2
interface serial instance
Example:
RP/0/0/CPU0:router(config)# interface serial
0/1/0/0/10:15
Step 3
ipv4 address ip-address
Configuring Serial Interfaces on Cisco IOS XR Software
13. end
or
commit
14. show interfaces serial instance
Enters global configuration mode.
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.
Assigns an IP address and subnet mask to the interface.
Step 4
Step 5
Step 6
Step 7
Step 8
Example:
RP/0/0/CPU0:router(config-if)# ipv4 address
10.1.2.1 255.255.255.224
encapsulation [hdlc | ppp]
Example:
RP/0/0/CPU0:router(config-if)# encapsulation
hdlc
keepalive {seconds | disable}
Example:
RP/0/R0/CPU0:router(config-if)# keepalive 10
serial
Example:
RP/0/0/CPU0:router(config-if)# serial
RP/0/0/CPU0:ios(config-if-serial)#
crclength
Example:
RP/0/0/CPU0:ios(config-if-serial)# crc 32
invert
(Optional) Configures the interface encapsulation
parameters and details such as HDLC or PPP.
NoteThe default encapsulation is hdlc.
(Optional) Configures the HDLC keepalive value.
NoteThe default value for the keepalive timer is 10
seconds.
(Optional) Enters serial submode to configure the serial
parameters.
(Optional) Specifies the length of the cyclic redundancy
check (CRC) on the interface.
NoteThe default is CRC length is 16.
(Optional) Inverts the data stream.
HC-122
Example:
RP/0/0/CPU0:ios(config-if-serial)# inverts
Cisco IOS XR Interface and Hardware Component Configuration Guide
Configuring Serial Interfaces on Cisco IOS XR Software
Initial system bootup and confi guration information for
a router using Cisco IOS XR software
Cisco IOS XR Interface and Hardware Component Configuration Guide
HC-124
Cisco IOS XR Getting Started Guide
Configuring Serial Interfaces on Cisco IOS XR Software
Additional References
Related TopicDocument Title
Cisco IOS XR AAA services configuration information Cisco IOS XR System Security Configuration Guide and
Cisco IOS XR System Security Command Reference
Information about configuring interfaces and other
components on the Cisco CRS-1 from a remote Craft
Works Interface (CWI) client management application
Cisco CRS-1 Series Carrier Routing System Craft Works Inte rface
Configuration Guide
Standards
StandardsTitle
No new or modified standards are supported by this
feature, and support for existing standards has not been
modified by this feature.
—
MIBs
MIBsMIBs Link
No new or modified MIBs are supported by this
feature, and support for existing MIBs has not been
modified by this feature
To locate and download MIBs for selected platforms using
Cisco IOS XR software, use the Cisco MIB Locator found at the
following URL:
No new or modified RFCs are supported by this
feature, and support for existing RFCs has not been
modified by this feature.
—
Technical Assistance
DescriptionLink
The Cisco Technical Support website contains
thousands of pages of searchable technical content,
including links to products, technologies, solutions,
technical tips, and tools. Registered Cisco.com users
can log in from this page to access even more content.
http://www.cisco.com/techsupport
Cisco IOS XR Interface and Hardware Component Configuration Guid e
HC-125
Additional References
Configuring Serial Interfaces on Cisco IOS XR Software
HC-126
Cisco IOS XR Interface and Hardware Component Configuration Guide
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.