Contents

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.

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:

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."

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: