Skip to content

Configuration-mode commands#

Available after configure. Every operational show command also works here; show configuration renders the candidate configuration when one exists.

Summary#

Command Description
commit Commit configuration changes
commit and-quit Commit and exit configuration mode
commit check Validate configuration without applying
commit comment Commit with a comment
commit confirm Commit with automatic rollback timer
compare Show changes between candidate and active
delete Delete configuration parameter
exit Exit configuration mode
quit Exit configuration mode
rollback Roll back to previous configuration
set Set configuration parameter
top Return to top of configuration hierarchy
up Move up one level in configuration hierarchy

Commands#

commit#

Commit configuration changes

commit and-quit#

Commit and exit configuration mode

commit check#

Validate configuration without applying

commit comment#

Commit with a comment

Accepts an optional positional argument <comment> — comment text

commit confirm#

Commit with automatic rollback timer

Accepts an optional positional argument <minutes> — minutes before automatic rollback

compare#

Show changes between candidate and active

Example

user@bng> compare
No candidate configuration (no changes)

delete#

Delete configuration parameter

Remaining tokens are read as a free-form path rather than fixed sub-commands — see the configuration reference for the accepted paths.

rollback#

Roll back to previous configuration

Accepts an optional positional argument <version> — version to rollback to (0 = discard candidate)

set#

Set configuration parameter

Remaining tokens are read as a free-form path rather than fixed sub-commands — see the configuration reference for the accepted paths.