There are many different ways to do this, here are two. They may or many not work in your environment.
A) On your back up router, prepend your AS about 4-5 times to make that link look like it’s farther away. Even when you do this, you may get some traffic coming in over that link.
B) Set your local preference for your outgoing traffic to prefer the active router over the standby.
Read more here:
2. If the factors fit your business, I would recommend making both of them being active with the following settings.
– Both routers learn that service providers routers, and their customers routes
– On the router you want the most traffic to go over, learn a default route from that provider.
– On the router you want the least traffic to go over, prepend your AS 1 or 2 times.
Option #2 can give you and your customers a better experience. If they are serviced by the same provider, they go directly to you instead of to your other provider to get to you. You employee’s will do the same if the resource is on that providers network, it will be a shorter path.
Here is an example of how to configure egress queuing on a Cisco Catalyst 3560.
***I use the 10,10,60,20 method on the LAN. You may want to adjust it to fit your needs.
10% = Priority traffic (For me, Voice)
10% = Network Management (Voice Control, Network management like SSH, RDP, SNMP etc..)
60% = Business critical traffic
20% = Everything else
**Your COS to Queue mappings may need adjusting depending on your needs. I found these to work just fine for me.
||Enables QOS on the switch
|mls qos map cos-dscp 0 8 16 24 32 46 48 56
||Sets the COS-DSCP values
|mls qos srr-queue output cos-map queue 1 threshold 3 5
|| COS 5, in Q1, Threshold 3
|mls qos srr-queue output cos-map queue 2 threshold 2 6 7
|| COS 6,7, in Q2, Threshold 2
|mls qos srr-queue output cos-map queue 2 threshold 3 4
|| COS 4, in Q2, Threshold 3
|mls qos srr-queue output cos-map queue 3 threshold 3 3
|| COS 3, in Q3, Threshold 3
|mls qos srr-queue output cos-map queue 4 threshold 1 2
|| COS 2, in Q4, Threshold 1
|mls qos srr-queue output cos-map queue 4 threshold 3 0 1
|| COS 0,1, in Q4, Threshold 3
cos: 0 1 2 3 4 5 6 7
dscp: 00 08 16 24 32 46 48 56
|interface range FastEthernet1/1 – #
||END USER PORTS
|srr-queue bandwidth share 10 10 60 20
||Allocates Bandwidth per queue in Percent
| srr-queue bandwidth shape 10 0 0 0
||Max bandwidth on priority queue
||Enables Priority queue