Cisco Macros

Associate
Joined
14 Dec 2003
Posts
2,149
Location
Malvern
Does anyone use these at all?

I'm trying to create a macro that'll change a bunch of ports to a certain vlan and another one to change them back.

Anyone done something similar or have experience of these?

Cheers,
Andy
 
If you have access to Cisco Network Assistant you can apply the pre-configured smart port macro's.

Otherwise if you wish to create your own you have two options nowadays, first being the standard macro and the second being the auto macro that can determine which device is connected to the switch port using CDP and automatically apply a pre-defined role. The later has only recently become avaliable so it will depend on both which switch your using and which version of IOS your running.

The following are built into most IOS versions by default

cisco-global

Use this global configuration macro to enable rapid PVST+, loop guard, and dynamic port error recovery for link state failures.

cisco-desktop

Use this interface configuration macro for increased network security and reliability when connecting a desktop device, such as a PC, to a switch port.

cisco-phone

Use this interface configuration macro when connecting a desktop device such as a PC with a Cisco IP Phone to a switch port. This macro is an extension of the cisco-desktop macro and provides the same security and resiliency features, but with the addition of dedicated voice VLANs to ensure proper treatment of delay-sensitive voice traffic.

cisco-switch

Use this interface configuration macro when connecting an access switch and a distribution switch or between access switches connected by using small form-factor pluggable (SFP) modules.

cisco-router

Use this interface configuration macro when connecting the switch and a WAN router.

cisco-wireless

Use this interface configuration macro when connecting the switch and a wireless access point.


Cisco Network Assistant

http://www.cisco.com/en/US/products/ps5931/index.html


Cisco 2960 Smartport Macro's

http://www.cisco.com/en/US/docs/swi...e/12.2_37_se/configuration/guide/swmacro.html

Cisco 2960 Auto Smartports Macros

http://www.cisco.com/en/US/docs/swi...e/12.2_50_se/configuration/guide/swmacro.html
 
ah maybe i've mis-understood what they can do then. I was hoping to create my own macro that would switch a dozen ports to a particular vlan, then another to switch them back.

Were using 3750s in this instance and i've got that doc above printed out, just need a spare 10 mins to read it :)
 
Back
Top Bottom