Cisco ME 3800X Command Reference Manual page 184

Hide thumbs Also See for ME 3800X:
Table of Contents

Advertisement

macro apply
A macro applied to an interface range behaves the same way as a macro applied to a single interface.
When you use an interface range, the macro is applied sequentially to each interface within the range. If
a macro command fails on one interface, it is still applied to the remaining interfaces.
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
show parser macro
Cisco ME 3800X and ME 3600X Switch Command Reference
2-160
Chapter 2
Cisco ME 3800X and ME 3600X 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.
Displays the macro definition for all macros or for the specified macro.
OL-28238-01

Advertisement

Table of Contents
loading

This manual is also suitable for:

Me 3600x

Table of Contents