Cisco Systems 9001 Router User Manual


 
4-14
Cisco ASR 9001 and Cisco ASR 9001-S Routers Hardware Installation Guide
OL-26701-02
Chapter 4 Troubleshooting the Installation
Troubleshooting the Line Card
Line Card Interface Address
A Cisco ASR 9001 Router identifies an interface address by its rack number, line card slot number,
instance number, and port number, in the format rack/slot/instance/port. The rack parameter is reserved
for multirack systems; so, the rack parameter is always 0 (zero) for the Cisco ASR 9001 Router.
The line card slot is numbered 0 with three subslots. The subslots on the line card are numbered 0, 1,
and 2. 0 and 1 are reserved for EP ports and 2 is for native ports on the line card. Even if the line card
contains only one port, you must use the rack/slot/instance/port notation.
Using Configuration Commands
The command line interface (CLI) for Cisco IOS XR software is divided into different command modes.
To configure a line card, you enter the correct mode and then enter the commands you need.
When you first log in, you are automatically in EXEC mode. Next, enter the configure command to
access configuration mode. Then, enter the interface command to enter interface configuration mode
and specify the interface. You are now in the command mode where you can configure the new interface.
Be prepared with the information you will need, such as the interface IP address.
Basic Line Card Configuration
This procedure is for creating a basic configuration—enabling an interface and specifying IP routing.
You might also need to enter other configuration subcommands, depending on the requirements for your
system configuration.
This example shows one way to configure the basic parameters of a line card:
Step 1 Enter EXEC mode:
Username: username
Password: password
RP/0/RSP0/CPU0:router#
Step 2 Check the status of each port by entering the show interface command:
RP/0/RSP0/CPU0:router# show interface
Step 3 Enter global configuration mode and specify that the console terminal will be the source of the
configuration commands:
RP/0/RSP0/CPU0:router# configure terminal
Step 4 At the prompt, specify the new interface to configure by entering the interface command, followed by
the type (for example, gigabitethernet or tengige) and rack/slot/instance/port (line card rack, slot
number, subslot number, port number). Remember that Cisco ASR 9001 Router rack and subslot values
are always 0 (zero). For example, to configure port 4 on bay 0 of the line card:
RP/0/RSP0/CPU0:router# interface tengige 0/0/0/3
You are now in interface configuration mode.
Step 5 Assign an IP address and subnet mask to the interface with the ipv4 address configuration subcommand,
as in the following example:
RP/0/RSP0/CPU0:router(config-if)# ipv4 address 10.1.2.3 255.255.255.0
Step 6 Use the no shutdown command to enable the interface: