Static Smartport Configuration Guidelines - Cisco Catalyst 4500 series Administration Manual

Hide thumbs Also See for Catalyst 4500 series:
Table of Contents

Advertisement

Configuring Static SmartPort Macros
Table 20-3
Default Static SmartPort Macros
1
Macro Name
Description
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.
1. Cisco-default SmartPort macros vary, depending on the software version running on your switch.

Static SmartPort Configuration Guidelines

Applying Static SmartPort Macros
To apply a static SmartPort macro, perform these steps, beginning in privileged EXEC mode:
Command
Step 1
show parser macro
Step 2
show parser macro name macro-name
Step 3
configure terminal
Software Configuration Guide—Release IOS XE 3.6.0E and IOS 15.2(2)E
20-14
When a macro is applied globally to a switch or to a switch interface, all existing configuration on
the interface is retained. it is helpful when applying an incremental configuration.
If a command fails because of a syntax or a configuration error, the macro continues to apply the
remaining commands. Use the macro global trace macro-name global configuration command or
the macro trace macro-name interface configuration command to apply and debug a macro to find
any syntax or configuration errors.
Some CLI commands are specific to certain interface types. If you apply a macro to an interface that
does not accept the configuration, the macro fails the syntax or the configuration check, and the
switch returns an error message.
Applying a macro to an interface range is the same as applying a macro 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.
When you apply a macro to a switch or a switch interface, the macro name is automatically added
to the switch or interface. You can display the applied commands and macro names by using the
show running-config user EXEC command.
Purpose
Displays the Cisco-default
switch software.
Displays the specific macro that you want to apply.
Enters global configuration mode.
Chapter 20
Configuring SmartPort Macros
static
SmartPort macros embedded in the
OL_28731-01

Advertisement

Table of Contents
loading

Table of Contents