Configuring User-Defined Event Triggers - Cisco Catalyst 4500 Series Software Configuration Manual

Cisco ios xe release 3.9.xe and cisco ios release 15.2(5)ex
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

Configuring Auto Smartport Macros
Switch(config)#!!! the next command enables auto smart ports globally
Switch(config)# macro auto global processing fallback cdp
Switch(config)#
Switch(config)# exit
Switch#
Switch# show running-config interface gigabitethernet2/7
Building configuration...
Current configuration : 284 bytes
!
switchport access vlan 10
switchport mode access
switchport voice vlan 2
switchport port-security maximum 2
switchport port-security
switchport port-security aging time 2
switchport port-security violation restrict
switchport port-security aging type inactivity
auto qos voip cisco-phone
qos trust device cisco-phone
neighbor device type phone
macro description CISCO_PHONE_EVENT
spanning-tree portfast
spanning-tree bpduguard enable
service-policy input AutoQos-VoIP-Input-Cos-Policy
service-policy output AutoQos-VoIP-Output-Policy
end
You can also use the macro auto device command to simplify changing the parameters for a built-in
Note
functions for a device type.

Configuring User-Defined Event Triggers

You can configure two types of event triggers: user-defined and MAC address-based.
The following sections describe these triggers:
802.1X-Based Event Trigger
When using MAB or 802.1X authentication to trigger Auto Smartport macros, you need to create an
event trigger that corresponds to the Cisco AV pair (auto-smart-port=event trigger) sent by the
RADIUS server.
To configure an event trigger, perform this task:
Command
Step 1
Switch# configure terminal
Step 2
Switch(config)# shell trigger
identifier description
Step 3
Switch(config)# end
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
22-8
802.1X-Based Event Trigger, page 22-8
MAC Address-Based Event Trigger, page 22-9
Chapter 22
Purpose
Enters global configuration mode.
Specifies the event trigger identifier and description.
The identifier should have no spaces or hyphens between words.
Returns to privileged EXEC mode.
Configuring Cisco IOS Auto Smartport Macros

Advertisement

Table of Contents
loading

Table of Contents