4.19 Displaying Your Configuration


While in configuration mode, you can display the complete candidate configuration by typing the show command at the top level of the hierarchy. If you change levels in the hierarchy, then the show command will display the portion of the candidate configuration that corresponds with the current level.

The example below explains how to use the show command in configuration mode. Typing show from the top-level edit displays the complete candidate configuration, whereas typing the show command from edit protocols bgp shows only the configuration for bgp. In addition to using the show command alone, it can be used from the top level of the hierarchy to display the configuration for a particular section of the configuration. All you need to do is type the level of hierarchy that you wish to display.

 [edit]  lab@Chicago# show version 5.1R1.4; system {     host-name Chicago;     login {         class superuser-local {             permissions all; [edit protocols bgp] lab@Chicago# show group internal {     type internal;     local-address 192.168.20.1;     neighbor 192.168.16.1; } group external {     type external;     peer-as 2;     neighbor 10.0.23.2; } [edit] lab@Chicago# show routing-options static route 172.16.252.0/24 {     next-hop 192.168.161.199;     retain; 


Juniper Networks Reference Guide. JUNOS Routing, Configuration, and Architecture
Juniper Networks Reference Guide: JUNOS Routing, Configuration, and Architecture: JUNOS Routing, Configuration, and Architecture
ISBN: 0201775921
EAN: 2147483647
Year: 2002
Pages: 176

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net