Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

command shortcut from config-if to config ?

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.


Re:command shortcut from config-if to config ?

In classic ios there is not. In nx-os you can use push and pop.

Sent from Cisco Technical Support Android App

New Member

Re: command shortcut from config-if to config ?

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

Re: command shortcut from config-if to config ?


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.


R1(config)#interface  loo

R1(config)#interface  loopback  1

R1(config-if)#ip add

*Mar  1 00:00:15.951: %LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback1, changed state to up

R1(config-if)#ip add

R1(config-if)#ip route loo 1


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!!!



Follow me on

Looking for some Networking Assistance? Contact me directly at I will fix your problem ASAP. Cheers, Julio Carvajal Segura
CreatePlease login to create content