11-30-2013 12:49 PM - edited 03-07-2019 04:51 PM
Hi, is there any shortcute to go from 'config-if' back to 'config'.
All I can seem to manage is "ex".
When I use CTRL-C, it takes me right out of config mode, but all I want to do is go back to general config mode ?
Is there anything better ?
Thanks kindly.
11-30-2013 01:05 PM
In classic ios there is not. In nx-os you can use push and pop.
Sent from Cisco Technical Support Android App
11-30-2013 03:21 PM
This is IOS right ?
Exit = go up one
End = go out to priv exec mode
Do you know that many of the config commands can be entered in config-if to switch directly without needing to go back to config?
Sent from Cisco Technical Support iPad App
12-01-2013 12:17 AM
Hello,
I mean, you can configure for example an IP route while being inside an interface, the gotcha is that you cannot use any help or the tab completion.
Ex:
R1(config)#interface loo
R1(config)#interface loopback 1
R1(config-if)#ip add 4.4.4.4
*Mar 1 00:00:15.951: %LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback1, changed state to up
R1(config-if)#ip add 4.4.4.4 255.255.255.0
R1(config-if)#ip route 0.0.0.0 0.0.0.0 loo 1
R1(config)#
As you can see I did not need to go to config mode but again you will need to know the command from the top of your head
Is that or using exit ( No such a command as the top from the Junos box; unless runing the nx-os as Colling mentioned)
Rate all of the helpful posts!!!
Regards,
Jcarvaja
Follow me on http://laguiadelnetworking.com
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: