01-18-2023 07:51 AM
Hey,
Since month we have problems with redundancy links in our new network infrastruvture design.
We have a Core layer with a Cisco C9500 Stack Cluster
and and Access Layer where we want to connect a other manufacturers Ring to the Cisco Cluster.
REP Protocol didnt worked.
Spanning-tree we dont want to use.
Now my next idea:
IP SLA.
But i dont know how to configure that on this Cisco C9500. The Access Ring has 2 links but one is disabled. If the active link dies, the other link has to come in up state.
I found some old configuration examples, but the syntax changed.
There should be commands something like this:
track 1 interface twe1/0/1 line-protocol
event manager track_interface
event track 1 state down
action 1.0 syslog msg "Interface twe1/0/1 has gone down; taking up intt we1/0/2"
action 2.0 cli command "enable"
action 3.0 cli command "config t"
action 4.0 cli command "int twe1/0/2"
action 5.0 cli command "no shut"
action 6.0 cli command "end"
How i can do this on Cisco Catalyst 9500?
Or is there another solution, like the old "Flexlink"?
Best regards, Dag
01-18-2023 08:00 AM - edited 01-18-2023 08:01 AM
event manager applet track_interfaceDown
event track 1 state down
action 1.0 syslog msg "Interface twe1/0/1 has gone down; taking up intt we1/0/2" <<- this optional
action 2.0 cli command "enable"
action 3.0 cli command "config t"
action 4.0 cli command "int twe1/0/2"
action 5.0 cli command "no shut"
action 6.0 cli command "end"
!
event manager applet track_interfaceUp
event track 1 state Up
action 1.0 syslog msg "Interface twe1/0/1 has gone up; taking down intt we1/0/2" <<- this optional
action 2.0 cli command "enable"
action 3.0 cli command "config t"
action 4.0 cli command "int twe1/0/2"
action 5.0 cli command "shut"
action 6.0 cli command "end"
this should work
01-19-2023 07:21 AM
Thank you for your fast reply!
But how i can send this commands with "event X X" and "action X X"
I cant send this commands.
Output:
[...]
TestSwitch(config)#event manager applet track_interfaceDown
^
% Invalid input detected at '^' marker.
TestSwitch(config)#
TestSwitch(config)#event track 1 state down
^
% Invalid input detected at '^' marker.
TestSwitch(config)#
TestSwitch(config)#$down; taking up intt we1/0/2"
action 1.0 syslog msg "Interface twe1/0/1 has gone down; taking up intt we1/0/2" ^
% Invalid input detected at '^' marker.
TestSwitch(config)#
TestSwitch(config)#action 2.0 cli command "enable"
^
% Invalid input detected at '^' marker.
[...]
Where i have to set this commands that the switch is taking them?
01-18-2023 08:55 AM - edited 01-18-2023 08:58 AM
REP Protocol didnt worked. - is this Limitation otehr vendor or Cisco :
Cat 9500 do support :
Depends on how big ring here, if you choosing with EEM - you need to have EEM config all the switches to track.
EDIT :
"Flexlink"? - as per the release notes Flexlink + support (not tested just give you heads up)
01-19-2023 07:23 AM
Thank you for your fast reply!
But with rep protocol, i dont know why, it doesnt work!
There is one redundancy first, but in case that the second link is coming up, you cant switch baack to the active link.
Then the construct isnt working anymore, till you delete the configurtaion on the interfaces and paste them new.
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