Smartport
Smartport Macros
149
Cisco Small Business 300 Series Managed Switch Administration Guide
10
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-In—These 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-Defined—These 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.
Содержание Small Business 300
Страница 1: ...Cisco Small Business 300 Series Managed Switch Administration Guide Release 1 3 ADMINISTRATION GUIDE ...
Страница 17: ...Cisco Small Business 300 Series Managed Switch Administration Guide 16 Contents ...
Страница 28: ...Getting Started Window Navigation 11 Cisco Small Business 300 Series Managed Switch Administration Guide 1 ...
Страница 44: ...Status and Statistics Managing RMON 27 Cisco Small Business 300 Series Managed Switch Administration Guide 2 ...
Страница 192: ...Smartport Built in Smartport Macros 175 Cisco Small Business 300 Series Managed Switch Administration Guide 10 ...
Страница 200: ...Port Management PoE Configuring PoE Settings 183 Cisco Small Business 300 Series Managed Switch Administration Guide 11 ...
Страница 376: ...Security Dynamic ARP Inspection 359 Cisco Small Business 300 Series Managed Switch Administration Guide 17 ...
Страница 428: ...Access Control Defining ACL Binding 411 Cisco Small Business 300 Series Managed Switch Administration Guide 21 ...
Страница 462: ...Quality of Service Managing QoS Statistics 445 Cisco Small Business 300 Series Managed Switch Administration Guide 22 ...
Страница 482: ...SNMP SNMP Notification Filters 465 Cisco Small Business 300 Series Managed Switch Administration Guide 23 ...