03-24-2022 12:25 AM
Dears,
I have the following configuration done for backup interfaces (FlexLink+), my question is that does this feature support automatic preemption for the primary and secondary interfaces?
As when i enable the primary port by no-shut the link from the other end, it does not restore the "Open" state, and the secondary stays the "Open" port.
!
interface GigabitEthernet1/1/1
switchport trunk allowed vlan 310,350
switchport mode trunk
rep segment 1 edge no-neighbor primary
end
!
interface GigabitEthernet1/1/2
switchport trunk allowed vlan 310,350
switchport mode trunk
rep segment 1 edge no-neighbor preferred
end
Solved! Go to Solution.
03-24-2022 03:19 AM
Actually, i have implemented the following command instead and it it worked:
event manager applet Interface-UP
event syslog pattern "%LINK-3-UPDOWN: Interface GigabitEthernet1/1/1, changed state to up"
action 5.0 cli command "enable"
action 5.1 cli command "conf t"
action 5.2 cli command "interface g1/1/2"
action 5.3 cli command "shut"
action 5.4 cli command "end"
event manager applet interface-Down
event syslog pattern "%LINK-3-UPDOWN: Interface GigabitEthernet1/1/1, changed state to down"
action 5.5 cli command "enable"
action 5.6 cli command "conf t"
action 5.7 cli command "interface g1/1/2"
action 5.8 cli command "no shut"
action 5.9 cli command "end"
03-24-2022 01:24 AM
what switch model is this and IOS Code running : check example delay :
03-24-2022 01:28 AM
switch model is 9200 IOS version 16.x.
I followed the document with no luck.
03-24-2022 01:59 AM
did not have hands-on Cat 9200,
but interesting check below link some facts :
https://community.cisco.com/t5/switching/flexlink-support-on-catalyst-9000-series/td-p/3496864
03-24-2022 02:12 AM
The only thing they say, is that the feature is deprectaed!!!
How is that possible, as still we are able to configure it using the "rep" commands, and as shown in the document shared by you earlier???
03-24-2022 03:19 AM
Actually, i have implemented the following command instead and it it worked:
event manager applet Interface-UP
event syslog pattern "%LINK-3-UPDOWN: Interface GigabitEthernet1/1/1, changed state to up"
action 5.0 cli command "enable"
action 5.1 cli command "conf t"
action 5.2 cli command "interface g1/1/2"
action 5.3 cli command "shut"
action 5.4 cli command "end"
event manager applet interface-Down
event syslog pattern "%LINK-3-UPDOWN: Interface GigabitEthernet1/1/1, changed state to down"
action 5.5 cli command "enable"
action 5.6 cli command "conf t"
action 5.7 cli command "interface g1/1/2"
action 5.8 cli command "no shut"
action 5.9 cli command "end"
03-24-2022 04:13 AM
Sure EEM is other options was about to suggest, but glad you able to resolve the issue.
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