To access the Cisco IOS software image on a line card to monitor and maintain information on the line card, use the attach privileged EXEC command. To exit from the Cisco IOS software image on the line card and return to the Cisco IOS image on the GRP card, use the exitcommand.
attach slot-number
slot-number  Slot number of the line card you want to connect to. Slot numbers range from 0 to 11 for the Cisco 12012 and 0 to 7 for the Cisco 12008. If the slot number is omitted, you are prompted for the slot number.
Access to the Cisco IOS software image running on the GRP card.
Privileged EXEC
Release | Modification | 11.2 GS | This command was added to support the Cisco 12000 series Gigabit Switch Routers. |
---|
Use the attach EXEC command to get specific information about a line card.
After you connect to the Cisco IOS image on the line card using theattach command, the prompt changes to "LC-Slotx#," where x is the slot number of the line card.
You can also use the execute-on slotprivileged EXEC command to execute commands on one or all line cards.
Do not execute the config command from the Cisco IOS software image on the line card.
Because not all statistics are maintained on the line cards, the output from some of the show commands might not be consistent.
The following example connects to the Cisco IOS image running on the line card in slot 9, gets a list of valid show commands, and returns the Cisco IOS image running on the GRP:
Router# attach 9 Entering Console for 4 Port Packet Over SONET OC-3c/STM-1 in Slot: 9 Type exit to end this session Press RETURN to get started! LC-Slot9# show ? cef Cisco Express Forwarding clock Display the system clock context Show context information about recent crash(s) history Display the session command history hosts IP domain-name, lookup style, nameservers, and host table ipc Interprocess communications commands location Display the system location sessions Information about Telnet connections terminal Display terminal configuration parameters users Display information about terminal lines version System hardware and software status LC-Slot9# exit Disconnecting from slot 9. Connection Duration: 00:01:04 Router#
Command | Description |
---|---|
execute-on slot | Executes commands remotely on a line card, use the execute-on slot privileged EXEC command. |
Printed for apswan@ctr.ap.nic.in on Wed Mar 5 22:32:57 PST 2003
All material in this document copyright 2000 Cisco Systems, Inc. All rights reserved. No material may be reproduced or distributed without written permission of Cisco Systems, Inc.