System information
BSR 64000 Configuration and Management Guide
12-52
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.