cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1717
Views
5
Helpful
2
Replies

how do you find the list of builtin variables?

Chris Clifton
Level 1
Level 1

 

  I'm working on a Cisco 4506 with EEM 3.20 and trying to create a script.  I have read the documentation and seen several examples of built in variables.  But when I try them, I get messages that the variable is not found.  It's prob. an issue that the variable is on a different type of hardware (router vs switch).   I also tried show event manager environment but nothing returns.   For example, I have seen "_nd_local_intf_name" used in several scripts but I have not been successful calling it.

 

Thanks,

Chris

1 Accepted Solution

Accepted Solutions

Joe Clarke
Cisco Employee
Cisco Employee

For variables passed to events by their event detector, see the output of "show event manager detector DETECTOR detail".  For example, for _nd* variables, see the output of "show event manager detector neighbor-discovery detail".  Those variables are only available if that specific event triggers the applet.

 

For variables created by various actions, see my document at https://supportforums.cisco.com/document/102581/eem-built-action-variables .

View solution in original post

2 Replies 2

Joe Clarke
Cisco Employee
Cisco Employee

For variables passed to events by their event detector, see the output of "show event manager detector DETECTOR detail".  For example, for _nd* variables, see the output of "show event manager detector neighbor-discovery detail".  Those variables are only available if that specific event triggers the applet.

 

For variables created by various actions, see my document at https://supportforums.cisco.com/document/102581/eem-built-action-variables .

Thanks Joe.  This is the information I was looking for.