Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Using output from pwd in current directory

Hi,

I'm new to EEM in IOS-XR or EEM in general. 

I'm looking to use the output from the CLI in the current vty session and use it as a argument to a TCL-script.

Example: 

RP/0/RSP0/CPU0:Router(config)#router isis  1
RP/0/RSP0/CPU0:Router(config-isis)#pwd

Mon Mar 17 10:38:01.827 CET
router isis 1

I was thinking a alias that triggers a tcl-script and then executes a command in the same working directory as the user who executed the alias is in or some other way and can save the information from the current session. 

Is this is possible?

 

Everyone's tags (1)
1 REPLY
Cisco Employee

Unfortunately, this is not

Unfortunately, this is not possible.  The config submode is not passed as a variable to the CLI event detector.

38
Views
0
Helpful
1
Replies