IP Networking Configuration
Configuration Guide 122 Document #: LTRT-31657
MSBR2:
MSBR(conf-data)# router bgp 6501
MSBR(conf-router)# bgp router-id 11.11.11.11
MSBR(conf-router)# neighbor 2001:1::10 remote-as 65000
MSBR(conf-router)# address-family ipv6
MSBR(conf-router-af)# redistribute connected
MSBR(conf-router-af)# neighbor 2002:1::10 activate
MSBR(conf-router-af)# exit
MSBR(conf-router)# exit
The configuration includes two important parts:
The basic configuration defines the networks to be advertised and routed, and the
neighbors to which to establish adjacency.
The second part of the configuration deals with the prioritization of the routes received
from neighbors. Given the fact that a default route is received via the BGP protocols
from both neighbors, you need to give one of them a higher priority (better metric).
This is performed using a route-map that fine-tunes the “Weight” BGP attribute of
incoming route-updates, where the route with the higher weight value is inserted into
the routing table.