Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

command macros possible in IOS?

Hello,

I very often use the a couple of commands in the same order on our ios routers.

Is there any possibility to create a macro or alias which runs then several commands.

What I mean is to enter simply one alias or macro name on the cli which then runs some commands like

show interface

show interface counter

show vlan

Best Regards,

Thorsten

5 REPLIES
Silver

Re: command macros possible in IOS?

Hi,

Yes it is possible with command alias.

http://www.cisco.com/en/US/docs/ios/12_0/configfun/command/reference/frgenral.html#wp1017391

Hope it helps, rate if does

Krisztian

New Member

Re: command macros possible in IOS?

Hi,

if I understand the documentation of the alias command correctly you can only program a 1-to-1 alias.

What I am searching for is a macro where I can enter only one alias which then runs several commands.

Regards,

Thorsten

New Member

Re: command macros possible in IOS?

Hi,

if your requirement is to run few set of commands on multiple routers. Then the best way is to use a utility called as Kiwi CAT. With this you can configure the required set of commands for mulitple devices and schedule it.

Regards

Santhosh M.C

Cable&Wireless

New Member

Re: command macros possible in IOS?

Sorry,

but's I need it interactive when I am connected via telnet.

Regards,

Thorsten

Hall of Fame Super Bronze

Re: command macros possible in IOS?

269
Views
0
Helpful
5
Replies
CreatePlease to create content