|
|
Use the debug mpoa client command to display MPC debug information.
debug mpoa client {all | data | egress | general | ingress | keep-alives | platform-specific} [name mpc-name]
all | (Optional) Keyword to show debugging information for all MPC activity. |
data | (Optional) Keyword to show debugging information for data plane activity only. This option applies only to routers. |
egress | (Optional) Keyword to show debugging information for egress functionality only. |
general | (Optional) Keyword to show general debugging information only. |
ingress | (Optional) Keyword to show debugging information for ingress functionality only. |
keep-alives | (Optional) Keyword to show debugging information for keepalive activity only. |
platform-specific | (Optional) Keyword to show debugging information for specific platforms only. This option applies only to the Catalyst 5000 series ATM module. |
name mpc-name | (Optional) Keyword to specify the name of the MPC with the specified name. |
The default is debugging is turned on for all MPCs.
IOS ATM command.
EXEC.
This example shows how to turn on debugging for the MPC ip_mpc:
ATM#debug mpoa client all name ip_mpc
ATM#
Use the default-name command to provide an ELAN name in the configuration server's database for those client MAC addresses and client ATM addresses that do not have explicit ELAN name bindings. Use the no form of this command to remove the default name.
default-name elan-name
elan-name | Default ELAN name for any LANE client MAC address or LANE client ATM address not explicitly bound to any ELAN name. The maximum length of elan-name is 32 characters. |
By default, no name is configured.
IOS ATM command.
Database configuration.
This command affects only the bindings in the configuration server's database. It has no effect on the LANE components themselves.
The named ELAN must already exist in the configuration server's database before this command is used. If the default name-to-ELAN name binding already exists, the new binding replaces it.
client-atm-address name
lane database
name
Use the delete command to delete a configuration file.
delete [[m/]device:]filename
m/ | (Optional) Module number of the supervisor engine containing the Flash device. |
device: | (Optional) Device where the Flash resides. |
filename | Name of the configuration file. |
This command has no default setting.
Switch command.
Privileged.
A colon (:) is required after the specified device.
This command applies only to the Supervisor Engine III. If you attempt to run this command on a Supervisor Engine I or II, you will receive an error message.
This example shows how to delete the cat5000-sup3.3-1-1.bin configuration file from the Flash device and then verify deletion by entering the show flash command:
Console> (enable) delete bootflash:cat5000-sup3.3-1-1.bin
Console> (enable) Console> (enable) show flash
-#- ED --type-- --crc--- -seek-- nlen -length- -----date/time------ name 1 .D ffffffff 5415406e 3300b8 25 3080247 Oct 12 1998 13:22:46 cat5000-sup3 .3-1-1.bin 2 .. ffffffff 762950d6 6234d0 25 3093399 Oct 18 1998 12:33:14 cat5000-sup3 .4-1-1.bin 1428272 bytes available (6173904 bytes used) Console> (enable)
dirswitch
undelete
show flash
squeeze
Use the dev command to list the device IDs available on a switch.
devThis command has no arguments or keywords.
This command has no defaults.
ROM monitor command.
Normal.
This example shows how to use the dev command:
rommon 10 > dev
Devices in device table:
id name
flash: flash
slot0: PCMCIA slot 0
slot1: PCMCIA slot 1
eprom: eprom
Use the dir command to list the files of the named device.
dir device
device | ID of the device. |
This command has no defaults.
ROM monitor command.
Normal.
This example shows how to use the dir command:
rommon 11 > dir flash:
File size Checksum File name
65 bytes (0x41) 0xb49d clev/oddfile65
2229799 bytes (0x220627) 0x469e clev/sierra-k.Z
Use the dir command to display a list of files on a Flash memory device.
dir [[m/]device:][filename] [all | deleted | long]
m/ | (Optional) Module number of the supervisor engine containing the Flash device. |
device: | (Optional) Device where the Flash resides. |
filename | (Optional) Name of the configuration file. |
all | (Optional) Keyword to display all files, deleted or not. |
deleted | (Optional) Keyword to display only deleted files. |
long | (Optional) Keyword to display files that have not been deleted, in long format. |
This command has no default setting.
Switch command.
Normal and privileged.
A colon (:) is required after the specified device.
This command applies only to the Supervisor Engine III. If you attempt to run this command on a Supervisor Engine I or II, you will receive an error message.
When you specify the all keyword, the file information is displayed in long format.
When you omit all keywords (all, deleted, or long), the system displays file information in short format. Short format is shown in Table 2-1:
| Column Heading | Description |
|---|---|
# | File index number |
length | File length |
date/time | Date and time the file was created |
name | Filename |
When you use one of the keywords (all, deleted, or long), the system displays file information in long format. The long format is shown in Table 2-2:
| Column Heading | Description |
|---|---|
# | File index number |
ED | Letter to indicate whether the file contains an error (E) or is deleted (D) |
type | File type (1 = configuration file, 2 = image file); when the file type is unknown, the system displays a zero or FFFFFFFF in this field |
crc | File cyclic redundancy check |
seek | Offset into the file system of the next file |
nlen | Filename length |
length | File length |
date/time | Date and time the file was created |
name | Filename |
This example shows how to display the file information in short format:
Console> (enable) dir
-#- -length- -----date/time------ name 2 3093399 Oct 18 1998 12:33:14 cat5000-sup3.4-1-1.bin 1428272 bytes available (6173904 bytes used) Console> (enable)
This example shows how to display the file information in long format:
Console> (enable) dir long
-#- ED --type-- --crc--- -seek-- nlen -length- -----date/time------ name 2 .. ffffffff 762950d6 6234d0 25 3093399 Oct 18 1998 12:33:14 cat5000-sup3.4-1-1.bin 1428272 bytes available (6173904 bytes used) Console> (enable)
This example shows the file with index number 1 deleted:
Console> (enable) dir all
-#- ED --type-- --crc--- -seek-- nlen -length- -----date/time------ name 1 .D ffffffff 5415406e 3300b8 25 3080247 Jun 12 1998 13:22:46 cat5000-sup3.3-1-1.bin 2 .. ffffffff 762950d6 6234d0 25 3093399 Oct 18 1998 12:33:14 cat5000-sup3.4-1-1.bin 1428272 bytes available (6173904 bytes used) Console> (enable)
Use the disable command to exit privileged EXEC mode and return to user EXEC mode. After executing this command, the angle-bracket (>) prompt appears.
disable [level]
level | (Optional) Option to reduce the privilege level. |
This command has no default setting.
IOS ATM command.
EXEC.
Use this command with the level option to reduce the privilege level. If you do not specify a level, it defaults to the user EXEC mode, which is level 1.
This example shows how to cause the system to exit privileged EXEC mode and return to user EXEC mode, as indicated by the angle bracket (>) prompt:
ATM#disable
ATM>
Use the disable command to return to normal mode from privileged mode.
disableThis command has no arguments or keywords.
This command has no default setting.
Switch command.
Privileged.
This example shows how to return to normal mode:
Console> (enable) disable
Console>
Use the disconnect command to close an active console port or Telnet session.
disconnect {ip_addr | console}
ip_addr | IP address or IP alias. |
console | Keyword to denote an active console port. |
This command has no default setting.
Switch command.
Privileged.
If multiple sessions from the same IP address exist, the disconnect command checks if the current process is also from the same IP address. If it is not, all Telnet sessions from the specified IP address are disconnected. If it is, all sessions, other than the current session, are disconnected. The system prompts whether to disconnect the current Telnet session. You can answer n and remain connected or answer y and be disconnected.
This example shows how to close a Telnet session to host 198.134.214.4:
Console> (enable) disconnect 198.134.214.4
Telnet session from 198.134.214.4 disconnected. (1) Console> (enable)
This example shows how to close the current console session:
Console> (enable) disconnect console
Console session disconnected. Console> (enable)
Use the display-databases command to display all the LECS database tables.
display-databasesThis command has no arguments or keywords.
This command has no default setting.
IOS ATM command.
Database configuration.
This example shows how to display all the LECS database tables:
ATM(lane-config-database)#display-databases
eng_dbase display-databases <----- config table in context
Use the download command to copy a software image from a specified host to the Flash memory of a designated module.
download host file [mod_num]
host | Name or IP address of host. |
file | Name of file to be downloaded. |
mod_num | (Optional) Number of the module to receive downloaded image. |
serial | Keyword to specify download through a serial port. |
If a module number is not specified, the image is downloaded to all modules for which the image is valid.
Switch command.
Privileged.
The Catalyst 5000 series switches support two ways to download new code to the processors: TFTP network download through any network port and Kermit serial download through the EIA/TIA-232 console port. Only the first applies to the ATM module. The ATM module has processors that will require field upgrades.
The download command downloads code to the module Flash memory. Catalyst 5000 series software rejects an image if it is not a valid image for the module.
When downloading to the ATM module, the supervisor module acts as a TFTP gateway, forwarding TFTP packets to the ATM module through an in-band IPC method.
To download a software image for the RSM, use the session command to access the RSM prompt where you can enter the download command to download the software.
The download serial command uses the Kermit protocol through the serial EIA/TIA-232 console port. The download serial command is not allowed from a Telnet session.
This command is not supported by the three-port Gigabit Ethernet switching module (WS-X5403).
Entering the download command for a Network Analysis Module does not disconnect a Telnet session; ignore the message that says the command may disconnect your Telnet session.
If the module number is specified, the download goes to the specified module, but the download will fail if the module is of a different type than is indicated by the download header. If the module number is not specified, the download goes to all modules of that type.
| Caution After starting the serial download using Kermit, do not attempt to abort the serial download by using Ctrl-C. Pressing Ctrl-C interrupts the download process and could leave the switch in a problematic state. If this occurs, reboot the switch. |
This example shows how to download the c5000_spv11.bin file from the mercury host to the supervisor engine module (by default):
Console> (enable) download mercury c5000_spv11.bin
Download image c5000_spv11.bin from mercury to module 1FLASH (y/n) [n]? y
\ Finished network single module download. (2418396 bytes) FLASH on Catalyst: Type Address Location Intel 28F008 20000000 NMP (P3) 4MB SIM Erasing flash sector...done. Programming flash sector...done. Erasing flash sector...done. Programming flash sector...done. The system needs to be reset to run the new image. Console> (enable)
This example shows how to download the fddi_1113.cpi file from the mercury host to module 4:
Console> (enable) download mercury fddi_1113.cpi 4
This command will reset Module 4. Download image fddi_1113.cbi from mercury to Module 4 FLASH (y/n) [n]? y
| Finished network download. (1064876 bytes) ...............................................................................n Console> (enable)
This example shows how to download the acpflash_1111.bbi file from the mercury host to module 3:
Console> (enable) download mercury acpflash_1111.bbi 3
This command will reset Module 3. Download image acpflash_1111.bbi from mercury to Module 3 FLASH (y/n) [n]? y
/ Done. Finished network download. (1964012 bytes) Console> (enable)
This sample session shows how to connect to a remote terminal from a Sun workstation and how to use the download serial command to copy a software image to the supervisor engine module:
[At local Sun workstation] host% kermit
C-Kermit 5A(172) ALPHA, 30 Jun 95, SUNOS 4.0 (BSD) Type ? or 'help' for help C-Kermit> set line /dev/ttyb
C-Kermit> c Connecting to /dev/ttyb, speed 9600. The escape character is ^ (ASCII 28). Type the escape character followed by C to get back, or followed by ? to see other options. Console> enable
Enter Password: Console> (enable) set system baud 19200
^\C
[Back at local Sun workstation] C-Kermit> set speed 19200
/dev/ttyb, 19200 bps C-Kermit> c
Connecting to /dev/ttyb, speed 19200. The escape character is ^ (ASCII 28). Type the escape character followed by C to get back, or followed by ? to see other options. Console> (enable) download serial
Download Supervisor image via console port (y/n) [n]? y
Concentrator Boot ROM (Ver 1.00) Waiting for DOWNLOAD!! Return to your local Machine by typing its escape sequence Issue Kermit send command from there[ Send `Filename`] ^\C
[Back at Local System] C-Kermit> send c5000_xx.bin
SF c5000_xx.bin => C5000_XX.BIN, Size: 1233266 X to cancel file, CR to resend current packet Z to cancel group, A for status report E to send Error packet, Ctrl-C to quit immediately: .......................... ............................................................................... ...... [OK] ZB C-Kermit> quit
host%
Use the download vmps command to download VMPS database information from a TFTP server.
download vmpsThis command has no arguments or keywords.
There is no default setting for this command.
Switch command.
Privileged.
Before you can execute the download vmps command successfully, you must use the set storage command to configure the IP address of the TFTP server and the name of the VMPS configuration file on that server. If the IP address of the TFTP server is not configured, the download vmps command reports an error. If the configuration filename is not configured, the download vmps command uses the default filename vmps-config-database.1.
After a successful download, the new VMPS information replaces any existing information. If there are not enough resources to build the new configuration database, the VMPS is made inactive.
This example shows the download vmps command and typical system responses:
Console> (enable) download vmps
Re-initialization of Vlan Membership Policy Server with the downloaded configuration file is in progress. 6/14/1998,17:37:29:VMPS-2:PARSER: 82 lines parsed, Errors 0
|
|