
Enterasys Xpedition User Reference Manual 171
BGP Configuration Examples
Local Preference Examples
There are two methods of specifying the local preference with the /jointfilesconvert/276250/bgp set peer-group
command:
• Setting the local-pref option. This option can only be used for the internal, routing, and
IGP group types and is not designed to be sent outside of the AS.
• Setting the set-pref option, which allows GateD to set the local preference to reflect
GateD’s own internal preference for the route, as given by the global protocol
preference value. Note that in this case, local preference is a function of the GateD
preference and set-pref options.
Figure 15 shows a BGP configuration that uses the BGP local preference attribute in a
sample BGP configuration with two autonomous systems. All traffic exits Autonomous
System 64901 through the link between router XP13 and router XP11. This is
accomplished by configuring a higher local preference on router XP13 than on router
XP12. Because local preference is exchanged between the routers within the AS, all traffic
from AS 64901 is sent to XP13 as the exit point.
Comments to this Manuals