Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Administrator (admin) users have full access to the Vyatta CLI. Admin users can view, configure, and delete information and execute all DANOS vRouter operational commands. Admin users can also execute all non-root operating system shell commands and constructs.

...

You can run an operational command without leaving configuration mode by using the run command.

Working with configuration

Terminology

Several versions of system configuration information exist on the system at a given time.

  • Active or “running” configuration

    • This configuration is the one that is loaded and being used by the system.

  • Candidate configuration

    • When you enter configuration mode and make configuration changes, changes remain in candidate configuration until you commit the changes, at which time the configuration becomes active or running.

Configuration hierarchy

DANOS vRouter configuration is organized as a hierarchy of configuration statements, with a hierarchical tree of nodes similar to the directory structure on a UNIX file system. Three kinds of statements exist:

• Configuration nodes. These nodes can be either:
– Single nodes (just one instance can be created; for example, the rip protocol node)
– Multinodes (more than one instance can be created; for example, address nodes)
• Attribute statements. These statements set the values or characteristics for parameters within a node.

From a system perspective, a configuration node is different from a simple configuration attribute statement. A configuration attribute statement takes the form attribute value, as in the following example.

protocol-version v2

A configuration node always has an enclosing pair of braces, which may be empty, as in the following example,

service {
https{}}or nonempty, as in the following example.ssh {
allow-root
}