Date created: Thursday, July 12, 2018 11:49:17 AM. Last modified: Thursday, July 12, 2018 11:49:32 AM
Add/Remove Config
When bug testing it can be handy to repeatedly apply and remove certain config:
event manager applet TEST event timer watchdog time 100 ! Time in seconds action 1.0 syslog msg "EEM Triggered" action 1.1 cli command "enable" action 1.2 cli command "conf t" action 1.3 cli command "interface tenGigabitEthernet 0/0/3" action 1.4 cli command "no service-policy input PE-QOS-PSN-CORE-IN" action 1.5 cli command "no service-policy output PE-QOS-PSN-CORE-OUT" action 1.6 cli command "end" event manager applet TEST1 event timer watchdog time 50 action 1.0 syslog msg "EEM Triggered" action 1.1 cli command "enable" action 1.2 cli command "conf t" action 1.3 cli command "interface tenGigabitEthernet 0/0/3" action 1.4 cli command "service-policy input PE-QOS-PSN-CORE-IN" action 1.5 cli command "service-policy output PE-QOS-PSN-CORE-OUT" action 1.6 cli command "end"
Previous page: ISIS Basic Multi-Topology
Next page: EEM to repeatedly watch tracker state