Chapter 10: BGP Configuration Guide
156
SmartSwitch Router User Reference Manual
In router SSR12’s CLI configuration file, the import preference is set to 160:
Using the formula for local preference [Local_Pref = 254 - (global protocol preference for
this route) + metric], the Local_Pref value put out by router SSR12 is 254 - 160+100 = 194.
For router SSR13, the import preference is set to 150. The Local_Pref value put out by
router SSR12 is 254 - 160+100 = 204.
Notes on Using the Local_Pref Attribute
•
All routers in the same network that are running GateD and participating in IBGP
should use the setpref metric, and the setpref metric should be set to the same value.
For example, in
Figure 13
, routers SSR12, SSR13, and SSR14 have the following line in
their CLI configuration files:
•
The value of the setpref metric should be consistent with the import policy in the
network.
The metric value should be set high enough to avoid conflicts between BGP routes and
IGP or static routes. For example, if the import policy sets GateD preferences ranging
from 170 to 200, a setpref metric of 170 would make sense. You should set the metric
high enough to avoid conflicts between BGP routes and IGP or static routes.
Multi-Exit Discriminator Attribute Example
Multi-Exit Discriminator (MED) is a BGP attribute that affects the route selection process.
MED is used on external links to discriminate among multiple exit or entry points to the
same neighboring AS. All other factors being equal, the exit or entry point with a lower
metric should be preferred. If received over external links, the MED attribute may be
propagated over internal links to other BGP speakers within the same AS. The MED
attribute is never propagated to other BGP speakers in neighboring autonomous systems.
Figure 14
shows a sample BGP configuration where the MED attribute has been used.
#
# Set the set-pref metric for the IBGP peer group
#
bgp set peer-group as901 set-pref 100
ip-router policy create bgp-import-source as900 autonomous-system 64900
preference 160
ip-router policy create bgp-import-source as900 autonomous-system 64900
preference 150
bgp set peer-group as901 set-pref 100
Содержание SmartSwitch Router
Страница 1: ...SmartSwitch Router User Reference Manual 9032578 04...
Страница 12: ...Notice 12 SmartSwitch Router User Reference Manual...
Страница 28: ...Preface 28 SmartSwitch Router User Reference Manual...
Страница 68: ...Chapter 3 Bridging Configuration Guide 68 SmartSwitch Router User Reference Manual...
Страница 74: ...Chapter 4 SmartTRUNK Configuration Guide 74 SmartSwitch Router User Reference Manual...
Страница 84: ...Chapter 5 DHCP Configuration Guide 84 SmartSwitch Router User Reference Manual...
Страница 108: ...Chapter 7 VRRP Configuration Guide 108 SmartSwitch Router User Reference Manual...
Страница 207: ...SmartSwitch Router User Reference Manual 207 Chapter 12 Multicast Routing Configuration Guide...
Страница 208: ...Chapter 12 Multicast Routing Configuration Guide 208 SmartSwitch Router User Reference Manual...
Страница 222: ...Chapter 13 IP Policy Based Forwarding Configuration Guide 222 SmartSwitch Router User Reference Manual...
Страница 232: ...Chapter 14 Network Address Translation Configuration Guide 232 SmartSwitch Router User Reference Manual...
Страница 254: ...Chapter 16 IPX Routing Configuration Guide 254 SmartSwitch Router User Reference Manual...
Страница 270: ...Chapter 17 Access Control List Configuration Guide 270 SmartSwitch Router User Reference Manual...
Страница 282: ...Chapter 18 Security Configuration Guide 282 SmartSwitch Router User Reference Manual...
Страница 294: ...Chapter 19 QoS Configuration Guide 294 SmartSwitch Router User Reference Manual...
Страница 298: ...Chapter 20 Performance Monitoring Guide 298 SmartSwitch Router User Reference Manual...
Страница 338: ...Chapter 22 WAN Configuration Guide 338 SmartSwitch Router User Reference Manual...