Configuring Smartport Macros - Cisco Catalyst 4500 Series Software Configuration Manual

Cisco ios xe release 3.9.xe and cisco ios release 15.2(5)ex
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

Configuring SmartPort Macros

Table 21-1
Macro Name
cisco-global
cisco-desktop
cisco-phone
cisco-switch
cisco-router
1. Cisco-default SmartPort macros vary depending on the software version running on your switch.
Cisco also provides a collection of pretested, Cisco-recommended baseline configuration templates for
Catalyst switches. The online reference guide templates provide the CLI commands that you use to
create SmartPort macros based on the use of the port. Use the configuration templates to create
SmartPort macros to build and deploy Cisco-recommended network designs and configurations.
Configuring SmartPort Macros
You can create a new SmartPort macro or use an existing macro as a template to create a new macro that
is specific to your application. After you create the macro, you can apply it to an interface or a range of
interfaces.
This section includes information about these topics:
Passing Parameters Through the Macro
Some commands might not be sufficiently generic for all the interfaces; for example, VLAN ID for
Layer 2 interfaces and the IP address for Layer 3 interface. Retaining such commands in macro
definitions requires that you change the value of such parameters (such as VLAN ID or IP address)
before applying the macro to different interfaces. Alternatively, it requires that you create different
macros for each possible value of its parameters.
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
21-2
Cisco-Default SmartPort Macros
1
Description
Use this global configuration macro to enable rapid PVST+, loop guard, and dynamic
port error recovery for link state failures.
Use this interface configuration macro for increased network security and reliability
when connecting a desktop device, such as a PC, to a switch port.
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.
Use this interface configuration macro when connecting an access switch and a
distribution switch or between access switches connected using GigaStack modules
or GBICs.
Use this interface configuration macro when connecting the switch and a WAN
router.
Passing Parameters Through the Macro, page 21-2
Default SmartPort Macro Configuration, page 21-3
SmartPort Macro Configuration Guidelines, page 21-6
Creating SmartPort Macros, page 21-7
Applying SmartPort Macros, page 21-8
Chapter 21
Configuring SmartPort Macros

Advertisement

Table of Contents
loading

Table of Contents