|
|
2
Use the reload command to force a Gigabit EtherChannel switching module (WS-X5410) to accept a download.
reload mod_num
Syntax Description
mod_num Number of the module.
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
The reload command is only supported by the Gigabit EtherChannel switching module (WS-X5410). For additional information on this command, refer to the Catalyst 5000 Family Gigabit Ethernet Modules Installation and Configuration Note.
Examples
This example shows how to reload the Gigabit EtherChannel switching module:
Console (enable) reload 3
Related Commands
Use the repeat ROM monitor command to repeat a command.
repeat [num | string]
Syntax Description
num (Optional) Number of the command (from the command history buffer list). string (Optional) String that uniquely matches a command in the command history buffer list.
Defaults
If no argument is specified, the last command is repeated.
Command Types
ROM monitor command.
Command Modes
Normal.
Usage Guidelines
The optional num and string arguments specify which command in the command history buffer to repeat.
If you specify a string to match, the most recent command in the buffer to begin with the specified string is executed again.
If the string contains white space, you must use quotation marks.
This command is aliased to "r" by the ROM monitor for convenience.
Examples
These examples show how to use the repeat command. You use the history command to display the list of previously entered commands:
rommon 22 > history
8 dir
9 dir bootflash:
10 dis
11 dis 0xa0001000
12 dis 0xbe000000
13 history
14 meminfo
15 meminfo -l
16 meminfo
17 meminfo -l
18 meminfo
19 meminfo
20 meminfo -l
21 meminfo -l
22 history
rommon 23 > repeat dir
dir bootflash:
File size Checksum File name
1973032 bytes (0x1e1b28) 0xdadf5e24 llue
rommon 24 > repeat
dir bootflash:
File size Checksum File name
1973032 bytes (0x1e1b28) 0xdadf5e24 llue
rommon 25 > repeat 15
meminfo -l
Main memory size: 16 MB.
Packet memory size: 0 MB
Main memory size: 0x1000000
Available main memory starts at 0xa000e000, size 0xff2000
NVRAM size: 0x20000
Parity Map for the DRAM Banks
Socket 0 in Bank 0 Has No Parity
Socket 1 in Bank 0 Has No Parity
Socket 0 in Bank 1 Has No Parity
Socket 1 in Bank 1 Has No Parity
==========================================================================
Use the reset ROM monitor command to perform a soft reset of the switch.
reset {mod_num | system}
Syntax Description
mod_num Number of the module to be reset. system Keyword that specifies to reset the entire switch.
Defaults
This command has no default setting.
Command Types
ROM monitor command.
Command Modes
Normal.
Examples
This example shows how to use the reset command:
rommon 26 > reset System Bootstrap, Version 3.1(1.69) Copyright (c) 1994-1997 by cisco Systems, Inc. Supervisor III processor with 16384 Kbytes of main memory rommon 1 > ===========================================================================
Use the reset command to restart the system or an individual module and to schedule a system reset.
reset [mod_num | system | mindown]
Syntax Description
mod_num (Optional) Number of the module to be restarted. system (Optional) Keyword that specifies to reset the system. mindown (Optional) Keyword that specifies to perform a reset as part of a minimal downtime software upgrade in a system with redundant supervisor engine modules. at Keyword that specifies to schedule a system reset at a specific future time. hh:mm Variable specifying the hour and minute of the scheduled reset. mm/dd (Optional) Month and data of scheduled reset. in Keyword that specifies to schedule a system reset in a specific time. hh: (Optional) Variable specifying how many hours into the future to reset the switch. mm Variable specifying how many minutes into the future to reset the switch. reason (Optional) Variable indicating the reason for the reset.
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
If you do not specify a module number (either a switching module or the active supervisor engine module), the command resets the entire system.
You can use the reset mod_num command to switch to the standby supervisor engine, where mod_num is the module number of the active supervisor.
In software release 5.2 and later, you can use the reset mindown command to reset the switch as part of a minimal downtime software upgrade in a system with redundant supervisor engine modules. For complete information on performing a minimal downtime software upgrade, refer to the Software Configuration Guide for your switch.
![]() |
Caution If you make configuration changes after entering the reset mindown command but before the active supervisor engine resets, the changes are not saved. Input from the CLI is still accepted by the switch while the standby supervisor engine is reset, but any changes you make to the configuration between the time when you enter the reset mindown command and the time when the supervisor engine comes online running the new software image are not saved or synchronized with the standby supervisor engine. |
If you reset an intelligent module (such as the Catalyst 5000 family RSM or RSFC, or an ATM module), both the module hardware and software are completely reset.
Examples
This example shows how to reset the supervisor engine module on a Catalyst 5500 switch with redundant supervisors:
Console> (enable) reset 1 This command will force a switch-over to the standby supervisor module and disconnect your telnet session. Do you want to continue (y/n) [n]? y Connection closed by foreign host. host%
This example shows how to reset module 4:
Console> (enable) reset 4 This command will reset module 4 and may disconnect your telnet session. Do you want to continue (y/n) [n]? y Resetting module 4... Console> (enable)
This example shows how to schedule a system reset for a specific future time:
cat> (enable)reset at 20:00Reset scheduled at 20:00:00, Wed Aug 18 2000.Proceed with scheduled reset? (y/n) [n]?yReset scheduled for 20:00:00, Wed Aug 18 2000 (in 0 day 5 hours 40 minutes).cat> (enable)
This example shows how to schedule a reset for a specific future time and include a reason for the reset:
cat> (enable)reset at 23:00 8/18 Software upgrade to 5.3(1).Reset scheduled at 23:00:00, Wed Aug 18 2000.Reset reason: Software upgrade to 5.3(1).Proceed with scheduled reset? (y/n) [n]?yReset scheduled for 23:00:00, Wed Aug 18 2000 (in 0 day 8 hours 39 minutes).cat> (enable)
This example shows how to schedule a reset with minimum down time.
cat> (enable)reset mindown at 23:00 8/18 Software upgrade to 5.3(1).Reset scheduled at 23:00:00, Wed Aug 18 2000.Reset reason: Software upgrade to 5.3(1).Proceed with scheduled reset? (y/n) [n]?yReset mindown scheduled for 23:00:00, Wed Aug 18 2000 (in 0 day 8 hours 39 minutes).cat> (enable)
This example shows how to schedule a reset after a specified time:
cat> (enable)reset in 5:20 Configuration updateReset scheduled in 5 hours 20 minutes.Reset reason: Configuration updateProceed with scheduled reset? (y/n) [n]?yReset scheduled for 19:56:01, Wed Aug 18 2000 (in 5 hours 20 minutes).Reset reason: Configuration updatecat> (enable)
Use the session command to access the CLI of an intelligent module such as a Catalyst 5000 family RSM, RSFC, or ATM module.
session mod_num
Syntax Description
mod_num Number of the ATM or RSM module.
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
This command is supported by the Catalyst 5000 family switches.
After you enter this command, the system responds with the Enter Password: prompt, if a password is configured on the module.
To end the session with the intelligent module, enter the quit command.
Examples
This example shows how to open a session with an ATM module (module 4):
Console> session 4 Trying ATM-4... Connected to ATM-4. Escape character is `^]'. ATM>
Use the set command to display all of the ROM monitor command variable names with their values.
setSyntax Description
This command has no arguments or keywords.
Defaults
This command has no default setting.
Command Types
ROM monitor command.
Command Modes
Normal.
Examples
This example shows how to use the set command to display all of the monitor variable names with their values:
rommon 2 > set PS1=rommon ! > BOOT= ?=0
Related Commands
Use the set accounting commands command to enable accounting of the command events on the switch.
set accounting commands enable {config | all} {stop-only} tacacs+
Syntax Description
enable Keyword that specifies to enable the specified accounting method for commands. config Keyword that specifies to permit accounting for configuration commands only. all Keyword that specifies to permit accounting for all commands. stop-only Keyword that specifies the accounting method that applies at the conclusion of the command. tacacs+ Keyword that specifies TACACS+ accounting for commands. disable Keyword that specifies to disable accounting for commands.
Defaults
Accounting is disabled by default.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
You must configure the TACACS+ servers before enabling accounting.
Examples
This example shows how to enable accounting for configuration commands when sending records only upon termination of the event, using a TACACS+ server:
Console> (enable) set accounting commands enable config stop-only tacacs+ Accounting set to enable for commands-config events in stop-only mode. Console> (enable)
This example shows how to disable command accounting:
Console> (enable) set accounting commands disable Accounting set to disable for commands-config events. Console> (enable)
Related Commands
set accounting connect
set accounting exec
set accounting suppress
set accounting system
set accounting update
set tacacs server
show accounting
Use the set accounting connect command to enable accounting of outbound connection events on the switch.
set accounting connect enable {start-stop | stop-only} {tacacs+ | radius}
Syntax Description
enable Keyword that specifies to enable the specified accounting method for connection events. start-stop Keyword that specifies the accounting method that applies at the start and stop of the connection event. stop-only Keyword that specifies the accounting method that applies at the conclusion of the connection event. tacacs+ Keyword that specifies TACACS+ accounting for connection events. radius Keyword that specifies RADIUS accounting for connection events. disable Keyword that specifies to disable accounting of connection events.
Defaults
Accounting is disabled by default.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
You must configure the RADIUS or TACACS+ servers and shared keys before enabling accounting.
Examples
This example shows how to enable accounting on Telnet and rlogin sessions when generating records at stop only, using a TACACS+ server:
Console> (enable) set accounting connect enable stop-only tacacs+ Accounting set to enable for connect events in stop-only mode. Console> (enable)
This example shows how to disable accounting:
Console> (enable) set accounting connect disable Accounting set to disable for connect events. Console> (enable)
Related Commands
set accounting commands
set accounting exec
set accounting suppress
set accounting system
set accounting update
set radius key
set tacacs key
set tacacs server
show accounting
Use the set accounting exec command to enable accounting of normal mode sessions on the switch.
set accounting exec enable {start-stop | stop-only} {tacacs+ | radius}
Syntax Description
enable Keyword that specifies to enable the specified accounting method for normal mode events. start-stop Keyword that specifies the accounting method applies at the start and stop of the normal mode event. stop-only Keyword that specifies the accounting method applies at the conclusion of the normal mode event. tacacs+ Keyword that specifies TACACS+ accounting for normal mode events. radius Keyword that specifies RADIUS accounting for normal mode events. disable Keyword that specifies to disable accounting for normal mode events.
Defaults
Accounting is disabled by default.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
You must configure the RADIUS or TACACS+ servers and shared keys before enabling accounting.
Examples
This example shows how to enable accounting of normal login mode events when generating records at start and stop, using a RADIUS server:
Console> (enable) set accounting exec enable start-stop radius Accounting set to enable for exec events in start-stop mode. Console> (enable)
This example shows how to disable accounting of normal login mode events:
Console> (enable) set accounting exec disable Accounting set to disable for exec events in start-stop mode. Console> (enable)
Related Commands
set accounting commands
set accounting connect
set accounting suppress
set accounting system
set accounting update
set radius key
set radius server
set tacacs key
set tacacs server
show accounting
Use the set accounting suppress command to enable or disable suppression of accounting information for a user who has logged in without a username.
set accounting suppress null-username {enable | disable}
Syntax Description
null-username Keyword that specifies unknown users. enable Keyword that specifies to enable suppression for unknown users. disable Keyword that specifies to disable suppression unknown users.
Defaults
Accounting is disabled by default.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
You must configure the TACACS+ servers and shared keys before enabling accounting.
Examples
This example shows how to suppress accounting information for users without a username:
Console> (enable) set accounting suppress null-username enable Accounting will be suppressed for user with no username. Console> (enable)
This example shows how to include accounting-event information of users without usernames:
Console> (enable) set accounting suppress null-username disable Accounting will be not be suppressed for user with no username. Console> (enable)
Related Commands
set accounting commands
set accounting connect
set accounting exec
set accounting system
set accounting update
set tacacs key
set tacacs server
show accounting
Use the set accounting system command to enable accounting of system events on the switch.
set accounting system enable {start-stop | stop-only} {tacacs+ | radius}
Syntax Description
enable Keyword that specifies to enable the specified accounting method for system events. start-stop Keyword that specifies the accounting method applies at the start and stop of the system event. stop-only Keyword that specifies the accounting method applies at the conclusion of the system event. tacacs+ Keyword that specifies TACACS+ accounting for system events. radius Keyword that specifies RADIUS accounting for system events. disable Keyword that specifies to disable accounting for system events.
Defaults
Accounting is disabled by default.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
You must configure the RADIUS or TACACS+ servers and shared keys before enabling accounting.
Examples
This example shows how to enable accounting for system events when sending records only upon termination of the event, using a RADIUS server:
Console> (enable) set accounting system enable stop-only radius Accounting set to enable for system events in start-stop mode. Console> (enable)
This example shows how to disable accounting for system events:
Console> (enable) set accounting system disable Accounting set to disable for system events. Console> (enable)
Related Commands
set accounting commands
set accounting connect
set accounting exec
set accounting suppress
set accounting update
set radius key
set radius server
set tacacs key
set tacacs server
show accounting
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Sun Jun 11 11:21:56 PDT 2000
Copyright 1989 - 2000©Cisco Systems Inc.