cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
12071
Views
5
Helpful
3
Replies

command shortcut from config-if to config ?

fran19422
Level 1
Level 1

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 3

Collin Clark
VIP Alumni
VIP Alumni

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


Sent from Cisco Technical Support Android App

Stuart Gall
Level 1
Level 1

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

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

Julio Carvajal
Senior Network Security and Core Specialist
CCIE #42930, 2xCCNP, JNCIP-SEC
Getting Started

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:

Review Cisco Networking products for a $25 gift card