Heads Up :
The post you are writing will appear in a public forum. Please ensure all content is appropriate for public consumption. Review the employee guidelines for the community here.
I have a doubt in using regexp in my eem script.
Can someone help me.
My Script:
event manager applet update-port-description event neighbor-discovery interface regexp GigabitEthernet.* cdp add action 1.0 cli command "enable" action 2.0 cli com...
I want the below script to be applied only to particular ports of my 24-port switch. I don't want this to be applied to all my gigabit ports. Help me to make small changes in the script.
Example : I don't want the script to be applied to port 5-10 ...
This script provides neighbor device name and local port connected in the interface description:
event manager applet update-port-description
event neighbor-discovery interface regexp GigabitEthernet.* cdp add
action 1.0 cli command "enable"
action...
Can someone help me understand the below script.
Trim domain name - now with regexpVerifiy switch or router remote end. I don't want this script to update decription on AP's and so on.Do not update description if remote host and interface is uncha...
Hi Guys,I have some doubts with the script , Actually I am trying to develop a script for auto port description update using EEM.I found there is a old script in the forum already but i need to make some changes in them.https://supportforums.cisco.co...
event neighbor-discovery interface regexp .*GigabitEthernet0/[1-5]\s cdp add
event neighbor-discovery interface regexp .*GigabitEthernet0.[1-5]\s cdp add
Both didn't work,
Help me understand the below one and help me on extending that to gi0/[1-1...
Still its a No.
interface regexp .*GigabitEthernet0/[0-9]+$ cdp add
This one worked, Still If I change the limit to gi0/[1-15] , It stopped working.
Check if you get some idea !
I was just curious about the words of that author," This will retain additional information in description like circuit id, vendor and so on even after a link failureIf description is changed, show old description in syslog message"Leaving them aside...