Chapter 2
Verifying and Troubleshooting the Line Card Installation
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
The following 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.
The following 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#
Check the status of each port by entering the show interface command:
Step 2
RP/0/RSP0/CPU0:router# show interface
Enter global configuration mode and specify that the console terminal will be the source of the
Step 3
configuration commands:
RP/0/RSP0/CPU0:router# configure terminal
At the prompt, specify the new interface to configure by entering the interface command, followed by
Step 4
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 9000 Series rack and subslot values
are always 0 (zero). For example, to configure port 4 on an 8-Port 10-Gigabit Ethernet line card in line
card slot 1:
RP/0/RSP0/CPU0:router# interface tengige 0/1/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
Change the shutdown state to up and enable the interface:
Step 6
RP/0/RSP0/CPU0:router(config-if)# no shutdown
The no shutdown command passes an enable command to the line card. It also causes the line card to
configure itself based on the most recent configuration commands received by the line card.
If you want to disable the Cisco Discovery Protocol (CDP), which is not required, use this command:
Step 7
RP/0/RSP0/CPU0:router(config-if)# no cdp
OL-17500-08
Cisco ASR 9000 Series Aggregation Services Router Ethernet Line Card Installation Guide
Configuring and Troubleshooting Line Card Interfaces
2-5