bof commands
bof
— auto-boot
— dhcp
— client-id (keyword | hex-string | string)
— inband
— disabled boolean
— null-encapsulation boolean
— vlan number
— vlan-discovery boolean
— include-user-class boolean
— ipv4 boolean
— ipv6 boolean
— management-port boolean
— ospf
— mtu number
— neid string
— neip-ipv4 string
— neip-ipv6 string
— vendor-id number
— port-mtu number
— timeout number
— auto-configure
— ipv4
— dhcp
— client-id (hex-string | string)
— include-user-class boolean
— timeout number
— ipv6
— dhcp
— client-id (hex-string | string)
— client-type keyword
— include-user-class boolean
— timeout number
— configuration
— encrypt boolean
— encryption-key string
— password string
— primary-location string
— secondary-location string
— tertiary-location string
— console
— speed number
— wait-time number
— dns
— domain string
— primary-server (ipv4-address-no-zone | ipv6-address-no-zone)
— secondary-server (ipv4-address-no-zone | ipv6-address-no-zone)
— tertiary-server (ipv4-address-no-zone | ipv6-address-no-zone)
— image
— primary-location string
— secondary-location string
— tertiary-location string
— li
— local-save boolean
— separate boolean
— license
— primary-location string
— port string
— autonegotiate keyword
— duplex keyword
— speed number
— router string
— interface string
— cpm keyword
— ipv4
— ip-address string
— prefix-length number
— ipv6
— ipv6-address string
— prefix-length number
— ip-mtu number
— static-routes
— route (ipv4-prefix | ipv6-prefix)
— next-hop (ipv4-address-no-zone | ipv6-address-no-zone)
— system
— base-mac-address string
— fips-140-2 boolean
— persistent-indices boolean
— profile keyword
bof command descriptions
bof
Synopsis | Configure system boot options | |
Context | bof | |
Tree | bof | |
Description | 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 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. No default boot option file exists. The router boots with the factory default boot sequence and options. | |
Introduced | 20.10.R1 | |
Platforms | All |
auto-boot
dhcp
client-id (keyword | hex-string | string)
Note: The new value of this element takes effect when the router boots. | ||
Synopsis | DHCP client ID | |
Context | bof auto-boot dhcp client-id (keyword | hex-string | string) | |
Tree | client-id | |
String Length | 3 to 118 | |
Options | ||
Introduced | 21.2.R1 | |
Platforms | 7450 ESS-7, 7750 SR-1, 7750 SR-7, 7750 SR-1e, 7750 SR-2e, 7750 SR-s |
inband
disabled boolean
Note: The new value of this element takes effect when the router boots. | ||
Synopsis | Do not use in-band ports | |
Context | bof auto-boot dhcp inband disabled boolean | |
Tree | disabled | |
Default | true | |
Notes | The following elements are part of a choice: disabled, null-encapsulation, vlan, or vlan-discovery. | |
Introduced | 21.2.R1 | |
Platforms | 7450 ESS-7, 7750 SR-1, 7750 SR-7, 7750 SR-1e, 7750 SR-2e, 7750 SR-s |
null-encapsulation boolean
Note: The new value of this element takes effect when the router boots. | ||
Synopsis | Use null encapsulation | |
Context | bof auto-boot dhcp inband null-encapsulation boolean | |
Tree | null-encapsulation | |
Default | true | |
Notes | The following elements are part of a choice: disabled, null-encapsulation, vlan, or vlan-discovery. | |
Introduced | 21.2.R1 | |
Platforms | 7450 ESS-7, 7750 SR-1, 7750 SR-7, 7750 SR-1e, 7750 SR-2e, 7750 SR-s |
vlan number
Note: The new value of this element takes effect when the router boots. | ||
Synopsis | In-band VLAN ID | |
Context | bof auto-boot dhcp inband vlan number | |
Tree | vlan | |
Range | 1 to 4094 | |
Notes | The following elements are part of a choice: disabled, null-encapsulation, vlan, or vlan-discovery. | |
Introduced | 21.2.R1 | |
Platforms | 7450 ESS-7, 7750 SR-1, 7750 SR-7, 7750 SR-1e, 7750 SR-2e, 7750 SR-s |
vlan-discovery boolean
Note: The new value of this element takes effect when the router boots. | ||
Synopsis | Use VLAN discovery | |
Context | bof auto-boot dhcp inband vlan-discovery boolean | |
Tree | vlan-discovery | |
Default | true | |
Notes | The following elements are part of a choice: disabled, null-encapsulation, vlan, or vlan-discovery. | |
Introduced | 21.2.R1 | |
Platforms | 7450 ESS-7, 7750 SR-1, 7750 SR-7, 7750 SR-1e, 7750 SR-2e, 7750 SR-s |
include-user-class boolean
Note: The new value of this element takes effect when the router boots. | ||
Synopsis | Include user class in auto boot provisioning | |
Context | bof auto-boot dhcp include-user-class boolean | |
Tree | include-user-class | |
Default | true | |
Introduced | 21.2.R1 | |
Platforms | 7450 ESS-7, 7750 SR-1, 7750 SR-7, 7750 SR-1e, 7750 SR-2e, 7750 SR-s |
ipv4 boolean
ipv6 boolean
management-port boolean
Note: The new value of this element takes effect when the router boots. | ||
Synopsis | Use auto boot on the management port | |
Context | bof auto-boot dhcp management-port boolean | |
Tree | management-port | |
Default | true | |
Introduced | 21.2.R1 | |
Platforms | 7450 ESS-7, 7750 SR-1, 7750 SR-7, 7750 SR-1e, 7750 SR-2e, 7750 SR-s |
ospf
mtu number
neid string
neip-ipv4 string
neip-ipv6 string
vendor-id number
port-mtu number
timeout number
Note: The new value of this element takes effect when the router boots. | ||
Synopsis | ZTP timeout | |
Context | bof auto-boot timeout number | |
Tree | timeout | |
Description | This command configures the Zero Touch Provisioning timeout, which is the total time allowed for the ZTP process to execute successfully. If the ZTP process is unsuccessful (in the case of auto-boot using OSPF, if no OSPF adjacency is found), the node is first rebooted, then the ZTP process is retried. | |
Range | 30 to 1440 | |
Units | minutes | |
Introduced | 22.7.R1 | |
Platforms |
7450 ESS-7, 7750 SR-1, 7750 SR-7, 7750 SR-1e, 7750 SR-2e, 7750 SR-s |
auto-configure
Synopsis | Enter the auto-configure context | |
Context | bof auto-configure | |
Tree | auto-configure | |
Introduced | 20.10.R1 | |
Platforms | 7450 ESS-7, 7750 SR-1, 7750 SR-7, 7750 SR-1e, 7750 SR-2e, 7750 SR-s |
ipv4
Synopsis | Enter the ipv4 context | |
Context | bof auto-configure ipv4 | |
Tree | ipv4 | |
Introduced | 20.10.R1 | |
Platforms | 7450 ESS-7, 7750 SR-1, 7750 SR-7, 7750 SR-1e, 7750 SR-2e, 7750 SR-s |
dhcp
Note: The new value of this element takes effect when the router boots. | ||
Synopsis | Enable the dhcp context | |
Context | bof auto-configure ipv4 dhcp | |
Tree | dhcp | |
Introduced | 20.10.R1 | |
Platforms | 7450 ESS-7, 7750 SR-1, 7750 SR-7, 7750 SR-1e, 7750 SR-2e, 7750 SR-s |
client-id (hex-string | string)
WARNING: Modifying this element recreates the parent element automatically for the new value to take effect. | ||
Note: The new value of this element takes effect when the router boots. | ||
Synopsis | DHCP client ID | |
Context | bof auto-configure ipv4 dhcp client-id (hex-string | string) | |
Tree | client-id | |
String Length | 3 to 256 | |
Introduced | 20.10.R1 | |
Platforms | 7450 ESS-7, 7750 SR-1, 7750 SR-7, 7750 SR-1e, 7750 SR-2e, 7750 SR-s |
include-user-class boolean
WARNING: Modifying this element recreates the parent element automatically for the new value to take effect. | ||
Note: The new value of this element takes effect when the router boots. | ||
Synopsis | Include user class information | |
Context | bof auto-configure ipv4 dhcp include-user-class boolean | |
Tree | include-user-class | |
Introduced | 20.10.R1 | |
Platforms | 7450 ESS-7, 7750 SR-1, 7750 SR-7, 7750 SR-1e, 7750 SR-2e, 7750 SR-s |
timeout number
WARNING: Modifying this element recreates the parent element automatically for the new value to take effect. | ||
Note: The new value of this element takes effect when the router boots. | ||
Synopsis | DHCP timeout | |
Context | bof auto-configure ipv4 dhcp timeout number | |
Tree | timeout | |
Range | 1 to 65535 | |
Default | 30 | |
Introduced | 20.10.R1 | |
Platforms |
7450 ESS-7, 7750 SR-1, 7750 SR-7, 7750 SR-1e, 7750 SR-2e, 7750 SR-s |
ipv6
Synopsis | Enter the ipv6 context | |
Context | bof auto-configure ipv6 | |
Tree | ipv6 | |
Introduced | 20.10.R1 | |
Platforms | 7450 ESS-7, 7750 SR-1, 7750 SR-7, 7750 SR-1e, 7750 SR-2e, 7750 SR-s |
dhcp
Note: The new value of this element takes effect when the router boots. | ||
Synopsis | Enable the dhcp context | |
Context | bof auto-configure ipv6 dhcp | |
Tree | dhcp | |
Introduced | 20.10.R1 | |
Platforms | 7450 ESS-7, 7750 SR-1, 7750 SR-7, 7750 SR-1e, 7750 SR-2e, 7750 SR-s |
client-id (hex-string | string)
WARNING: Modifying this element recreates the parent element automatically for the new value to take effect. | ||
Note: The new value of this element takes effect when the router boots. | ||
Synopsis | DHCP client ID | |
Context | bof auto-configure ipv6 dhcp client-id (hex-string | string) | |
Tree | client-id | |
String Length | 3 to 250 | |
Introduced | 20.10.R1 | |
Platforms | 7450 ESS-7, 7750 SR-1, 7750 SR-7, 7750 SR-1e, 7750 SR-2e, 7750 SR-s |
client-type keyword
WARNING: Modifying this element recreates the parent element automatically for the new value to take effect. | ||
Note: The new value of this element takes effect when the router boots. | ||
Synopsis | DHCP client type | |
Context | bof auto-configure ipv6 dhcp client-type keyword | |
Tree | client-type | |
Options | ||
Introduced | 20.10.R1 | |
Platforms | 7450 ESS-7, 7750 SR-1, 7750 SR-7, 7750 SR-1e, 7750 SR-2e, 7750 SR-s |
include-user-class boolean
WARNING: Modifying this element recreates the parent element automatically for the new value to take effect. | ||
Note: The new value of this element takes effect when the router boots. | ||
Synopsis | Include user class information | |
Context | bof auto-configure ipv6 dhcp include-user-class boolean | |
Tree | include-user-class | |
Introduced | 20.10.R1 | |
Platforms | 7450 ESS-7, 7750 SR-1, 7750 SR-7, 7750 SR-1e, 7750 SR-2e, 7750 SR-s |
timeout number
WARNING: Modifying this element recreates the parent element automatically for the new value to take effect. | ||
Note: The new value of this element takes effect when the router boots. | ||
Synopsis | DHCP timeout | |
Context | bof auto-configure ipv6 dhcp timeout number | |
Tree | timeout | |
Range | 1 to 65535 | |
Default | 30 | |
Introduced | 20.10.R1 | |
Platforms |
7450 ESS-7, 7750 SR-1, 7750 SR-7, 7750 SR-1e, 7750 SR-2e, 7750 SR-s |
configuration
Synopsis | Enter the configuration context | |
Context | bof configuration | |
Tree | configuration | |
Introduced | 20.10.R1 | |
Platforms | All |
encrypt boolean
Note: The new value of this element takes effect when the candidate is committed. | ||
Synopsis | Enable encryption of BOF configuration files | |
Context | bof configuration encrypt boolean | |
Tree | encrypt | |
Description | When configured to true, this command enables encryption of the BOF using AES256 and SHA256. When the BOF is encrypted on the compact flash, it is still reachable using the BOF interactive menu during node startup, and fields can be modified using the BOF interactive menu. | |
Default | false | |
Introduced | 21.7.R1 | |
Platforms | 7450 ESS, 7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, VSR |
encryption-key string
Note: The new value of this element takes effect when the candidate is committed. | ||
Synopsis | Secret key for encryption of configuration files | |
Context | bof configuration encryption-key string | |
Tree | encryption-key | |
Description | This command creates a key to be used by AES256 and SHA256 for configuration file encryption and hashing. This key is used for all configuration files (primary, secondary, and tertiary). After creating or deleting a key, save the configuration file with the current encryption key state. | |
String Length | 1 to 71 | |
Introduced | 21.7.R1 | |
Platforms | 7450 ESS, 7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, VSR |
password string
Note: The new value of this element takes effect when the candidate is committed. | ||
Synopsis | Password for boot-time modification of boot options | |
Context | bof configuration password string | |
Tree | password | |
String Length | 1 to 71 | |
Introduced | 21.7.R1 | |
Platforms | 7450 ESS, 7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, VSR |
primary-location string
Note: The new value of this element takes effect when the candidate is committed. | ||
Synopsis | Primary configuration location | |
Context | bof configuration primary-location string | |
Tree | primary-location | |
String Length | 1 to 180 | |
Introduced | 20.10.R1 | |
Platforms | All |
secondary-location string
Note: The new value of this element takes effect when the candidate is committed. | ||
Synopsis | Secondary configuration location | |
Context | bof configuration secondary-location string | |
Tree | secondary-location | |
String Length | 1 to 180 | |
Introduced | 20.10.R1 | |
Platforms | All |
tertiary-location string
Note: The new value of this element takes effect when the candidate is committed. | ||
Synopsis | Tertiary configuration location | |
Context | bof configuration tertiary-location string | |
Tree | tertiary-location | |
String Length | 1 to 180 | |
Introduced | 20.10.R1 | |
Platforms | All |
console
speed number
Note: The new value of this element takes effect when the candidate is committed. | ||
Synopsis | Console port speed | |
Context | bof console speed number | |
Tree | speed | |
Range | 9600 | 19200 | 38400 | 57600 | 115200 | |
Default | 19200 | |
Units | bps | |
Introduced | 20.10.R1 | |
Platforms |
7450 ESS, 7750 SR-1, 7750 SR-7/12/12e, 7750 SR-a, 7750 SR-e, 7750 SR-1s, 7750 SR-2s, 7750 SR-7s, 7750 SR-14s, 7950 XRS, VSR |
wait-time number
dns
domain string
primary-server (ipv4-address-no-zone | ipv6-address-no-zone)
Note: The new value of this element takes effect when the candidate is committed. | ||
Synopsis | Primary DNS server | |
Context | bof dns primary-server (ipv4-address-no-zone | ipv6-address-no-zone) | |
Tree | primary-server | |
Introduced | 20.10.R1 | |
Platforms | All |
secondary-server (ipv4-address-no-zone | ipv6-address-no-zone)
Note: The new value of this element takes effect when the candidate is committed. | ||
Synopsis | Secondary DNS server | |
Context | bof dns secondary-server (ipv4-address-no-zone | ipv6-address-no-zone) | |
Tree | secondary-server | |
Introduced | 20.10.R1 | |
Platforms | All |
tertiary-server (ipv4-address-no-zone | ipv6-address-no-zone)
Note: The new value of this element takes effect when the candidate is committed. | ||
Synopsis | Tertiary DNS server | |
Context | bof dns tertiary-server (ipv4-address-no-zone | ipv6-address-no-zone) | |
Tree | tertiary-server | |
Introduced | 20.10.R1 | |
Platforms | All |
image
primary-location string
Note: The new value of this element takes effect when the router boots. | ||
Synopsis | Primary image location | |
Context | bof image primary-location string | |
Tree | primary-location | |
String Length | 1 to 180 | |
Introduced | 20.10.R1 | |
Platforms | All |
secondary-location string
Note: The new value of this element takes effect when the router boots. | ||
Synopsis | Secondary image location | |
Context | bof image secondary-location string | |
Tree | secondary-location | |
String Length | 1 to 180 | |
Introduced | 20.10.R1 | |
Platforms | All |
tertiary-location string
Note: The new value of this element takes effect when the router boots. | ||
Synopsis | Tertiary image location | |
Context | bof image tertiary-location string | |
Tree | tertiary-location | |
String Length | 1 to 180 | |
Introduced | 20.10.R1 | |
Platforms | All |
li
local-save boolean
Note: The new value of this element takes effect when the router boots. | ||
Synopsis | Save the LI configuration locally | |
Context | bof li local-save boolean | |
Tree | local-save | |
Introduced | 20.10.R1 | |
Platforms | All |
separate boolean
license
primary-location string
Note: The new value of this element takes effect when the candidate is committed. | ||
Synopsis | Primary license file location | |
Context | bof license primary-location string | |
Tree | primary-location | |
String Length | 1 to 180 | |
Introduced | 20.10.R1 | |
Platforms | All |
port [router-name] string
[router-name] string
autonegotiate keyword
Note: The new value of this element takes effect when the candidate is committed. | ||
Synopsis | Auto-negotiate speed and duplex type on Ethernet port | |
Context | bof port string autonegotiate keyword | |
Tree | autonegotiate | |
Default | true | |
Options | ||
Introduced | 20.10.R1 | |
Platforms | All |
duplex keyword
speed number
router [router-name] string
[router-name] string
interface [interface-name] string
[interface-name] string
cpm [cpm-type] keyword
[cpm-type] keyword
ipv4
ip-address string
Note: The new value of this element takes effect when the candidate is committed. | ||
Synopsis | IPv4 address assigned to the interface | |
Context | bof router string interface string cpm keyword ipv4 ip-address string | |
Tree | ip-address | |
Description | This command assigns an IP address to the management Ethernet port on a CPM. The active and standby IP addresses mut be on the same subnet. | |
Notes | This element is mandatory. | |
Introduced | 20.10.R1 | |
Platforms | All |
prefix-length number
Note: The new value of this element takes effect when the candidate is committed. | ||
Synopsis | IPv4 address prefix length | |
Context | bof router string interface string cpm keyword ipv4 prefix-length number | |
Tree | prefix-length | |
Range | 0 to 32 | |
Notes | This element is mandatory. | |
Introduced | 20.10.R1 | |
Platforms | All |
ipv6
ipv6-address string
Note: The new value of this element takes effect when the candidate is committed. | ||
Synopsis | IPv6 address assigned to the interface | |
Context | bof router string interface string cpm keyword ipv6 ipv6-address string | |
Tree | ipv6-address | |
Description | This command assigns an IP address to the management Ethernet port on a CPM. The active and standby IP addresses mut be on the same subnet. | |
Introduced | 20.10.R1 | |
Platforms | All |
prefix-length number
Note: The new value of this element takes effect when the candidate is committed. | ||
Synopsis | IPv6 address prefix length | |
Context | bof router string interface string cpm keyword ipv6 prefix-length number | |
Tree | prefix-length | |
Range | 0 to 128 | |
Notes | This element is mandatory. | |
Introduced | 20.10.R1 | |
Platforms | All |
ip-mtu number
Note: The new value of this element takes effect when the candidate is committed. | ||
Synopsis | Interface IP MTU | |
Context | bof router string interface string ip-mtu number | |
Tree | ip-mtu | |
Description | This command configures the MTU for IP packets transmitted out the interface of the management router instance associated to the management port. The operational MTU for the port is set to the lesser of the values configured with this command and the management port MTU. If the interface supports IPv6 packets, the command value must be set to 1280 or higher. | |
Range | 512 to 9786 | |
Units | bytes | |
Introduced | 20.10.R1 | |
Platforms |
All |
static-routes
Synopsis | Enter the static-routes context | |
Context | bof router string static-routes | |
Tree | static-routes | |
Introduced | 20.10.R1 | |
Platforms | All |
route [ip-prefix] (ipv4-prefix | ipv6-prefix)
Note: The new value of this element takes effect when the candidate is committed. | ||
Synopsis | Enter the route list instance | |
Context | bof router string static-routes route (ipv4-prefix | ipv6-prefix) | |
Tree | route | |
Introduced | 20.10.R1 | |
Platforms | All |
[ip-prefix] (ipv4-prefix | ipv6-prefix)
Synopsis | IP prefix for the static route | |
Context | bof router string static-routes route (ipv4-prefix | ipv6-prefix) | |
Tree | route | |
Notes | This element is part of a list key. | |
Introduced | 20.10.R1 | |
Platforms | All |
next-hop (ipv4-address-no-zone | ipv6-address-no-zone)
WARNING: Modifying this element recreates the parent element automatically for the new value to take effect. | ||
Note: The new value of this element takes effect when the candidate is committed. | ||
Synopsis | Next-hop IP address | |
Context | bof router string static-routes route (ipv4-prefix | ipv6-prefix) next-hop (ipv4-address-no-zone | ipv6-address-no-zone) | |
Tree | next-hop | |
Notes | This element is mandatory. | |
Introduced | 20.10.R1 | |
Platforms | All |
system
base-mac-address string
Note: The new value of this element takes effect when the router boots. | ||
Synopsis | Base system MAC address | |
Context | bof system base-mac-address string | |
Tree | base-mac-address | |
Introduced | 20.10.R1 | |
Platforms | 7450 ESS, 7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, 7950 XRS-20, 7950 XRS-20e, VSR |
fips-140-2 boolean
Note: The new value of this element takes effect when the router boots. | ||
Synopsis | Operate in FIPS 140-2 mode | |
Context | bof system fips-140-2 boolean | |
Tree | fips-140-2 | |
Introduced | 20.10.R1 | |
Platforms | 7450 ESS, 7750 SR-1, 7750 SR-7/12/12e, 7750 SR-a, 7750 SR-e, 7750 SR-1s, 7750 SR-2s, 7750 SR-7s, 7750 SR-14s, 7950 XRS |
persistent-indices boolean
Note: The new value of this element takes effect when the router boots. | ||
Synopsis | Classic and mixed management mode persistent indices | |
Context | bof system persistent-indices boolean | |
Tree | persistent-indices | |
Introduced | 20.10.R1 | |
Platforms | All |