01-19-2017 06:22 PM - edited 03-08-2019 08:59 AM
hello is there any way to have a switch port detect that a access port is down, shut the port and no shut another?
we have a very important piece of hardware that has an exact copy running right next to it, and a cold spare on the shelf. as it stands now if the main system fails i have to get in to the system and shut one port and no shut the other to get the backup running this is very rare but would be nice to automate.
i have a 2960x that i am working with
Solved! Go to Solution.
01-20-2017 12:30 AM
Hi
If the 2960 supports flex links you can do it , its very basic fail over 1 active 1 standby l2 link
I see it available in my 2960s and there no X there WS-C2960S-48TS-L , so should be in X series too
please see guide
http://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst3550/software/release/12-2_25_see/configuration/guide/swflink.html#wp1056578
xxxxxxxxxx(config-if)#switchport ?
access Set access mode characteristics of the interface
autostate Include or exclude this port from vlan link up calculation
backup Set backup for the interface
block Disable forwarding of unknown uni/multi cast addresses
host Set port host
mode Set trunking mode of the interface
nonegotiate Device will not engage in negotiation protocol on this interface
port-security Security related command
priority Set appliance 802.1p priority
protected Configure an interface to be a protected port
trunk Set trunking characteristics of the interface
voice Voice appliance attributes
01-20-2017 12:30 AM
Hi
If the 2960 supports flex links you can do it , its very basic fail over 1 active 1 standby l2 link
I see it available in my 2960s and there no X there WS-C2960S-48TS-L , so should be in X series too
please see guide
http://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst3550/software/release/12-2_25_see/configuration/guide/swflink.html#wp1056578
xxxxxxxxxx(config-if)#switchport ?
access Set access mode characteristics of the interface
autostate Include or exclude this port from vlan link up calculation
backup Set backup for the interface
block Disable forwarding of unknown uni/multi cast addresses
host Set port host
mode Set trunking mode of the interface
nonegotiate Device will not engage in negotiation protocol on this interface
port-security Security related command
priority Set appliance 802.1p priority
protected Configure an interface to be a protected port
trunk Set trunking characteristics of the interface
voice Voice appliance attributes
01-23-2017 10:04 AM
i do have the commanded available, what is the state of the backup port once selected? i am going to do some testing myself.
01-23-2017 10:11 AM
per the documentation its is in standby mode
"Configure a physical Layer 2 interface (or port channel) as part of a Flex Link pair with the interface. When one link is forwarding traffic, the other interface is in standby mode."
01-23-2017 10:15 AM
This is a layer 1 failover basic , so the system will have to go down or the actual cable/link fail for it to work , switchport needs to see itself down at layer 1 ...down/down before it will failover
01-23-2017 10:54 AM
cool ya i think this will work for me, thanks for the help and advice.
01-23-2017 10:11 AM
it will go to standby state and only activate when when there is a failure
Switch# show interface switchport backup
Switch Backup Interface Pairs:
Active Interface Backup Interface State
------------------------------------------------------------------------------------------
FastEthernet1/0/1 FastEthernet1/0/2 Active Up/Backup Standby
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