Cisco-Global - Cisco Catalyst 4500 Series Configuration Manual

Release ios xe 3.3.0sg and ios 15.1(1)sg
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

Configuring SmartPort Macros
Command
Step 9
Switch# show parser macro
[
description
interface interface-id
Step 10
Switch# copy running-config
startup-config
You can delete a global macro-applied configuration on a switch only by entering the no version of each
command that is in the macro. You can delete a macro-applied configuration on an interface by entering
the default interface interface-id interface configuration command.
The no form of the macro name global configuration command deletes only the macro definition. It
does not affect the configuration of those interfaces on which the macro is already applied. You can
delete a macro-applied configuration on an interface by entering the default interface interface-id
interface configuration command. Alternatively, you can create an anti-macro for an existing macro that
contains the no form of all the corresponding commands in the original macro and apply the anti-macro
to the interface.
The following sections describe how to apply and display the attachments on each of the supported
macros:

cisco-global

This example shows how to use the system-defined macro cisco-global:
Switch(config)# macro global apply cisco-global
Changing VTP domain name from gsg-switch to [smartports]
Setting device to VTP TRANSPARENT mode.
Switch(config)# end
Switch# show parser macro name cisco-global
Macro name : cisco-global
Macro type : default global
# Enable dynamic port error recovery for link state failures.
errdisable recovery cause link-flap
errdisable recovery interval 60
# VTP requires Transparent mode for future 802.1x Guest VLAN
# and current Best Practice vtp domain [smartports] vtp mode transparent
# Enable aggressive mode UDLD on all fiber uplinks udld aggressive
# Enable Rapid PVST+ and Loopguard
spanning-tree mode rapid-pvst
spanning-tree loopguard default
spanning-tree extend system-id
Software Configuration Guide—Release IOS XE 3.3.0SG and IOS 15.1(1)SG
18-10
]
cisco-global, page 18-10
cisco-desktop, page 18-11
cisco-phone, page 18-11
cisco-switch, page 18-12
cisco-router, page 18-13
Purpose
Verifies that the macro is applied to the interface.
(Optional) Saves your entries in the configuration file.
Chapter 18
Configuring SmartPort Macros
OL-25340-01

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents