22-4
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
Use the
show shell
functions
and the
show shell
triggers
privileged EXEC command to display the event
triggers, the built-in macros, and the built-in macro default values.
This example shows how enable Auto Smartport on the switch and how to disable the feature on a
specific interface:
Switch(config)#
macro auto global processing
Switch(config)#
interface
interface_id
Switch(config-if)#
no macro auto processing
Auto Smartport Default Configuration
By default, Cisco IOS shell is enabled and Auto Smartport is disabled globally.
shows the Auto Smartport built-in event triggers that are embedded in the switch software by
default.
shows the Auto Smartport built-in macros that are embedded in the switch software.
Step 4
Switch#
show running-config
Verifies that Auto Smartport is enabled.
Step 5
Switch#
copy running-config
startup-config
(Optional) Saves your entries in the configuration file.
Command
Purpose
Table 22-1
Auto Smartport Built-in Event Trigger Macros
Event Trigger Name
Description
CISCO_PHONE_EVENT
System detects that a phone device is connected to an interface.
CISCO_SWITCH_EVENT
System detects that a switch is connected to an interface.
CISCO_ROUTER_EVENT
System detects that a router is connected to an interface.
CISCO_WIRELESS_AP_EVENT
System detects that a wireless application is connected to an
interface.
CISCO_WIRELESS_LIGHTWEIGHT_AP_EVENT
System detects that a wireless lightweight application is connected
to an interface.
CISCO_DMP_EVENT
System detects that a digital media player is connected to an
interface.
CISCO_IPVSC_EVENT
System detects that an IP video surveillance camera is connected
to an interface.
Table 22-2
Auto Smartport Built-in Macros
Macro Name
Description
CISCO_PHONE_AUTO_
SMARTPORT
Use this macro for Cisco IP phone device. It enables QoS, port security,
Address Resolution Protocol (ARP) inspection (dynamic ARP inspection),
IP source guard, DHCP snooping, storm control and spanning tree
protection on the port.
CISCO_SWITCH_AUTO_
SMARTPORT
Use this macro to apply the switch macro for Cisco switches. It enables
trunking on the port.
Содержание Catalyst 4500 Series
Страница 2: ......
Страница 4: ......
Страница 2086: ...Index IN 46 Software Configuration Guide Release IOS XE 3 9 0E and IOS 15 2 5 E ...