Table Of Contents
Catalyst 5000 Family Switch and
ROM Monitor Commands
alias
boot
cd
clear alias
clear arp
Catalyst 5000 Family Switch and
ROM Monitor Commands
This chapter contains an alphabetical listing of all switch and ROM monitor commands available on the Catalyst 5000 family switches.
For information regarding the ATM CLI and commands, refer to the ATM Software Configuration Guide and Command Reference—Catalyst 5000 Family and 6000 Family Switches publication.
Note
The Catalyst 2926G series switches are not supported in software release 6.X.
alias
Use the alias command to set and display aliases.
alias [name=value]
Syntax Description
name=
|
(Optional) Name you give to the alias.
|
value
|
(Optional) Value of the alias.
|
Defaults
This command has no default settings.
Command Types
ROM monitor command.
Command Modes
Normal.
Usage Guidelines
If value contains white space or other special (shell) characters, you must use quotation marks. If value has a space as its last character, the next command line word is checked for an alias (normally, only the first word on a command line is checked).
Without an argument, this command prints a list of all aliased names with their values.
An equal sign (=) is required between the name and value of the alias.
Examples
This example shows how to display a list of available alias commands and how to create an alias for the set command:
BOOT=bootflash:RTSYNC_llue_11,1;slot0:f1,1;
=========================================================================
Related Commands
unalias
boot
Use the boot command to boot up an external process.
boot [-xv] [device][imagename]
Syntax Description
-x
|
(Optional) Load the image but do not execute.
|
-v
|
(Optional) Toggle verbose mode.
|
device
|
(Optional) ID of the device.
|
imagename
|
(Optional) Name of the image.
|
Defaults
This command has no default settings.
Command Types
ROM monitor command.
Command Modes
Normal.
Usage Guidelines
With no arguments, boot will boot the first image in Flash. Specify an image by typing its name. Specify the device by typing the device ID.
You must specify a device name.
Examples
This example shows how to use the boot command:
rommon> boot -x bootflash:cat5000-sup3.6-1-0-59.bin
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
Uncompressing file:
##########################################################################################
##########################################################################################
################################################################################
cd
Use the cd command to set the default Flash device for the system.
cd [[m/]device:]]
Syntax Description
m/
|
(Optional) Module number of the supervisor engine containing the Flash device.
|
device:
|
(Optional) Flash device name. Valid devices include bootflash:, slot0:, and slot1:.
|
Defaults
The default Flash device is bootflash.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
A colon (:) is required after the specified device.
For those commands where device is an option, the device set by cd is used if a Flash device is not specified.
This command is supported on the Supervisor Engine III only.
Examples
This example shows how to set the system default Flash device to bootflash:
Console> (enable) cd bootflash:
Related Commands
pwd
clear alias
Use the clear alias command to clear the abbreviated versions of commands.
clear alias {name | all}
Syntax Description
name
|
Alternate identifier of the command.
|
all
|
Keyword to identify every alternate identifier previously created.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Examples
This example shows how to erase the arpdel alias:
Console> (enable) clear alias arpdel
This example shows how to erase all the aliases:
Console> (enable) clear alias all
Command alias table cleared. (1)
(1) indicates the number of entries cleared.
Related Commands
set alias
show alias
clear arp
Use the clear arp command to delete a specific entry or all entries from the ARP table.
clear arp [all | dynamic | permanent | static]
clear arp ip_addr
Syntax Description
all
|
(Optional) Keyword to clear all ARP entries.
|
dynamic
|
(Optional) Keyword to clear all dynamic ARP entries.
|
permanent
|
(Optional) Keyword to clear all permanent ARP entries.
|
static
|
(Optional) Keyword to clear all static ARP entries.
|
ip_addr
|
IP address to clear from the ARP table.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Examples
This example shows how to remove a specific IP address from the ARP table:
Console> (enable) clear arp 198.133.219.209
This example shows how to remove all entries from the ARP table:
Console> (enable) clear arp all
(1) indicates the number of entries cleared.
This example shows how to remove all ARP entries of a specific type:
Console> (enable) clear arp dynamic
Dynamic ARP entries cleared. (3)
Related Commands
set arp
show alias