Chapter 16 BGP Configuration
Confidential and Proprietary Information of ZTE CORPORATION
241
F
I G U R E
9 9
L
O C A L
P
R E F E R E N C E
A
T T R I B U T E
AS100
AS256
AS300
1.1.1.2/30
3.3.3.2/30
R3
R4
1.1.1.1/30
R1
R2
R5
170.10.0.0/24
128.213.11.1/30 128.213.11.2/30
3.3.3.1/30
IBGP
R6
AS34
LOC=150
LOC=200
In the following, two methods are used to configure the
LOCAL_PREF attribute.
Use the command
bgp default local-preference
to
configure the LOCAL_PREF attribute.
E
ND OF STEPS
Configuration of R3:
ZXR10_R3(config)#router bgp 256
ZXR10_R3(config-router)#neighbor 1.1.1.1 remote-as 100
ZXR10_R3(config-router)#neighbor 128.213.11.2 remote-as 256
ZXR10_R3(config-router)#bgp default local-preference 150
Configuration of R4:
ZXR10_R4(config)#router bgp 256
ZXR10_R4(config-router)#neighbor 3.3.3.2 remote-as 300
ZXR10_R4(config-router)#neighbor 128.213.11.1 remote-as 256
ZXR10_R4(config-router)#bgp default local-preference 200
Use the
route-map
command to configure the LOCAL_PREF
attribute
Configuration of R4:
ZXR10_R4(config)#router bgp 256
ZXR10_R4(config-router)#neighbor 3.3.3.2 remote-as 300
ZXR10_R4(config-router)#neighbor 3.3.3.2 route-map setlocalin in
ZXR10_R4(config-router)#neighbor 128.213.11.1 remote-as 256
...
ZXR10_R4(config)#ip as-path access-list 7 permit ^300$
...
ZXR10_R4(config)#route-map setlocalin permit 10
ZXR10_R4(config-route-map)#match as-path 7
Содержание ZXR10 GER
Страница 4: ...This page is intentionally blank ...
Страница 14: ...This page is intentionally blank ...
Страница 22: ......
Страница 24: ......
Страница 140: ......
Страница 206: ......
Страница 232: ......
Страница 248: ......
Страница 294: ......
Страница 326: ......
Страница 386: ......
Страница 407: ...Tables Confidential and Proprietary Information of ZTE CORPORATION 385 Table 426 Debug Ip Msdp Command 358 ...
Страница 408: ......