[nsp] BGP Configuration
Tantsura, Jeff
jeff.tantsura at capgemini.com
Thu Jul 1 03:19:47 EDT 2004
Hi,
1. set higher local preference for 2.3.3.0 on your bgp session with
9.9.9.9
2. prepend 2.3.3.0 on your fiber link, this will give you symmetry
Configs:
1
neighbor 9.9.9.9 route-map HIGHER_LP in
route-map HIGHER_LP permit 10
match ip address prefix-list MY_LIST
set local-preference 150
route-map HIGHER_LP permit 20
ip prefix-list MY_LIST permit 2.3.3.0/24
2
neighbor 8.8.8.8 route-map PREPEND out
route-map PREPEND permit 10
match ip address prefix-list MY_LIST
set as-path prepend <your AS. 2/3 times will be enough>
route-map PREPEND permit 20
Hope this helps
Jeff
-----Original Message-----
From: cisco-nsp-bounces at puck.nether.net
[mailto:cisco-nsp-bounces at puck.nether.net] On Behalf Of Alexandra
Alvarado
Sent: Thursday, July 01, 2004 1:29 AM
To: cisco-nsp at puck.nether.net; Alexandra Alvarado
Subject: [nsp] BGP Configuration
Hello,
I have 2 links, 1 fiber link and other satellital link, the satellital
link is the backup and only works when the fiber link is down. With BGP
it works ok!. Now I have a new requirement, I need to pass 1 class C
network to the backup link. Example I need that the main link to the
1.2.3.0 network be the fiber link and the main link to the 2.3.3.0
network be the satellital link.
Thanks for your help.
Alexandra Alvarado
PD: My BGP configuration.
router bgp 19169
no bgp fast-external-fallover
bgp log-neighbor-changes
network 1.2.3.0
network 2.3.3.0
neighbor 9.9.9.9 remote-as 33333
neighbor 9.9.9.9 description SATELITAL
neighbor 9.9.9.9 update-source Hssi5/0/0 neighbor 9.9.9.9 version 4
neighbor 9.9.9.9 soft-reconfiguration inbound neighbor 9.9.9.9
route-map SAT_IN in neighbor 9.9.9.9 route-map SAT_OUT out
neighbor 8.8.8.8 remote-as 22222
neighbor 8.8.8.8 description FIBER
neighbor 8.8.8.8 update-source Serial8/0/1 neighbor 8.8.8.8 version 4
neighbor 8.8.8.8 soft-reconfiguration inbound neighbor 8.8.8.8
route-map FIBER_IN in neighbor 8.8.8.8 route-map FIBER_OUT out
ip prefix-list DEFAULT seq 10 permit 0.0.0.0/0
ip prefix-list LOCAL seq 10 permit 1.2.3.0/24 ip prefix-list LOCAL seq
10 permit 2.3.3.0/24
route-map FIBER_OUT permit 10
match ip address prefix-list LOCAL
route-map SAT_OUT permit 10
match ip address prefix-list LOCAL
set as-path prepend 11111 11111 11111 11111
route-map FIBER_IN permit 10
match ip address prefix-list DEFAULT
set local-preference 120
route-map SAT_IN permit 10
match ip address prefix-list DEFAULT
_______________________________________________
cisco-nsp mailing list cisco-nsp at puck.nether.net
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/
Our name has changed. Please update your address book to the following format: "recipient at capgemini.com".
This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
More information about the cisco-nsp
mailing list