The JUNOSe show configuration command displays the entire system configuration. For very large configurations, the show configuration report can take a long time to generate and display.
The service show-config format command enables you to run the show configuration command using one of two formats—original format (format 1; the default) and a format that provides a much faster output (format 2). Using format 2 can significantly reduce the amount of time it takes to generate and display configurations that contain three or more virtual routers and a large number of interfaces.
The primary difference between format 1 and format 2 output is the way in which each displays layer 2 and layer 3 interface configurations. Table 30 indicates where layer 2 and layer 3 interface configurations appear within the show configuration command output when the system is using format 1 or format 2.
Table 30: Output Locations for Layer 2 and Layer 3 Interface Configurations
The following examples show the differences between format 1 and format 2 output:
Example 1
Format 1 output
virtual-router default … interface null 0 interface loopback 0 ip address 127.0.0.1 255.0.0.0 ! interface ip shAtm50126 ip share-interface atm 5/0.126 ! interface ip MikeShare2 ip share-interface atm 5/1.1 ! interface atm 5/0 interface atm 5/0.100 point-to-point atm pvc 100 0 100 aal5snap 0 0 0 encapsulation pppoe pppoe sessions 1 ! interface atm 5/0.100.1 encapsulation ppp ppp authentication chap ip address 102.0.1.1 255.255.255.0 ! interface atm 5/0.102 multipoint atm pvc 1021 0 1021 aal5snap 0 0 0 atm pvc 1022 0 1022 aal5snap 0 0 0 atm pvc 1023 0 1023 aal5snap 0 0 0 ip address 102.0.2.1 255.255.255.0 ! interface atm 5/0.103 point-to-point atm pvc 103 0 103 aal5snap 0 0 0 encapsulation bridge1483 ip address 100.0.0.1 255.255.255.0 pppoe ! pppoe subinterface atm 5/0.103.1 encapsulation ppp ppp authentication pap ip address 100.0.1.1 255.255.255.0 ! interface atm 5/0.104 point-to-point atm pvc 104 0 104 aal5snap 0 0 0 ip address 150.0.1.1 255.255.255.0 ipv6 address 2000:0:17::1/60 ! interface atm 5/0.126 point-to-point ! interface atm 5/1 interface atm 5/1.1 point-to-point interface atm 5/1.100 point-to-point atm pvc 100 0 100 aal5snap 0 0 0 encapsulation pppoe pppoe sessions 1 ! interface atm 5/1.100.1 encapsulation ppp ppp authentication chap ! interface atm 5/1.102 multipoint atm pvc 1021 0 1021 aal5snap 0 0 0 atm pvc 1022 0 1022 aal5snap 0 0 0 atm pvc 1023 0 1023 aal5snap 0 0 0 ! interface atm 5/1.103 point-to-point atm pvc 103 0 103 aal5snap 0 0 0 encapsulation bridge1483 pppoe ! pppoe subinterface atm 5/1.103.1 encapsulation ppp ppp authentication pap ! interface atm 5/1.104 point-to-point atm pvc 104 0 104 aal5snap 0 0 0 ! interface atm 5/1.125 point-to-point ! interface fastEthernet 0/0 ip address 10.13.5.196 255.255.128.0 ! interface mlppp joe ! ip route 0.0.0.0 0.0.0.0 10.13.5.1 ip route 40.0.0.0 255.0.0.0 atm5/0.104 ip route 172.28.32.70 255.255.255.255 10.13.5.1 no ip source-route ! ! ipv6 ! ! ============================================================================ virtual-router foo … interface null 0 interface loopback 0 ip address 127.0.0.2 255.0.0.0 ! interface atm 5/1.100.1 ip address 102.0.1.2 255.255.255.0 ! interface atm 5/1.102 ip address 102.0.2.2 255.255.255.0 ! interface atm 5/1.103 ip address 100.0.0.2 255.255.255.0 ! interface atm 5/1.103.1 ip address 100.0.1.2 255.255.255.0 ! interface atm 5/1.104 ip address 150.0.1.2 255.255.255.0 ipv6 address 2000:0:17::2/60 ! ip route 30.0.0.0 255.0.0.0 atm5/1.104 no ip source-route ! ! ipv6
Example 2
Format 2 output
service show-config format 2 … virtual-router default … interface atm 5/0 interface atm 5/0.100 point-to-point atm pvc 100 0 100 aal5snap 0 0 0 encapsulation pppoe pppoe sessions 1 ! interface atm 5/0.100.1 encapsulation ppp ppp authentication chap ! interface atm 5/0.102 multipoint atm pvc 1021 0 1021 aal5snap 0 0 0 atm pvc 1022 0 1022 aal5snap 0 0 0 atm pvc 1023 0 1023 aal5snap 0 0 0 ! interface atm 5/0.103 point-to-point atm pvc 103 0 103 aal5snap 0 0 0 encapsulation bridge1483 pppoe ! pppoe subinterface atm 5/0.103.1 encapsulation ppp ppp authentication pap ! interface atm 5/0.104 point-to-point atm pvc 104 0 104 aal5snap 0 0 0 ! interface atm 5/0.126 point-to-point ! interface atm 5/1 interface atm 5/1.1 point-to-point interface atm 5/1.100 point-to-point atm pvc 100 0 100 aal5snap 0 0 0 encapsulation pppoe pppoe sessions 1 ! interface atm 5/1.100.1 encapsulation ppp ppp authentication chap ! interface atm 5/1.102 multipoint atm pvc 1021 0 1021 aal5snap 0 0 0 atm pvc 1022 0 1022 aal5snap 0 0 0 atm pvc 1023 0 1023 aal5snap 0 0 0 ! interface atm 5/1.103 point-to-point atm pvc 103 0 103 aal5snap 0 0 0 encapsulation bridge1483 pppoe ! pppoe subinterface atm 5/1.103.1 encapsulation ppp ppp authentication pap ! interface atm 5/1.104 point-to-point atm pvc 104 0 104 aal5snap 0 0 0 ! interface atm 5/1.125 point-to-point ! interface fastEthernet 0/0 interface null 0 interface loopback 0 ip address 127.0.0.1 255.0.0.0 ! interface ip shAtm50126 ip share-interface atm 5/0.126 ! interface ip MikeShare2 ip share-interface atm 5/1.1 ! interface mlppp joe interface fastEthernet 0/0 ip address 10.13.5.196 255.255.128.0 ! interface atm 5/0.100.1 ip address 102.0.1.1 255.255.255.0 ! interface atm 5/0.102 ip address 102.0.2.1 255.255.255.0 ! interface atm 5/0.103 ip address 100.0.0.1 255.255.255.0 ! interface atm 5/0.103.1 ip address 100.0.1.1 255.255.255.0 ! interface atm 5/0.104 ip address 150.0.1.1 255.255.255.0 ipv6 address 2000:0:17::1/60 ! ip route 0.0.0.0 0.0.0.0 10.13.5.1 ip route 40.0.0.0 255.0.0.0 atm5/0.104 ip route 172.28.32.70 255.255.255.255 10.13.5.1 no ip source-route ! ! ipv6 ! ! ============================================================================ virtual-router foo … interface null 0 interface loopback 0 ip address 127.0.0.2 255.0.0.0 ! interface atm 5/1.100.1 ip address 102.0.1.2 255.255.255.0 ! interface atm 5/1.102 ip address 102.0.2.2 255.255.255.0 ! interface atm 5/1.103 ip address 100.0.0.2 255.255.255.0 ! interface atm 5/1.103.1 ip address 100.0.1.2 255.255.255.0 ! interface atm 5/1.104 ip address 150.0.1.2 255.255.255.0 ipv6 address 2000:0:17::2/60 ! ip route 30.0.0.0 255.0.0.0 atm5/1.104 no ip source-route !