Mac Address-Based Event Trigger - 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

Chapter 22
Configuring Cisco IOS Auto Smartport Macros
Command
Step 4
Switch# show shell triggers
Step 5
Switch# copy running-config
startup-config
Use the no shell trigger identifier global configuration command to delete the event trigger.
The following example shows how to define a user-defined trigger:
Switch# configure terminal
Enter configuration commands, one per line.
Switch(config)# shell trigger RADIUS_MAB_EVENT MAC_AuthBypass Event
Switch(config)#

MAC Address-Based Event Trigger

To configure a MAC address group as an event trigger, perform this task:
Command
Step 1
Switch# configure terminal
Step 2
Switch(config)# macro auto
mac-address group
Step 3
Switch(config)# end
Step 4
Switch# show shell triggers
Step 5
Switch# copy running-config
startup-config
Use the no macro auto mac-address-group grp_name to delete the event trigger.
Configuring Mapping Between User-Defined Triggers and Built-in Macros
You need to map the user-defined trigger to either a built-in macro or user-defined macro.
To map a user-defined trigger to a built-in macros, perform this task:
Command
Step 1
Switch# configure terminal
Step 2
Switch(config)# macro auto execute
event trigger builtin built-in macro
name [parameter=value]
[parameter=value]
Purpose
Displays the event triggers on the switch.
(Optional) Saves your entries in the configuration file.
Purpose
Enters global configuration mode.
Specifies a group of MAC address as an event trigger.
Changes mode to config-mac-addr-grp. You can then add or remove the
MAC address or Organizational Unique Identifier (OUI) from the group.
The group value defines the user-defined trigger.
Returns to privileged EXEC mode.
Displays the event triggers on the switch.
(Optional) Saves your entries in the configuration file.
Purpose
Enters global configuration mode.
Specifies a user-defined event trigger and a macro name. This action
replaces built-in macro default values, and configures mapping from an
event trigger to a built-in Auto Smartport macros.
Note
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
End with CNTL/Z.
When performing a mapping, you must provide parameter
values. For example, you must specify $ACCESS_VLAN=(1)
and $VOICE_VLAN=(2) for the macro
CISCO_PHONE_AUTO_SMARTPORT.
Configuring Auto Smartport Macros
22-9

Advertisement

Table of Contents
loading

Table of Contents