Cisco Systems 3560 Manual De Usuario

Descargar
Página de 1288
 
12-3
Catalyst 3560 Switch Software Configuration Guide
OL-8553-06
Chapter 12      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. 
  •
To avoid system conflicts when Auto Smartports 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 removed. (The antimacro is the portion of the applied 
macro that removes it at link down.)
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 should not be a member of an EtherChannel when applying Auto Smartports macros.
  •
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.
  •
For 802.1x authentication or MAB, configure the RADIUS server to support the Cisco 
attribute-value (av) pair auto-smart-port=event trigger to detect non-Cisco devices.
  •
For stationary devices that do not support CDP, MAB, or 802.1x authentication, such as network 
printers, we recommend that you disable Auto Smartports on the port.
  •
If authentication is enabled on a port, the switch ignores CDP unless the cdp-fallback keyword is 
in the macro auto global processing global configuration command.
  •
The order of CLI commands within the macro and the corresponding antimacro can be different.
Enabling Auto Smartports
To configure the switch to automatically apply Auto Smartports macros on all ports, use the macro auto 
global processing
 global configuration command. To disable Auto Smartports macros on a specific port, 
use the no auto global processing in the interface mode.
Beginning in privileged EXEC mode, follow these steps.
To return to the default setting, use the no macro auto global processing global configuration 
command.
Command
Purpose
Step 1
configure terminal
Enter global configuration mode.
Step 2
macro auto global processing 
[cdp-fallback]
Globally enable Auto Smartports on the switch.
(Optional) Use the cdp-fallback keyword to enable the switch to use 
CDP capability information when a port is 802.1x-enabled and the 
RADIUS server does not send an event trigger.
Step 3
end 
Return to privileged EXEC mode.
Step 4
show running-config
Verify that Auto Smartports is enabled.
Step 5
copy running-config startup-config
(Optional) Save your entries in the configuration file.