cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3360
Views
0
Helpful
5
Replies

How to make IOS complete command in CLI

news2010a
Level 3
Level 3

Hi,

In Juniper OS if I do "ip ro" then I press <tab>, the command automatically the complete command appears as "ip route". How can I do that in Cisco IOS?

1 Accepted Solution

Accepted Solutions

Edison Ortiz
Hall of Fame
Hall of Fame

It's the same in Cisco IOS.

The problem with 'ip ro' and tab is that there are multiple options.

Rack1R1(config)#ip ro?

route routing

So how the router will know which to choose on a tab?

Now, if you type

Rack1R1(config)#ip routi

Rack1R1(config)#ip routing

The second line was completed with the tab as there is only one option for 'ip routi'.

Regards

Edison

View solution in original post

5 Replies 5

Edison Ortiz
Hall of Fame
Hall of Fame

It's the same in Cisco IOS.

The problem with 'ip ro' and tab is that there are multiple options.

Rack1R1(config)#ip ro?

route routing

So how the router will know which to choose on a tab?

Now, if you type

Rack1R1(config)#ip routi

Rack1R1(config)#ip routing

The second line was completed with the tab as there is only one option for 'ip routi'.

Regards

Edison

Marlon,

You mean space bar or the tab key?

In JUNOS, when you type sh and press the space bar key, it will complete the command for you. Now, you can do the same thing with the tab key, but why would you want do that when space bar can easily do for you.

As for Cisco IOS, the space bar does NOT complete the command and if you want to completed the command you have to use the tab key

HTH

Reza

Sorry. I meant JunOS.

I recalled I tried in the Cisco IOS before and that did not work - probably the IOS version was old and it did not offer that feature.

Thanks folks!

Hi Marlon.

Either it has been an ambiguous command as described by Edison, or it would have been a veeeeeeeeeery old IOS :-)

HTH, Ingolf

Enterasys also completes a command with the use of the spacebar.

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:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco