Cisco Systems A9014CFD Router User Manual


 
31-8
Cisco ASR 901 Series Aggregation Services Router Software Configuration Guide
OL-23826-09
Chapter 31 Microwave ACM Signaling and EEM Integration
How to Configure Microwave ACM Signaling and EEM Integration
Step 4
event tag
event-tag
ethernet microwave
clear-sd {interface
type number
}
Example:
Router(config-applet)# event tag
event_cd ethernet microwave clear-sd
interface GigabitEthernet0/10
Specifies the event criteria for an EEM applet that is run by
matching a Cisco IOS command-line interface (CLI).
tag—Specifies a tag using the event-tag argument that can be
used with the trigger command to support multiple event
statements within an applet.
event-tag—String that identifies the tag.
Step 5
event tag
event-tag
ethernet microwave
sd {interface
type number
} threshold
mbps
Example:
Router(config-applet)# event tag
event_sd ethernet microwave sd
interface GigabitEthernet0/10 threshold
1000
Specifies the event criteria for an EEM applet that is run by
matching a Cisco IOS CLI.
Step 6
action
action-id
set
variable-name
variable-value
Example:
Router(config-applet)# action 110 set
ifname "vlan $_svi61"
Sets the value of a variable when an EEM applet is triggered.
action-id—Unique identifier that can be any string value.
Actions are sorted and run in ascending alphanumeric key
sequence using the label as the sort key. If the string contains
embedded blanks, enclose it in double quotation marks.
variable-name—Name assigned to the variable to be set.
variable-value—Value of the variable.
Step 7
action
action-id
cli command
cli-string
Example:
Router(config-applet)# action 458 cli
command "event manager applet ACM61"
Specifies the action of executing a Cisco IOS CLI when an EEM
applet is triggered.
action-id—Unique identifier that can be any string value.
Actions are sorted and run in ascending alphanumeric key
sequence using the label as the sort key. If the string contains
embedded blanks, enclose it in double quotation marks.
command—Specifies the message to be sent to the Cisco IOS
CLI.
cli-string—CLI string to be executed. If the string contains
embedded blanks, enclose it in double quotation marks.
Command Purpose