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

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.

3 REPLIES

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 ?

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

Looking for some Networking Assistance? Contact me directly at jcarvaja@laguiadelnetworking.com I will fix your problem ASAP. Cheers, Julio Carvajal Segura http://laguiadelnetworking.com
770
Views
0
Helpful
3
Replies
CreatePlease login to create content