14-2
Catalyst 3750-X and 3560-X Switch Software Configuration Guide
OL-21521-01
Chapter 14 Configuring Auto Smartports Macros
Understanding Auto Smartports and Static Smartports Macros
Auto Smartports uses events to map macros to the source port of the event. The most common event
triggers are based on Cisco Discovery Protocol (CDP) messages received from a connected device. The
detection of a device invokes a CDP event trigger: Cisco IP Phone, Cisco Wireless Access Point
including Autonomous and Lightweight Access Points, Cisco switch, Cisco router, and Cisco IP Video
Surveillance Camera.
Additional event triggers for Cisco and third-party devices are user-defined MAC-address groups, MAC
authentication bypass (MAB) messages, 802.1x authentication messages, and Link Layer Discovery
Protocol (LLDP) messages.
LLDP supports a set of attributes that it uses to discover neighbor devices. These attributes contain type,
length, and value descriptions and are referred to as TLVs. LLDP-supported devices use TLVs to receive
and send information. This protocol advertises details such as configuration information, device
capabilities, and device identity. Auto Smartports uses the LLDP system capabilities TLV as the event
trigger. For more information about configuring the LLDP system capabilities TLV attributes for Auto
Smartports, see Chapter 30, “Configuring LLDP, LLDP-MED, and Wired Location Service.”
For devices that do not support CDP, MAB, or 802.1x authentication, such as network printers, LLDP,
or legacy Cisco Digital Media Players, you can configure a MAC-address group with a MAC
operationally unique identifier (OUI)-based trigger. You map the MAC-address to a built-in or
user-defined macro containing the desired configuration.
You can designate a remote server location for user-defined macro files. You can then update and
maintain one set of Auto Smartport macro files for use by multiple switches across the network.
The Auto Smartports macro persistent feature enables macro configurations to remain applied on the
switch ports regardless of a detected linkdown event. You can use this feature to make the Auto
Smartport macros configurations static on the switch. This can eliminate multiple system log and
configuration change notification events when the switch has linkup and linkdown events or is a
participating entity in an EnergyWise-configured network.
Auto Smartports and Cisco Medianet
Cisco Medianet enables intelligent services in the network infrastructure for a wide variety of video
applications. One of the services of Medianet is auto provisioning for Cisco Digital Media Players and
Cisco IP Video Surveillance cameras through Auto Smartports. The switch identifies Cisco and
third-party video devices by using CDP, 802.1x, MAB, LLDP, and MAC addresses (Figure 14-1). The
switch applies the applicable Auto Smartports macro to enable the appropriate VLAN and QoS settings
for the device. The switch also uses a built-in MAC-address group to detect the legacy Cisco DMP, based
on an OUI of of4400 or 23ac00. You can also create custom user-defined macros for any video device.