[an error occurred while processing this directive][an error occurred while processing this directive]

Example: Displaying the Current JUNOS Configuration

The following example shows how you can display the current JUNOS configuration. To display the entire configuration:

[edit]user@host# set protocols ospf area 0.0.0.0 interface so-0/0/0 hello-interval 5[edit]user@host# show protocols {ospf {area 0.0.0.0 {interface so-0/0/0 {hello-interval 5;}}}}

Display a particular hierarchy in the configuration:

[edit]user@host# show protocols ospf area 0.0.0.0interface so-0/0/0 {hello-interval 5;}

Move down a level and display the configuration at that level:

[edit]user@host# edit protocols ospf area 0.0.0.0[edit protocols ospf area 0.0.0.0]user@host# show interface so-0/0/0 {hello-interval 5;}

Display all of the last committed configuration:

[edit]user@host# set protocols ospf area 0.0.0.0 interface so-0/0/0 hello-interval 5 [edit]user@host# commit commit complete[edit]user@host# quitexiting configuration modeuser@host> show configuration## Last commit: 2006-08-10 11:21:58 PDT by userversion 8.3protocols {ospf {area 0.0.0.0 {interface so-0/0/0 {hello-interval 5;}}}}

Published: 2010-04-27

[an error occurred while processing this directive]