macro apply
You can delete a macro-applied configuration on an interface by entering the default interface
interface-id interface configuration command.
Examples
After you have created a macro by using the macro name global configuration command, you can apply
it to an interface. This example shows how to apply a user-created macro called duplex to an interface:
Switch(config-if)# macro apply duplex
To debug a macro, use the macro trace interface configuration command to find any syntax or
configuration errors in the macro as it is applied to an interface. This example shows how troubleshoot
the user-created macro called duplex on an interface:
Switch(config-if)# macro trace duplex
Applying command...'duplex auto'
%Error Unknown error.
Applying command...'speed nonegotiate'
Related Commands
Command
macro description
macro global
macro global description
macro name
show parser macro
Cisco ME 3400 Ethernet Access Switch Command Reference
2-226
Chapter 2
Cisco ME 3400 Ethernet Access Switch Cisco IOS Commands
Description
Adds a description about the macros that are applied to an interface.
Applies a macro on a switch or applies and traces a macro on a switch.
Adds a description about the macros that are applied to the switch.
Creates a macro.
Displays the macro definition for all macros or for the specified macro.
OL-9640-07