[c-nsp] BGP line prioritization

Dracul chris.garzon at gmail.com
Wed Jan 30 05:18:08 EST 2008


Hi all, I am using two links for BGP. is there a way I can do preference to
use the other line first? Let's say I prefer neighbor yyyy
what config should I add below? Thanks!

router bgp xxxx
 no synchronization
 bgp log-neighbor-changes
 network 203.xxx.xxx.0
 aggregate-address 203.xxx.xxx.0 255.255.255.0
 neighbor 123.xxx.xxx.xxx remote-as zzzz
 neighbor 123.xxx.xxx.xxx description *** BGP transit to PROVIDER 1 ***
 neighbor 123.xxx.xxx.xxx password 7 011A08105E191200344F464D4B5C404A58
 neighbor 123.xxx.xxx.xxx ebgp-multihop 2
 neighbor 123.xxx.xxx.xxx version 4
 neighbor 123.xxx.xxx.xxx soft-reconfiguration inbound
 neighbor 123.xxx.xxx.xxx prefix-list MARTIAN in
 neighbor 123.xxx.xxx.xxx route-map itt_out-ISP1 out

 neighbor 124.xxx.xxx.xxx remote-as yyyy
 neighbor 124.xxx.xxx.xxx description *** BGP transit to PROVIDER 2 ***
 neighbor 124.xxx.xxx.xxx ebgp-multihop 2
 neighbor 124.xxx.xxx.xxx version 4
 neighbor 124.xxx.xxx.xxx soft-reconfiguration inbound
 neighbor 124.xxx.xxx.xxx prefix-list MARTIAN in
 neighbor 124.xxx.xxx.xxx route-map itt_out-ISP2 out
 no auto-summary

Regards,
Chris


More information about the cisco-nsp mailing list