Vyatta Network OS Documentation

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

show

Displays configuration information in configuration mode.

show [ -all ] config-node
config-node
A configuration node you want to display, including the path. The node must exist and the created node must have been committed.

Specification of the configuration node is interpreted relative to your current position in the configuration tree.

-all
Includes default information in the displayed information.

When used with no configuration node specification, this command displays all existing configuration nodes and subnodes starting from your current location in the configuration tree.

When used without the -all keyword, this command does not display default information.

Configuration mode

Use this command in configuration mode to display the configured state of the system.

This command displays the specified configuration node and all subnodes. The node specification is interpreted relative to your current location in the configuration tree.

Unless the -all keyword is used, default information is not included in displayed information.

In addition to this command, a number of show commands are available in operational mode.

The following example shows how to display the configuration information of data plane interfaces by using the show command in configuration mode. In this case, because the -all keyword is not used, the default information is not included in the output.

vyatta@vyatta# show interfaces dataplane 
 dataplane dp0s160 {
        address 10.18.170.205/24
 }
[edit]

The following example shows how to display the configuration information, including the default information, of data plane interfaces by using the show command with the -all keyword in configuration mode.

vyatta@vyatta# show -all interfaces dataplane 
 dataplane dp0s160 {
        address 10.18.170.205/24
        ip {
                gratuitous-arp-count 1
                rpf-check disable
        }
        ipv6 {
                dup-addr-detect-transmits 1
        }
        mtu 1500
        vlan-protocol 0x8100
 }
[edit]

The following example shows how to display the configuration information, including the default information, of the SSH service by using the show command with the -all keyword in configuration mode.

vyatta@vyatta# show -all service ssh 
 ssh {
        authentication-retries 3
        timeout 120
 }
[edit]