12-16-2014 09:59 PM - edited 03-07-2019 09:55 PM
Hi,
I have a few 2960s switches and would like to use the GUI to configure ports using the smartport function. These seem to be based on predefined macro's which I can't edit. I have created my own macro, how do I enable the macro in the GUI so I can use the use my own macro?
Regards,
Paul
12-16-2014 10:41 PM
What IOS are you using?
Are you talking about auto-smarport (ASP) macro?
12-17-2014 02:11 PM
12-17-2014 05:45 PM
Ok, SmartPort macro is now a HIDDEN command, since 12.2(58)SE and later.
If you've got a macro you want to use, you have to enter it using CLI. Here's how you do it:
config t
macro name <BLAH>
[ENTER YOUR MACRO HERE]
[Use the "@" to end your macro]
@
end
To envoke the macro:
config t
interface <BLAH>
macro apply <MACRO NAME>
end
To view the macro:
sh pars macro name <MACRO NAME>
12-17-2014 06:57 PM
Hi Leo,
Thank you. I have the macro configured already CLI and can apply the macro onto a switch port. I am wishing to use this macro from the GUI so some IT support users can change the port configuration from the GUI since they don't have much experience in the CLI.
Regards,
Paul
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide