06-16-2022 04:03 AM
On a same router, can we configure if one of the port goes down then the other port is down automatically.?
Solved! Go to Solution.
06-16-2022 04:15 AM
example :
event manager applet INTERFACE_DOWN
event syslog pattern "Interface GigabitEthernet0/0, changed state to down" ( check this interfaces based on requirement)
action 1.0 cli command "enable"
action 2.0 cli command "config term"
action 3.0 cli command "interface GigabitEthernet0/1"
action 4.0 cli command "shutdown"
06-16-2022 04:07 AM
Hi
It is possible using EEM script but not using CLI command, if that what you want.
06-16-2022 04:10 AM
Where can i find it.? Can you attach here.?
06-16-2022 04:15 AM
example :
event manager applet INTERFACE_DOWN
event syslog pattern "Interface GigabitEthernet0/0, changed state to down" ( check this interfaces based on requirement)
action 1.0 cli command "enable"
action 2.0 cli command "config term"
action 3.0 cli command "interface GigabitEthernet0/1"
action 4.0 cli command "shutdown"
06-16-2022 04:16 AM
Yes correct, I cannot do it via CLI ?
06-16-2022 04:20 AM
yes you configure via config more ( from console)
make sure you understand script and interface correct.
06-16-2022 04:07 AM
Sure you can use EEM Script for this, monitor the SYSLog and shudown other interface.
Hope that works for you ?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide