Vyatta Network OS Documentation

Learn how to install, configure and operate the Vyatta NOS, which helps drive our virtual networking & physical platforms portfolio.

Configuration hierarchy

An overview of the configuration hierarchy and the related commands.

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
}