Smartport Macros
A Smartport macro is a script of CLIcommands that configure a port appropriately for a particular network device.
Smartport macros are implemented as CLImacros.
There are two types of Smartport macros:
- Built-In--These are macros provided by the system. They come in pairs. 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
- 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 macros are assigned to Smartport types in the Edit Port Type Settings page. The macros may have parameters, such as access VID and native VID, which can also be configured in the same page.
Auto Smartport uses these parameter values when the Smartport macro is applied.
See the Port Profile Details section for a listing of the built-in Smartport macro for each device type.