12. bof Commands

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
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
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
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

12.1. bof Command Descriptions

bof

Synopsis

Enter the bof context

Context
Tree
Introduced

20.10.R1

Platforms

All

auto-boot

Note:

The new value of this element takes effect when the router boots.

Synopsis

Enable the auto-boot context

Context
Tree
Introduced

20.10.R1

Platforms

7450 ESS-7, 7750 SR-1, 7750 SR-7, 7750 SR-1e, 7750 SR-s

dhcp

Note:

The new value of this element takes effect when the router boots.

Synopsis

Enable the dhcp context

Context
Tree
Notes

This element is the default part of a choice.

The following are part of a choice: dhcp or ospf.

Introduced

21.2.R1

Platforms

7450 ESS-7, 7750 SR-1, 7750 SR-7, 7750 SR-1e, 7750 SR-s

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
String Length

1 to 58

Options

use-chassis-mac-address

Introduced

21.2.R1

Platforms

7450 ESS-7, 7750 SR-1, 7750 SR-7, 7750 SR-1e, 7750 SR-s

inband

Note:

The new value of this element takes effect when the router boots.

Synopsis

Enable the inband context

Tree
Introduced

21.2.R1

Platforms

7450 ESS-7, 7750 SR-1, 7750 SR-7, 7750 SR-1e, 7750 SR-s

disabled boolean

Note:

The new value of this element takes effect when the router boots.

Synopsis

Do not use inband ports

Context
Tree
Default

true

Notes

The following 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-s

null-encapsulation boolean

Note:

The new value of this element takes effect when the router boots.

Synopsis

Use null encapsulation

Default

true

Notes

The following 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-s

vlan number

Note:

The new value of this element takes effect when the router boots.

Synopsis

Inband VLAN ID

Context
Tree
Range

1 to 4094

Notes

The following 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-s

vlan-discovery boolean

Note:

The new value of this element takes effect when the router boots.

Synopsis

Use VLAN discovery

Default

true

Notes

The following 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-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

Default

true

Introduced

21.2.R1

Platforms

7450 ESS-7, 7750 SR-1, 7750 SR-7, 7750 SR-1e, 7750 SR-s

ipv4 boolean

Note:

The new value of this element takes effect when the router boots.

Synopsis

Use auto boot with IPv4

Context
Tree
Default

true

Introduced

21.2.R1

Platforms

7450 ESS-7, 7750 SR-1, 7750 SR-7, 7750 SR-1e, 7750 SR-s

ipv6 boolean

Note:

The new value of this element takes effect when the router boots.

Synopsis

Use auto boot with IPv6

Context
Tree
Default

true

Introduced

21.2.R1

Platforms

7450 ESS-7, 7750 SR-1, 7750 SR-7, 7750 SR-1e, 7750 SR-s

management-port boolean

Note:

The new value of this element takes effect when the router boots.

Synopsis

Use auto boot on the management port

Default

true

Introduced

21.2.R1

Platforms

7450 ESS-7, 7750 SR-1, 7750 SR-7, 7750 SR-1e, 7750 SR-s

ospf

Note:

The new value of this element takes effect when the router boots.

Synopsis

Enable the ospf context

Context
Tree
Notes

The following are part of a choice: dhcp or ospf.

Introduced

21.2.R1

Platforms

7450 ESS-7, 7750 SR-1, 7750 SR-7, 7750 SR-1e, 7750 SR-s

mtu number

Note:

The new value of this element takes effect when the router boots.

Synopsis

OSPF MTU

Context
Tree
Range

512 to 9786

Default

1500

Units

bytes

Introduced

21.2.R1

Platforms

7450 ESS-7, 7750 SR-1, 7750 SR-7, 7750 SR-1e, 7750 SR-s

neid string

Note:

The new value of this element takes effect when the router boots.

Synopsis

Network element ID

Context
Tree
String Length

3

Introduced

21.2.R1

Platforms

7450 ESS-7, 7750 SR-1, 7750 SR-7, 7750 SR-1e, 7750 SR-s

neip-ipv4 string

Note:

The new value of this element takes effect when the router boots.

Synopsis

Network element IPv4 address

Context
Tree
Introduced

21.2.R1

Platforms

7450 ESS-7, 7750 SR-1, 7750 SR-7, 7750 SR-1e, 7750 SR-s

neip-ipv6 string

Note:

The new value of this element takes effect when the router boots.

Synopsis

Network element IPv6 address

Context
Tree
Introduced

21.2.R1

Platforms

7450 ESS-7, 7750 SR-1, 7750 SR-7, 7750 SR-1e, 7750 SR-s

vendor-id number

Note:

The new value of this element takes effect when the router boots.

Synopsis

Vendor ID

Context
Tree
Range

1 to 254

Default

140

Introduced

21.2.R1

Platforms

7450 ESS-7, 7750 SR-1, 7750 SR-7, 7750 SR-1e, 7750 SR-s

port-mtu number

Note:

The new value of this element takes effect when the router boots.

Synopsis

Port MTU setting

Context
Tree
Range

512 to 9800

Units

bytes

Introduced

21.2.R1

Platforms

7450 ESS-7, 7750 SR-1, 7750 SR-7, 7750 SR-1e, 7750 SR-s

auto-configure

Synopsis

Enter the auto-configure context

Introduced

20.10.R1

Platforms

7450 ESS-7, 7750 SR-1, 7750 SR-7, 7750 SR-1e, 7750 SR-s

ipv4

Synopsis

Enter the ipv4 context

Tree
Introduced

20.10.R1

Platforms

7450 ESS-7, 7750 SR-1, 7750 SR-7, 7750 SR-1e, 7750 SR-s

dhcp

Note:

The new value of this element takes effect when the router boots.

Synopsis

Enable the dhcp context

Tree
Introduced

20.10.R1

Platforms

7450 ESS-7, 7750 SR-1, 7750 SR-7, 7750 SR-1e, 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
String Length

1 to 127

Introduced

20.10.R1

Platforms

7450 ESS-7, 7750 SR-1, 7750 SR-7, 7750 SR-1e, 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

Introduced

20.10.R1

Platforms

7450 ESS-7, 7750 SR-1, 7750 SR-7, 7750 SR-1e, 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

Tree
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-s

ipv6

Synopsis

Enter the ipv6 context

Tree
Introduced

20.10.R1

Platforms

7450 ESS-7, 7750 SR-1, 7750 SR-7, 7750 SR-1e, 7750 SR-s

dhcp

Note:

The new value of this element takes effect when the router boots.

Synopsis

Enable the dhcp context

Tree
Introduced

20.10.R1

Platforms

7450 ESS-7, 7750 SR-1, 7750 SR-7, 7750 SR-1e, 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
String Length

1 to 124

Introduced

20.10.R1

Platforms

7450 ESS-7, 7750 SR-1, 7750 SR-7, 7750 SR-1e, 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

Options

duid-enterprise, duid-link-local

Introduced

20.10.R1

Platforms

7450 ESS-7, 7750 SR-1, 7750 SR-7, 7750 SR-1e, 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

Introduced

20.10.R1

Platforms

7450 ESS-7, 7750 SR-1, 7750 SR-7, 7750 SR-1e, 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

Tree
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-s

configuration

Synopsis

Enter the configuration context

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
Tree
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

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
Tree
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

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

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

String Length

1 to 180

Introduced

20.10.R1

Platforms

All

console

Synopsis

Enter the console context

Context
Tree
Introduced

20.10.R1

Platforms

All

speed number

Note:

The new value of this element takes effect when the candidate is committed.

Synopsis

Console port speed

Context
Tree
Range

9600 | 19200 | 38400 | 57600 | 115200

Default

19200

Units

bps

Introduced

20.10.R1

Platforms

All

wait-time number

Note:

The new value of this element takes effect when the router boots.

Synopsis

Wait time for interrupt to change boot parameters

Context
Tree
Range

1 to 10

Default

3

Units

seconds

Introduced

20.10.R1

Platforms

All

dns

Synopsis

Enter the dns context

Context
Tree
Introduced

20.10.R1

Platforms

All

domain string

Note:

The new value of this element takes effect when the candidate is committed.

Synopsis

System DNS domain name for DNS address resolution

Context

bof dns domain string

Tree
String Length

1 to 178

Introduced

20.10.R1

Platforms

All

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)

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)

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)

Introduced

20.10.R1

Platforms

All

image

Synopsis

Enter the image context

Context
Tree
Introduced

20.10.R1

Platforms

All

primary-location string

Note:

The new value of this element takes effect when the router boots.

Synopsis

Primary image location

Context
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

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
String Length

1 to 180

Introduced

20.10.R1

Platforms

All

li

Synopsis

Enter the li context

Context
Tree
Introduced

20.10.R1

Platforms

All

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

Introduced

20.10.R1

Platforms

All

separate boolean

Note:

The new value of this element takes effect when the router boots.

Synopsis

Separate access to the LI information

Context

bof li separate boolean

Tree
Introduced

20.10.R1

Platforms

All

license

Synopsis

Enter the license context

Context
Tree
Introduced

20.10.R1

Platforms

All

primary-location string

Note:

The new value of this element takes effect when the candidate is committed.

Synopsis

Primary license file location

String Length

1 to 180

Introduced

20.10.R1

Platforms

All

port [router-name] string

Note:

The new value of this element takes effect when the candidate is committed.

Synopsis

Enter the port list instance

Context

bof port string

Tree
Max. Elements

1

Introduced

20.10.R1

Platforms

All

[router-name] string

Synopsis

Administrative router name

Context

bof port string

String Length

1 to 64

Notes

This element is part of a list key.

Introduced

20.10.R1

Platforms

All

autonegotiate keyword

Note:

The new value of this element takes effect when the candidate is committed.

Synopsis

Autonegotiate speed and duplex type on Ethernet port

Context

bof port string autonegotiate keyword

Default

true

Options

false, true

Introduced

20.10.R1

Platforms

All

duplex keyword

Note:

The new value of this element takes effect when the candidate is committed.

Synopsis

Duplex type for the Ethernet port

Context

bof port string duplex keyword

Tree
Default

full

Options

full, half

Introduced

20.10.R1

Platforms

All

speed number

Note:

The new value of this element takes effect when the candidate is committed.

Synopsis

Speed of the Ethernet port

Context

bof port string speed number

Tree
Range

10 | 100 | 1000

Default

100

Units

megabps

Introduced

20.10.R1

Platforms

All

router [router-name] string

Note:

The new value of this element takes effect when the candidate is committed.

Synopsis

Enter the router list instance

Context

bof router string

Tree
Max. Elements

1

Introduced

20.10.R1

Platforms

All

[router-name] string

Synopsis

Administrative router name

Context

bof router string

String Length

1 to 64

Notes

This element is part of a list key.

Introduced

20.10.R1

Platforms

All

interface [interface-name] string

Note:

The new value of this element takes effect when the candidate is committed.

Synopsis

Enter the interface list instance

Context

bof router string interface string

Tree
Max. Elements

1

Introduced

20.10.R1

Platforms

All

[interface-name] string

Synopsis

Router interface name

Context

bof router string interface string

String Length

1 to 32

Notes

This element is part of a list key.

Introduced

20.10.R1

Platforms

All

cpm [cpm-type] keyword

Note:

The new value of this element takes effect when the candidate is committed.

Synopsis

Enter the cpm list instance

Context

bof router string interface string cpm keyword

Tree
Introduced

20.10.R1

Platforms

All

[cpm-type] keyword

Synopsis

CPM type

Context

bof router string interface string cpm keyword

Options

active, standby, a, b, c, d

Notes

This element is part of a list key.

Introduced

20.10.R1

Platforms

All

ipv4

Note:

The new value of this element takes effect when the candidate is committed.

Synopsis

Enable the ipv4 context

Context

bof router string interface string cpm keyword ipv4

Tree
Introduced

20.10.R1

Platforms

All

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

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

Range

0 to 32

Notes

This element is mandatory.

Introduced

20.10.R1

Platforms

All

ipv6

Note:

The new value of this element takes effect when the candidate is committed.

Synopsis

Enable the ipv6 context

Context

bof router string interface string cpm keyword ipv6

Tree
Introduced

20.10.R1

Platforms

All

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

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

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
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
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
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)

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)

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
Notes

This element is mandatory.

Introduced

20.10.R1

Platforms

All

system

Synopsis

Enter the system context

Context
Tree
Introduced

20.10.R1

Platforms

All

base-mac-address string

Note:

The new value of this element takes effect when the router boots.

Synopsis

Base system MAC address

Context
Introduced

20.10.R1

Platforms

7450 ESS, 7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, 7950 XRS-16c, 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
Introduced

20.10.R1

Platforms

7450 ESS, 7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, 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 indicies

Context
Introduced

20.10.R1

Platforms

All

profile keyword

Note:

The new value of this element takes effect when the router boots.

Synopsis

System capabilities profile

Context
Tree
Options

profile-a, profile-b

Introduced

20.10.R1

Platforms

All