EasyManua.ls Logo

Cisco SF500-24P

Cisco SF500-24P
548 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Smartport
Smartport Macros
177 Cisco 500 Series Stackable Managed Switch Administration Guide Release 1.3
11
Smartport Macros
A Smartport macro is a script of CLI commands that configure an interface
appropriately for a particular network device.
Smartport macros should not be confused with global macros. Global macros
configure the device globally, however, the scope of a Smartport macro is limited
to the interface on which it is applied.
The macro source may be found by running the show parser macro name
[macro_name] command in privileged exec mode of the CLI or by clicking the
View Macro Source button on the Smartport Type Settings page.
A macro and the corresponding anti-macro are paired together in association with
each Smartport type. The macro applies the configuration and the anti-macro
removes it.
There are two types of Smartport macros:
Built-InThese are macros provided by the system. One macro applies the
configuration profile and the other removes it. The macro names of the built-
in Smartport macros and the Smartport type they are associated with as
follows
- macro-name (for example: printer)
- no_macro-name (for example: no_printer)
User-DefinedThese are macros written by the users. See the CLI
Reference Guide for more information about these. To associate a user
defined macro to a Smartport type, its anti macro must be defined as well.
- smartport-type-name (for example: my_printer)
- no_smartport-type-name (for example: no_my_printer)
Smartport macros are bound to Smartport types in the Edit Smartport Type
Setting page.
See Built-in Smartport Macros for a listing of the built-in Smartport macros for
each device type.

Table of Contents

Other manuals for Cisco SF500-24P

Related product manuals