Cisco Systems 3560X Manual De Usuario

Descargar
Página de 1438
 
14-4
Catalyst 3750-X and 3560-X Switch Software Configuration Guide
OL-21521-01
Chapter 14      Configuring Auto Smartports Macros
Configuring Auto Smartports
Auto Smartports Configuration Guidelines
  •
The built-in macros cannot be deleted or changed. However, you can override a built-in macro by 
creating a user-defined macro with the same name. To restore the original built-in macro, delete the 
user-defined macro. 
  •
If you enable both the macro auto device and the macro auto execute global configuration 
commands, the parameters specified in the command last executed will be applied to the switch. 
Only one command is active on the switch.
  •
To avoid system conflicts when Auto Smartports macros are applied, remove all port configuration 
except for 802.1x authentication.
  •
Do not configure port security when enabling Auto Smartports on the switch.
  •
If the macro conflicts with the original configuration, the macro will not apply some of the original 
configuration commands, or the antimacro will not remove them. (The antimacro is the portion of 
the applied macro that removes the macro at a link-down event.)
For example, if 802.1x authentication is enabled, you cannot remove switchport-mode access 
configuration. Remove the 802.1x authentication before removing the switchport mode 
configuration.
  •
A port cannot be a member of an EtherChannel when you apply Auto Smartports macros. If you use 
EtherChannels, disable Auto Smartports on interfaces that are members of the EtherChannels by 
using the no macro auto processing interface configuration command.
  •
The built-in macro default data VLAN is VLAN 1. The built-in macro default voice VLAN is 
VLAN 2. (VLAN 1 is the default data VLAN for all macros. VLAN 2 is the default voice VLAN 
for all macros.) If your switch uses different access, native, or voice VLANs, use the macro auto 
device
 or the macro auto execute global configuration commands to configure the desired 
nondefault values.
  •
Use the show macro auto device privileged EXEC command to display the default macros with the 
default parameter values, current values, and the configurable parameter list for each macro. You 
can also use the show shell functions privileged EXEC command to view the built-in macro default 
values.
CISCO_ROUTER_AUTO_
 
SMARTPORT
This macro applies the router macro for Cisco routers. It enables QoS and trunking with 802.1Q 
encapsulation, and spanning-tree BPDU protection.
CISCO_AP_AUTO_
 
SMARTPORT
This macro applies the wireless access point macro for Cisco APs. It enables QoS and trunking 
with 802.1Q encapsulation. It also configures the native VLAN on the interface.
CISCO_LWAP_AUTO_
 
SMARTPORT
This macro applies the light-weight wireless access point macro for Cisco light-weight 
wireless access points. It enables QoS, port security, storm control, DHCP snooping, and 
spanning-tree protection. It configures the access VLAN for the interface and provides network 
protection from unknown unicast packets.
CISCO_IPVSC_AUTO_
 
SMARTPORT
This macro applies the IP camera macro for Cisco IP video surveillance cameras. It enables 
QoS trust, port security, and spanning-tree protection. It configures the access VLAN for the 
interface and provides network protection from unknown unicast packets.
CISCO_DMP_AUTO_
 
SMARTPORT
This macro applies the digital media player macro for Cisco digital media players. It enables 
QoS trust, port security, and spanning-tree protection. It configures the access VLAN for the 
interface and provides network protection from unknown unicast packets.
Table 14-1
Auto Smartports Built-In Macros (continued)
Macro Name
Description