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

Command not available: macro name ....

Hello,

I'm trying to setup several macro's but in all Cisco manual's they tell me to use command "macro name ..." to create my macro. But when I want to use the command, my CLI only allows the follwing commands to me:

 

switch(config)#macro ?

  auto    Macro autoexecution settings

  global  Enter global macro configuration


So what have I to do to get this command "macro name ..." working?

The IOS I use is for example:

c2960-lanbasek9-mz.122-50.SE1.bin

c3560-ipservicesk9-mz.122-55.SE1.bin


Kind regards
Kai
1 ACCEPTED SOLUTION

Accepted Solutions
Hall of Fame Super Gold

Command not available: macro name ....

Since 12.2(50)SE, Cisco has been "threatening" to deprecate the "macro name" (which is part of the switchport macro feature) in favour of the AUTO smartport macro.  The command "macro name " is now a HIDDEN command.  You need to enter the complete command to invoke it.  No shortcuts allowed.

My fleet of switches are running 12.2(55)SE, 12.2(58)SE and 15.0(1)SE2 and I am still using the switchport macro on a daily basis. 

2 REPLIES
Bronze

Command not available: macro name ....

Hi @ all,

I'm a fool....

switch(config)#macro ?

  auto    Macro autoexecution settings

  global  Enter global macro configuration

The postet Command also permits "macro name myMacro" it is only not shown.

Kind regards

Hall of Fame Super Gold

Command not available: macro name ....

Since 12.2(50)SE, Cisco has been "threatening" to deprecate the "macro name" (which is part of the switchport macro feature) in favour of the AUTO smartport macro.  The command "macro name " is now a HIDDEN command.  You need to enter the complete command to invoke it.  No shortcuts allowed.

My fleet of switches are running 12.2(55)SE, 12.2(58)SE and 15.0(1)SE2 and I am still using the switchport macro on a daily basis. 

642
Views
0
Helpful
2
Replies
CreatePlease to create content