Document ID: 12780
When a line card is removed from a Cisco Edge Services Router (ESR) 10000 chassis, the line card configuration does not go away. This document explains how to remove the configuration for an ESR line card once that line card is physically removed from the chassis.
There are no specific requirements for this document.
The information in this document is based on these software and hardware versions:
ESR 10008 with the one-port OC12 ATM line card that runs Cisco IOS® Software Version 12.2(15)BZ
The information in this document was created from the devices in a specific lab environment. All of the devices used in this document started with a cleared (default) configuration. If your network is live, make sure that you understand the potential impact of any command.
The instructions in this document work for any line card in the ESR 10000. Cisco IOS Software Release 12.0(17)ST or later releases must be running on the Cisco 10000 series ESR. Here are some more listings and how they show up in the configuration:
1oc12pos-1: 1 port OC12 POS
1choc12-1: 1 port channelized OC12
6cht3-1: 6 port channelized DS3
1gigethernet-1: 1 port Gigabit Ethernet
The ESR 10000 differs from other Cisco routers because when a line card is removed from the chassis, the configuration is still present after a show run command. You can see whether or not the line card is still in the chassis using some common show commands such as show interfaces and show diag.
Below is the output of a show interfaces command for an ATM line card when it is removed from the chassis. As you can see, it states that "Hardware is not present."
10008-1a# show interfaces atm5/0/0 ATM5/0/0 is down, line protocol is down Hardware is not present Hardware is OC12 ATM 1 Port, address is 0001.6380.c03c (bia 0000.0000.0000) MTU 4470 bytes, sub MTU 4470, BW 622000 Kbit, DLY 80 usec, rely 255/255, load 1/255 Encapsulation ATM, loopback not set Encapsulation(s): AAL5, PVC mode 2000 maximum active VCs, 0 current VCCs Last input never, output never, output hang never Last clearing of "show interface" counters never Input queue: 0/27230/0/0 (size/max/drops/flushes); Total output drops: 0 Queueing strategy: fifo Output queue: 0/16384 (size/max) 5 minute input rate 0 bits/sec, 0 packets/sec 5 minute output rate 0 bits/sec, 0 packets/sec 0 packets input, 0 bytes, 0 no buffer Received 0 broadcasts, 0 runts, 0 giants, 0 throttles 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort 0 packets output, 0 bytes, 0 underruns 0 output errors, 0 collisions, 1 interface resets 0 output buffer failures, 0 output buffers swapped out
On the other hand, a show diag command for the same slot does not return any information, meaning that the line card is probably removed from the chassis.
10008-1a# show diag 5/0 10008-1a#
While the line card is physically removed from the chassis, the configuration can be modified like any other interface. The interface does not go into an up/up state.
To remove the configuration from the router for a line card that has been removed from the chassis, go into configuration mode and remove the card command. Every card in the chassis is identified by this card command. Once a no card command is issued, the configuration is removed. For the example above, go into configuration mode and type:
10008-1a(config)# no card 5/0 1oc12atm-1
In the above command, 5/0 refers to the slot/subslot and 1oc12atm-1 refers to the OC-12 ATM line card that has been removed. See the relevant Command Reference for details on the command usage.
This removes the line card interface from the configuration. A message appears telling the user that the card is physically removed from the chassis. Here is the message when the no card 5/0 1oc12atm-1 command is run with the line card already physically removed:
%C10K-3-DEACTIVATED: card in slot [5/0] disabled
|Updated: Jul 07, 2005||Document ID: 12780|