cc/td/doc/product/lan/cat5000/rel_4_3
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table of Contents

debug mpoa client
default-name
delete
dev
dir---ROM monitor
dir---switch
disable---ATM
disable---switch
disconnect
display-databases
download
download vmps

debug mpoa client

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]
no debug mpoa client [name mpc-name]
Syntax Description

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.

Default

The default is debugging is turned on for all MPCs.

Command Type

IOS ATM command.

Command Mode

EXEC.

Example

This example shows how to turn on debugging for the MPC ip_mpc:

ATM#debug mpoa client all name ip_mpc
ATM#
Related Command

show mpoa client cache

default-name

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
no default name
Syntax Description

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.

Default

By default, no name is configured.

Command Type

IOS ATM command.

Command Mode

Database configuration.

Usage Guidelines

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.

Related Commands

client-atm-address name
lane database
name


delete

Use the delete command to delete a configuration file.

delete [[m/]device:]filename
Syntax Description

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.

Default

This command has no default setting.

Command Type

Switch command.

Command Mode

Privileged.

Usage Guidelines

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.

Example

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)
Related Commands

dirswitch
undelete
show flash
squeeze

dev

Use the dev command to list the device IDs available on a switch.

dev
Syntax Description

This command has no arguments or keywords.

Default

This command has no defaults.

Command Type

ROM monitor command.

Command Mode

Normal.

Example

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                      

dir---ROM monitor

Use the dir command to list the files of the named device.

dir device
Syntax Description

device

ID of the device.

Default

This command has no defaults.

Command Type

ROM monitor command.

Command Mode

Normal.

Example

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

dir---switch

Use the dir command to display a list of files on a Flash memory device.

dir [[m/]device:][filename] [all | deleted | long]
Syntax Description

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.

Default

This command has no default setting.

Command Type

Switch command.

Command Mode

Normal and privileged.

Usage Guidelines

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:


Table 2-1:
Column Heading Description

#

File index number

length

File length

date/time

Date and time the file was created

name

Filename

Short Format

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:


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

Long Format
Examples

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)
Related Command

show flash

disable---ATM

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]
Syntax Description

level

(Optional) Option to reduce the privilege level.

Default

This command has no default setting.

Command Type

IOS ATM command.

Command Mode

EXEC.

Usage Guideline

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.

Example

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>
Related Command

enableATM

disable---switch

Use the disable command to return to normal mode from privileged mode.

disable
Syntax Description

This command has no arguments or keywords.

Default

This command has no default setting.

Command Type

Switch command.

Command Mode

Privileged.

Example

This example shows how to return to normal mode:

Console> (enable) disable
Console> 
Related Command

enableswitch

disconnect

Use the disconnect command to close an active console port or Telnet session.

disconnect {ip_addr | console}
Syntax Description

ip_addr

IP address or IP alias.

console

Keyword to denote an active console port.

Default

This command has no default setting.

Command Type

Switch command.

Command Mode

Privileged.

Usage Guideline

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.

Examples

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)
Related Command

telnet

display-databases

Use the display-databases command to display all the LECS database tables.

display-databases
Syntax Description

This command has no arguments or keywords.

Default

This command has no default setting.

Command Type

IOS ATM command.

Command Mode

Database configuration.

Example

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

download

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]
download serial [mod_num]
Syntax Description

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.

Default

If a module number is not specified, the image is downloaded to all modules for which the image is valid.

Command Type

Switch command.

Command Mode

Privileged.

Usage Guidelines

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.

Examples

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%
Related Commands

resetswitch
show flash
upload

download vmps

Use the download vmps command to download VMPS database information from a TFTP server.

download vmps
Syntax Description

This command has no arguments or keywords.

Default

There is no default setting for this command.

Command Type

Switch command.

Command Mode

Privileged.

Usage Guidelines

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.

Example

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
Related Commands

set vmps tftpserver
show vmps


hometocprevnextglossaryfeedbacksearchhelp
Copyright 1989-1998 © Cisco Systems Inc.