cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
997
Views
0
Helpful
6
Replies

Cisco router

srinivas12
Level 1
Level 1

On a same router, can we configure if one of the port goes down then the other port is down automatically.?

1 Accepted Solution

Accepted Solutions

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"

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

View solution in original post

6 Replies 6

Hi

 It is possible using EEM script but not using CLI command, if that what you want.

Where can i find it.? Can you attach here.?

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"

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Yes correct, I cannot do it via CLI ?

yes you configure via config more ( from console)

 

make sure you understand script and interface correct.

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

balaji.bandi
Hall of Fame
Hall of Fame

Sure you can use EEM Script for this, monitor the SYSLog and shudown other interface.

 

Hope that works for you ?

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Review Cisco Networking for a $25 gift card