cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
321
Views
10
Helpful
4
Replies

automatic switching router interface lan Router 7600

jhon.paez.28
Level 1
Level 1

hi

I have a Router 7600 connected to port 1 to Switch1 and I want to implement high availability on the same router interface connecting to another switch2 other replicating the same settings I have on port 1, but I do not want to implement HSRP time change state is the interfece 1, the two interface must be in admin down will automatically rise, is there any way?

 

                   Router

                   |          |

                  S1       S2

Router:

!
interface TenGigabitEthernet1/1
 description CONNECT TO SW1
 no ip address
!
interface TenGigabitEthernet1/1.7
 description RED 1
 encapsulation dot1Q 7
 ip address 10.1.1.65 255.255.255.192
!
interface TenGigabitEthernet1/1.50
 description RED 2
 encapsulation dot1Q 50
 ip address 10.2.2.1 255.255.255.192
!
!
interface TenGigabitEthernet1/2
 description CONNECT TO SW2
 no ip address

 shutdown
!
interface TenGigabitEthernet1/2.7
 description RED 1
 encapsulation dot1Q 7
 ip address 10.1.1.65 255.255.255.192

 shutdown
!
interface TenGigabitEthernet1/2.50
 description RED 2
 encapsulation dot1Q 50
 ip address 10.2.2.1 255.255.255.192

 shutdown
!

4 Replies 4

jubair151
Level 1
Level 1

Hi,

 

You may please use IP SLA to monitor your Te1/1 interface and use EEM script to enable to track the IP SLA and run the command to enable Te1/2 router interface. Below idea may achieve your goal

 

1) IP SLA to monitor the Te1/1 interfaec

2) Configure the EEM SCRIPT to monitor the IP SLA

         a) If IP SLA fails, invoke commands to enable the Te1/2 interface

         c) If IPSLA success, invoke the commands to disable the Te1/2 Inrterface which will shut the Te1/2 interface and thereby active Te1/1 interface. Means back to your previous setup.

 

Regards,

Jubair.S

 

Hi Jubair,

No need IP SLA you can use (even syslog patteren " ") command

 

event manager applet TEST

event syslog pattern"Line protocol on Interface TenGigabitEthernet1/1.7, changed state to down"

action 1.0 cli command "enable"
action 1.1 cli command "configure terminal"
action 1.2 cli command "TenGigabitEthernet1/1.7"
action 1.4 cli command "no ip address"


action 1.5 cli command "TenGigabitEthernet1/2.7"
action 1.6 cli command "no sh"
action 1.7 cli command "encapsulation dot1Q 7" 

action 1.8 cli command "ip address 10.1.1.65 255.255.255.192"

Hi Syed,

 

yes, we can use log pattern also. In a short, EEM script has to chceck the interface status and do the action as per our requirement.

Regards,

Jubair.S

Hi Jhon,

One way is which described by Jubair , there is another way:

1) Make a stack of two switches

http://www.cisco.com/c/en/us/support/docs/switches/catalyst-3750-series-switches/69979-cross-stack-etherchannel.html

2)Make ether-channel on router and on stack end

http://www.cisco.com/c/en/us/support/docs/switches/catalyst-2950-series-switches/24042-158.html

Then your topology will be redundant.

HTH

Kazim

Review Cisco Networking for a $25 gift card