This command creates or edits the boot option file (BOF) for the specified local storage device.
A BOF file specifies where the system searches for runtime images, configuration files, and other operational parameters during system initialization.
BOF parameters can be modified. Changes can be saved to a specified compact flash. The BOF must be located in the root directory of either an internal or external compact flash local to the system and have the mandatory filename of bof.cfg.
When modifications are made to in-memory parameters that are currently in use or operating, the changes are effective immediately. For example, if the IP address of the CSM Management port is changed, the change takes place immediately.
Only one entry of the BOF configuration command statement can be saved once the statement has been found to be syntactically correct.
When opening an existing BOF that is not the BOF used in the most recent boot, a message is issued notifying the user that the parameters will not affect the operation of the node.
The pound (#) sign is used at the beginning of the File syntax. Using the command file type bof.cfg displays the # character as a comment delimiter at the top of the raw file. No default boot option file exists. The router boots with the factory default boot sequence and options.
n/a
This command uses the boot option parameters currently in memory and writes them from the boot option file to the specified compact flash.
The BOF must be located in the directory of the compact flash drives local to the system and have the mandatory filename of bof.cfg.
The BOF is saved to the compact flash drive associated with the active CSM. The slot name is not case-sensitive. You can use uppercase or lowercase “A” or “B”.
Command usage:
To save the BOF to a compact flash drive associated with the standby CSM (for example, the redundant (standby) CSM is installed in slot B), specify the -A or -B option.
Command usage:
The slot name is not case-sensitive. You can use uppercase or lowercase “A” or “B”.
The bof save and show bof commands allow you to save to or read from the compact flash of the standby CSM. Use the show card command to determine the active and standby CSM (A or B).
saves must be explicitly executed; the BOF is saved to cf3: if a location is not specified
This command configures a pause, in seconds, at the start of the boot process, which allows system initialization to be interrupted at the console.
When system initialization is interrupted, the operator is allowed to manually override the parameters defined in the boot option file (BOF).
Only one wait command can be defined in the BOF.
3
This command configures the console port baud rate.
When this command is issued while editing the BOF file used for the most recent boot, both the BOF file and the active configuration are changed immediately.
The no form of the command reverts to the default value.
115200 — console configured for 115 200 b/s operation
This command specifies whether the system will preserve system indexes when a save command is executed. During a subsequent boot, the index file is read along with the configuration file. As a result, a number of system indexes are preserved between reboots, including the interface index, LSP IDs, and path IDs. This reduces resynchronizations of the Network Management System (NMS) with the affected network element.
In the event that persist is on and the reboot with the appropriate index file fails, SNMP is operationally shut down to prevent the management system from accessing and possibly synchronizing with a partially booted or incomplete network element. To enable SNMP access, enter the config>system>snmp>no shutdown command.
If persist is enabled and the admin save <url> command is executed with an FTP path used as the <url> parameter, two FTP sessions simultaneously open to the FTP server. The FTP server must be configured to allow multiple sessions from the same login; otherwise, the configuration and index files will not be saved correctly.
Note:
|
off
This command specifies the name and location of the primary configuration file.
The system attempts to use the configuration specified in primary-config. If the specified file cannot be located, the system automatically attempts to obtain the configuration from the location specified in secondary-config and then in tertiary-config.
If an error in the configuration file is encountered, the boot process aborts.
The no form of the command removes the primary-config configuration.
n/a
This command specifies the primary directory location for runtime image file loading.
The system attempts to load all runtime image files configured in the primary-image first. If this fails, the system attempts to load the runtime images from the location configured in the secondary-image. If the secondary image load fails, the tertiary image specified in tertiary-image is used.
The no form of the command removes the primary-image configuration.
n/a
This command specifies the name and location of the secondary configuration file.
The system attempts to use the configuration as specified in secondary-config if the primary config cannot be located. If the secondary-config file cannot be located, the system attempts to obtain the configuration from the location specified in the tertiary-config.
If an error in the configuration file is encountered, the boot process aborts.
The no form of the command removes the secondary-config configuration.
n/a
This command specifies the secondary directory location for runtime image file loading.
The system attempts to load all runtime image files configured in the primary-image first. If this fails, the system attempts to load the runtime images from the location configured in the secondary-image. If the secondary image load fails, the tertiary image specified in tertiary-image is used.
The no form of the command removes the secondary-image configuration.
n/a
This command specifies the name and location of the tertiary configuration file.
The system attempts to use the configuration specified in tertiary-config if both the primary and secondary config files cannot be located. If this file cannot be located, the system boots with the factory default configuration.
If an error in the configuration file is encountered, the boot process aborts.
The no form of the command removes the tertiary-config configuration.
n/a
This command specifies the tertiary directory location for runtime image file loading.
The system attempts to load all runtime image files configured in the primary-image first. If this fails, the system attempts to load the runtime images from the location configured in the secondary-image. If the secondary image load fails, the tertiary image specified in tertiary-image is used.
All runtime image files (both.tim) must be located in the same directory.
The no form of the command removes the tertiary-image configuration.
n/a
This command assigns an IP address to the CSM Management port in the running configuration and the Boot Option File (BOF) on the active CSM, or the CSM Management port on the standby CSM for systems using redundant CSMs. Deleting a BOF address entry is not allowed from a Telnet session.
The BOF must have an IPv4 address if an IPv6 address is configured in the same BOF for use on the CSM Management port.
The no form of the command deletes the IP address from the CSM Management port.
no address — there are no IP addresses assigned to CSM Management ports
This command enables speed and duplex autonegotiation on the CSM Management port in the running configuration and the Boot Option File (BOF).
When autonegotiation is enabled, the link attempts to automatically negotiate the link speed and duplex parameters. If autonegotiation is enabled, then the configured duplex and speed parameters are ignored.
The no form of the command disables the autonegotiate feature on this port.
autonegotiate
This command enables ADP as part of the boot-up sequence by adding an ADP keyword to the BOF file. ADP will run the next time the chassis is rebooted. You can also use this command to specify an optional unique identifier to use in the automatic discovery broadcast. You can use any unique identifier of up to 16 characters. If you specify mac, the chassis MAC address is used. If you run ADP with 802.1q encapsulation, you can specify the VLAN ID.
This command configures the duplex mode of the CSM Management port when autonegotiation is disabled in the running configuration and the Boot Option File (BOF).
This configuration command allows for the configuration of the duplex mode of the CSM Management port. If the port is configured to autonegotiate, this parameter will be ignored.
duplex full — full duplex operation
This command configures the speed for the CSM Management port when autonegotiation is disabled in the running configuration and the Boot Option File (BOF).
If the port is configured to autonegotiate, this parameter is ignored.
speed 100 — 100 Mb/s operation
This command creates a static route entry for the CSM Management port in the running configuration and the Boot Option File (BOF).
This command allows manual configuration of static routing table entries. These static routes are only used by traffic generated by the CSM Management port. To reduce configuration, manual address aggregation should be applied where possible.
A static default route (0.0.0.0/0) cannot be configured on the CSM Management port. A maximum of 10 IPv4 and 10 IPv6 static routes can be configured on the CSM Management port.
Each unique next hop of active static routes configured on both the active and standby CSM Management ports are tested every 60 seconds. If the next hop is unreachable, an alarm is raised. The alarm condition is cleared when the preferred static route becomes reachable.
The no form of the command deletes the static route.
n/a
This command configures the domain name used when performing DNS address resolution.
This is a required parameter if DNS address resolution is required. Only a single domain name can be configured. If multiple domain statements are configured, the last one encountered is used.
The no form of the command removes the domain name from the configuration.
no dns-domain — no DNS domain name is configured
This command configures the primary DNS server used for DNS name resolution.
DNS name resolution can be used when executing ping, traceroute, and service-ping, and also when defining file URLs. DNS name resolution is not supported when DNS names are embedded in configuration files.
The no form of the command removes the primary DNS server from the configuration.
no primary-dns — no primary DNS server is configured
This command configures the secondary DNS server for DNS name resolution.
The secondary DNS server is used only if the primary DNS server does not respond.
DNS name resolution can be used when executing ping, traceroute, and service-ping, and also when defining file URLs. DNS name resolution is not supported when DNS names are embedded in configuration files.
The no form of the command removes the secondary DNS server from the configuration.
no secondary-dns — no secondary DNS server is configured
This command configures the tertiary DNS server for DNS name resolution.
The tertiary DNS server is used only if the primary DNS server and the secondary DNS server do not respond.
DNS name resolution can be used when executing ping, traceroute, and service-ping, and also when defining file URLs. DNS name resolution is not supported when DNS names are embedded in configuration files.
The no form of the command removes the tertiary DNS server from the configuration.
no tertiary-dns — no tertiary DNS server is configured
This command displays the Boot Option File (BOF) executed on the last system boot or on the specified device.
If no device is specified, the BOF used in the last system boot displays. If the BOF has been modified since the system boot, a message displays.
The following output is an example of BOF information, and Table 20 describes the fields.
Label | Description |
primary-image | The primary location of the directory that contains the runtime images of the CSM card |
primary-config | The primary location of the file that contains the configuration |
primary-dns | The primary DNS server for resolution of host names to IP addresses |
secondary-image | The secondary location of the directory that contains the runtime images of the CSM card |
secondary-config | The secondary location of the file that contains the configuration |
secondary-dns | The secondary DNS server for resolution of host names to IP addresses |
tertiary-image | The tertiary location of the directory that contains the runtime images of the CSM card |
tertiary-config | The tertiary location of the file that contains the configuration |
address | The IP address and mask associated with the CSM Management port or the secondary CSM Management port |
tertiary-dns | The tertiary DNS server for resolution of host names to IP addresses |
persist | on — persistent indexes between system reboots is enabled |
off — persistent indexes between system reboots is disabled | |
wait | The time configured for the boot to pause while waiting for console input |
autonegotiate | No autonegotiate — autonegotiate not enabled |
Autonegotiate — autonegotiate is enabled | |
duplex | half — specifies that the system uses half duplex |
full — specifies that the system uses full duplex | |
speed | The speed of the CSM Ethernet interface |
console speed | The console port baud rate |
dns domain | The domain name used when performing DNS address resolution |
This command displays boot messages generated during the last system boot.
The following output is an example of boot messages.