Table Of Contents
2download vmps
Use the download vmps command to download VMPS database information from a TFTP server.
download vmps mod [rcp]
Syntax Description
mod
Number of the module to receive downloaded image.
rcp
(Optional) Keyword that specifies to copy an image from a specified host to Flash using rcp.
Defaults
There is no default setting for this command.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
This command is supported by the Catalyst 5000 family switches and the Catalyst 2926G series switches.
Before you can execute the download vmps command successfully, you must use the set vmps downloadserver 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.
Examples
This example shows the download vmps command and typical system responses:
Console> (enable) download vmpsRe-initialization of Vlan Membership Policy Server with the downloadedconfiguration file is in progress.6/14/1998,17:37:29:VMPS-2:PARSER: 82 lines parsed, Errors 0Related Commands
enable
Use the enable command to activate privileged mode. In privileged mode, additional commands are available, and certain commands display additional information.
enable
Syntax Description
This command has no arguments or keywords.
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
The
(enable)in the prompt indicates that privileged commands can be entered.Examples
This example shows how to enter privileged mode:
Console> enableEnter password:Console> (enable)Related Commands
format
Use the format command to format a Flash device. Flash PC cards must be formatted before it can be used.
format [spare spare_num] [m/]device1: [[device2:][monlib_filename]]
Syntax Description
Defaults
The default number of spare sectors is 0.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
This command is not supported on the Catalyst 5000 family Supervisor Engine II, II G, and III G.
You can reserve up to 16 spare sectors for use when other sectors fail. If you do not reserve spare sectors and later some sectors on the device fail, you will have to reformat the entire Flash device, which will erase all existing data.
The monlib file is the ROM monitor library used by the ROM monitor to access files in the Flash file system. The file is also compiled into the system image. In the command syntax, device1: is the device to format and device2: contains the monlib file to use.
When you omit the [device2:][monlib_filename]] argument, the system formats device1: using the monlib that is bundled with the system software.
When you omit device2: from the [[device2:][monlib_filename]] argument, the system formats device1: using the named monlib file from the default Flash device (specified by the cd command).
When you omit monlib_filename from the [[device2:][monlib_filename]] argument, the system formats device1: using the monlib file from device2:. When you specify the whole [[device2:][monlib_filename]] argument, the system formats device1: using the specified monlib file from the specified device.
You can also specify device1:monlib_filename as the device and filename to be used, as follows:
format device1: [device1: [monlib_filename]]
If monlib_filename is omitted, the system formats device1: using the built-in monlib file on the device.
Note
When the system cannot find a monlib file, the system terminates the formatting process.
Examples
This example shows how to format a Flash device (Flash PC card in slot1):
Console> (enable) format slot1:All sectors will be erased, proceed (y/n) [n]?yEnter volume id (up to 31 characters):Formatting sector 1Format device slot1 completed.Console> (enable)history—ROM monitor
Use the history command to display the command history (the last 16 commands executed in the ROM monitor environment).
history
Syntax Description
This command has no arguments or keywords.
Defaults
This command has no defaults.
Command Types
ROM monitor command.
Command Modes
Normal.
Usage Guidelines
This command is aliased to h by the ROM monitor for convenience.
Examples
This example shows how to use the history command:
rommon 13 > history1 help2 break -s 0x200903 break -s 100904 break -s 0xa00010005 cont6 help7 dev8 dir9 dir bootflash:10 dis11 dis 0xa000100012 dis 0xbe00000013 history=============================================================================history—switch
Use the history command to show the contents of the command history buffer.
history
Syntax Description
This command has no arguments or keywords.
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
The history buffer size is fixed at 20 commands. Refer to the "Command-Line Interfaces" chapter for detailed information about the command history feature.
Examples
This example shows how to display the command history and execute the second entry in the command history buffer:
Console> history1 help2 historyConsole> !2history1 help2 history3 historyConsole>

