22-5
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
Chapter 22 Configuring Cisco IOS Auto Smartport Macros
Configuring Auto Smartport Macros
Note
By default, the built-in event triggers are mapped to the built-in macros.
Auto Smartport Configuration Guidelines
Auto Smartport guidelines include the following:
•
To avoid system conflicts when Auto Smartport macros are applied, remove all port configuration
except for 802.1X authentication.
•
If the macro conflicts with the original configuration, some macro commands might not be applied,
or some antimacro commands might not be applied. (The antimacro is the portion of the applied
macro that removes it at link down.)
Note
Failure of one command in the macro halts the application of the entire macro.
For example, if 802.1X authentication is enabled, you cannot remove switchport-mode access
configuration. You must remove the 802.1X authentication before removing the configuration.
•
A port should not be a member of an EtherChannel when applying Auto Smartport macros.
If Auto Smartport is not yet enabled globally, disable Auto Smartport on all the EtherChannel ports
before enabling it globally. If Auto Smartport is already enabled, shut down the port and disable it
before adding the port to an EtherChannel.
Note
If an Auto Smartport macro is applied on an interface, EtherChannel configuration usually fails
because of conflict with the auto-QoS configuration applied by the macro.
•
The built-in macro default data VLAN is VLAN 1. The default voice VLAN is VLAN 2. You should
modify the built-in macro default values if your switch uses different VLANs. To view all built-in
macro default values, use the
show shell
functions
privileged EXEC command.
CISCO_ROUTER_AUTO_
SMARTPORT
Use this macro to apply the router macro for Cisco routers. It enables QoS,
trunking, and spanning-tree protection on the port.
CISCO_AP_AUTO_
SMARTPORT
Use this macro to apply the wireless access point (AP) macro for Cisco
APs. It enables support for an autonomous wireless access point and QoS
on the port.
CISCO_LWAP_AUTO_
SMARTPORT
Use this macro to apply the lightweight wireless access point macro for
Cisco lightweight wireless APs. It enables QoS, port security, dynamic
ARP inspection, IP source guard, DHCP snooping, storm control, and
spanning tree protection on the port.
CISCO_IP_CAMERA_AUTO_SMARTPORT
Use this macro for a Cisco IP surveillance camera device. It enables QoS,
port security, and access VLAN on the port.
CISCO_DMP_AUTOSMARTPORT
Use this macro for a Cisco digital media player device. It enables QoS, port
security, and access VLAN on the port.
Table 22-2
Auto Smartport Built-in Macros (continued)
Macro Name
Description
Summary of Contents for Catalyst 4500 Series
Page 2: ......
Page 4: ......
Page 2086: ...Index IN 46 Software Configuration Guide Release IOS XE 3 9 0E and IOS 15 2 5 E ...