Chapter 11 Configuring Smartports Macros; Understanding Smartports Macros - Cisco WS-C2960-24LC-S Software Configuration Manual

Software guide
Table of Contents

Advertisement

Configuring Smartports Macros
This chapter describes how to configure and apply Smartports macros on the Catalyst 2960 switch.
Note
For complete syntax and usage information for the commands used in this chapter, see the command
reference for this release.
This chapter consists of these sections:

Understanding Smartports Macros

Smartports macros provide a convenient way to save and share common configurations. You can use
Smartports macros to enable features and settings based on the location of a switch in the network and
for mass configuration deployments across the network.
Each Smartports macro is a set of command-line interface (CLI) commands that you define. Smartports
macros do not contain new CLI commands; they are simply a group of existing CLI commands.
When you apply a Smartports macro on an interface, the CLI commands within the macro are configured
on the interface. When the macro is applied to an interface, the existing interface configurations are not
lost. The new commands are added to the interface and are saved in the running configuration file.
There are Cisco-default Smartports macros embedded in the switch software (see
display these macros and the commands they contain by using the show parser macro user EXEC
command.
Table 11-1
Cisco-Default Smartports 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.
OL-8603-04
Understanding Smartports Macros, page 11-1
Configuring Smartports Macros, page 11-2
Displaying Smartports Macros, page 11-8
C H A P T E R
Catalyst 2960 Switch Software Configuration Guide
11
Table
11-1). You can
11-1

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ws-c2960s-24td-lWs-c2960s-48lpd-lCatalyst 2960

Table of Contents