Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Track command to disable/enable port with conditional if

I am trying to figure out how to do a track of reachability for an ip and then if it fails switch the port to a different port.

For example, i have a vlan interface and two layer two switchports with separate paths to a different location, one on gig1/1 and one on gig1/2

If a ping stops to the remote location i want to disable port 1/1 and enable port 1/2.

if port 1/2 is enabled and pinging stops, i want to enable 1/1 and disable port 1/2

ill have it count down on a timer for about 10 minutes to make sure arp isnt an issue. 

also no, im not able to enable spanning tree to figure this out.

129
Views
0
Helpful
0
Replies