cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 
cancel
3791
Views
10
Helpful
6
Replies

Auto Fail over for switch port

jochance209
Level 1
Level 1

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 

1 Accepted Solution

Accepted Solutions

Mark Malone
VIP Alumni
VIP Alumni

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

View solution in original post

6 Replies 6

Mark Malone
VIP Alumni
VIP Alumni

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

i do have the commanded available, what is the state of the backup port once selected? i am going to do some testing myself. 

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."

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

cool ya i think this will work for me, thanks for the help and advice.

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
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card