
module all
Enters module-all configuration command mode.
Syntax: module all
Description: The commands entered within module-all command mode affect all modules installed in the Avici router.
The Avici router supports a variety of routing modules in each bay. Modules support Packet Over SONET/SDH traffic (OC-nnc modules) or Gigabit Ethernet traffic (gbe modules).
Each module contains two flash banks: 1 and 2. Each flash bank can be loaded with a separate boot image.
The primary function available in Module-all configuration mode is the ability to configure or delete the module that resides in the slot.
Use the module all bay/slot type command specify all modules, change the command mode to Module-all configuration, and access the various commands to configure all modules.
Use the no module all bay/slot command to delete the module configuration information for all modules.
Once you are in Module-all configuration command mode, you can access the following commands:
Use the auto-upgrade command to enable/disable automatic upgrade for the module.
Use the boot [1 | 2] command to set the flash bank from which to boot the modules at the next startup.
Use the boot file [1 | 2] command to burn the specified file into the specified flash memory location for all modules.
Package files are a convenient method of bundling image files for module ROM, FPGAs, operational, and POST images. Package files can be used to upgrade all the images on a module using a single command. Package files have the file name extension of ".PKG".
Use the boot package-file [1 | 2] command to burn the contents of the specified package file into the specified flash bank.
You can configure the boot flags for the module to control the module's behavior during startup.
Use the flags command to set the boot flags to be used when the module is restarted. To add new boot flags to the existing boot flag, perform a logical "OR" on the existing boot flag and the new setting.
You can configure the type of messages regarding the modules that are forwarded to the logging system.
Use the logging-max-history max_files and the logging-filter system level commands to configure logging for the specified module.
Use the shutdown command to disable all modules. The configuration information associated with the modules in the running configuration file is not removed.
Use the no shutdown command to enable the modules.
The following table summarizes the commands available in Module configuration command mode:
Table 3-5. Commands in Module-all Configuration Command Mode Command Description Enable Auto Upgrade of images for all the modules
boot [flags flag {1|2} | [file | package-file]]
Modify boot parameters for all modules.
exit
Exit from module-all mode
fabric
Configure fabric functions.
Sets the FPGA image to be used during the next module boot/reboot.
Download an FPGA image from a file or package file to the modules.
help
Description of the interactive help system
logging-filter system level
Set input filters for a specific system. Note that critical errors are always generated regardless of filtering. Multiple logging filter statements can be given. Default is to log all levels including and above warning for all systems.
logging-max-history max_files
Set the number of logging files. A number will form the extension to the stored file name and be numbered from 0 to max_file -1. Default is 5. Allowed range is 1 to 100.
post-burn [file | package-file]
Download a POST image from a file or package file to the modules.
rom-burn [file | package-file]
Download a boot ROM image from a file or package file to the modules.
shutdown
Disable all modules
Example 1: In the following example:
- The module-all command specifies all modules and changes the command mode to Module-all configuration
- The rom-burn command burns the image file "bootcpm.rom" to all modules:
router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
router(config)#module-all
router(config-module-all)#rom-burn bootcpm.rom
Burning boot image bootcpm.rom into location 0 for modules:
[1,18] [1,19]
Done (bay 1, slot 18)
Done (bay 1, slot 19)
Burn Results: 2 succeeded 0 failed
router(config-module-all)#exit
router(config)#
Example 2: In the following example:
- The dir command displays the name of a package file R0401020.PKG.
- The module-all command specifies all modules, and changes the command mode to Module-all configuration.
- The boot package-file 1 command extracts the image from the specified package file and burns it into position 1 in every modules' flash bank:
router#dir
size date time name
-------- ------ ------ --------
512 DEC-09-1908 22:59:24 TRASH <DIR>
.
.
.
8653312 AUG-24-2001 11:29:32 R0401020.PKG
.
.
.
router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
router(config)#module all
router(config-module-all)#boot R0401020.PKG 1
Burning operational image B:\TMP\rt412.cmp into location 1 for modules:
Reading image............Done
Sending image............Done
Waiting for responses:
Burn Results: 10 succeeded 0 failed
Related Commands: dir
package-file
post-burn
show fpga module
show modules
show package-file
module
Copyright © 2005
Avici Systems Inc.
Avici® and TSR®
is a registered trademark of Avici Systems Inc.
IPriori, Composite Links, SSR, QSR, and NSR® are
trademarks of Avici Systems Inc.
Source
File Name: sys_mgmt.fm
HTML File Name: sys_mgmt27.html
Last Updated: 02/25/05 at 14:26:49