Vyatta documentation

Learn how to install, configure, and operate the Vyatta Network Operating System (Vyatta NOS) and Orchestrator, which help drive our virtual networking and physical platforms portfolio.

General use of the show command

An overview of the logic of this command in configuration mode.

In configuration mode, you can use the show <configuration-path> command to show a part of the running configuration, and to see any modifications that you have made to the candidate configuration.

Here's an example of the output that the show policy qos name command could generate when there have been no modifications made to this part of the candidate configuration:

user@system# show policy qos name
 name policy-1 {
	shaper {
		default profile-1
		profile profile-1
	}
 }
[edit]
user@system#

If we now modify the value associated with the default keyword from profile-1 to profile-2:

user@system# set policy qos name policy-1 shaper default profile-2

…and now repeat the show policy qos name command, then the output we now see is:

user@system# show policy qos name
 name policy-1 {
	shaper {
-		default profile-1
+		default profile-2
		profile profile-1
	}
 }
[edit]
user@system#

Note that:

  • The original default profile-1 line is shown, but with - in the first column. This indicates that this line is deleted in the candidate configuration.
  • The default profile-2 line is shown, with + in the first column. This indicates that this line is additional to the candidate configuration.