Defining the Configuration Output Format
You can define the show configuration command display output format using the service show-config command. You can specify format 1 keyword to display the show configuration command output in its original format. You can specify format 2 keyword to significantly reduce the amount of time it takes to generate and display output for configurations that contain three or more virtual routers and a large number of interfaces.
To define the show configuration command display output format:
- Issue the service show-config command in Privileged Exec mode.
- To set the show configuration command display output as format 2:host1#service show-config format 2host1#show configuration
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 !
- To set the show configuration command display output as format 1:host1#service show-config format 1host1#show configuration
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
Use the no version to revert the show configuration command output format to its default format (format 1).
- To set the show configuration command display output as format 2:
Hide Navigation Pane
Show Navigation Pane
SHA1