Release 1.0
Configuring BGP
526360-001-00 Rev. B
MGBI
12-43
Example: Using a Route Map to Set the Local Preference
A route map setting the local preference allows more flexibility in determining
updates from a specific AS. In the previous example, all updates received by Router
Boston are set to a local preference of 200 (including updates from AS 500).
Use a route map to specifically assign a local preference for updates from AS 400. In
this example, all local preference attributes from updates coming from AS 400 are set
to 200.
The following commands configure Router Boston:
MOT(config)#router bgp 100
MOT(config-bgp)#neighbor 192.56.10.2 remote-as 400
MOT(config-bgp)#neighbor 192.56.10.2 route-map 10 in
MOT(config-bgp)#neighbor 140.20.30.1 remote-as 100
The following commands specify that the local preference attribute for updates
coming from AS 400 are set to 200:
MOT(config-bgp)#neighbor route-map 10 permit 10
MOT(config-bgp)#set local-preference 200
Configuring the Origin Attribute
The Origin attribute indicates the route origin and is one of the following values:
■
IGP – indicates that the route was learned via an IGP and, therefore, is interior to
the originating AS.
■
EGP – indicates that the route was learned via EGP.
■
Incomplete – indicates that the origin of the route is unknown. It was learned
from something other than IGP or EGP. Incomplete origin occurs when a route is
distributed into BGP. This value most often appears for static routes.
The BSR assigns origin as described in
.
Table 12-1 BSR Origin Assignment
BGP Route Entry Type
Origin Code
Redistributed
INCOMPLETE
Network
IGP
Peer-based default (0/0)
IGP
Содержание BSR 2000
Страница 1: ...BSR 2000 Configuration and Management Guide 526360 001 00 Rev B Release 1 0 MGBI ...
Страница 6: ... Motorola Motorola Motorola Motorola Motorola Motorola Motorola Motorola Motorola ...
Страница 50: ......
Страница 130: ......
Страница 164: ......
Страница 458: ......
Страница 490: ......
Страница 580: ......
Страница 632: ......
Страница 648: ......
Страница 649: ......
Страница 650: ...526360 001 00 Rev B 7 06 MGBI Visit our website at www motorola com ...