cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
493
Views
0
Helpful
1
Replies

Event Manager applet on Nexus

TRACY HARTMANN
Level 1
Level 1

I am trying to use Event Manager applet on a Nexus to do a couple things on several Vlans.

event manager applet Linkdown
event track 8 state down
action 1.1 cli conf t
action 1.2 cli interface Vlan120
action 1.3 cli no ip policy route-map v6
action 1.4 cli ip policy route-map v7

event manager applet LinkUp
event track 8 state up
action 1.1 cli conf t
action 1.2 cli interface Vlan120
action 1.3 cli no ip policy route-map v7 
action 1.4 cli ip policy route-map v6

This works fine but I have to many lines of code since I want to do this with several Vlans.  Belo is the error I get

Configuration failed with: 0x412c0009 parameter is invalid or too long

Sine the action I want to take on several Vlans (not all) are they same could I put on line 1.2 cli interface Vlan120, interface Vlan121

Basically list the Vlans I want to have this completed on or do I need a line item for each Vlan?  

There seems to be a limitation on the number of entries I can put in the Event.

 

 

 

1 Reply 1

Hello @TRACY HARTMANN ,

just tried your config on a Nexus9K and it works without any errors:

nxos9000-0# sho run | section event
rmon event 1 log trap public description FATAL(1) owner PMON@FATAL
rmon event 2 log trap public description CRITICAL(2) owner PMON@CRITICAL
rmon event 3 log trap public description ERROR(3) owner PMON@ERROR
rmon event 4 log trap public description WARNING(4) owner PMON@WARNING
rmon event 5 log trap public description INFORMATION(5) owner PMON@INFO
event manager applet LinkUp
event track 8 state up
action 1.1 cli conf t
action 1.2 cli interface Vlan120
action 1.3 cli no ip policy route-map v7
action 1.4 cli ip policy route-map v6
event manager applet Linkdown
event track 8 state down
action 1.1 cli conf t
action 1.2 cli interface vlan120
action 1.3 cli no ip policy route-map v6
action 1.4 cli ip policy route-map v7

I'm running this on a Nexus9K with NXOS image file is: bootflash:///nxos64-cs.10.3.1.F.bin

For the second question, you can always use the interface range command: interface Vlan120-121

Hope it helps.

Regards, LG
*** Please Rate All Helpful Responses ***