Information Technology Reference
In-Depth Information
local preference for prefixes that are originated in AS 65102 and advertised directly to AS
65103 by requiring the AS_PATH to contain the sequence 65103 65102. The new con-
figuration is shown in Example 5-14, and the resulting path information is shown in
Example 5-15.
Example 5-12 R11 Route Map Configuration
ip as-path access-list 1 permit _65102$
!
route-map LPREF permit 10
match as-path 1
set local-preference 120
!
route-map LPREF permit 20
!
Example 5-13 R11 Path Information for 10.2.0.0/16
R11#show ip bgp 10.2.0.0
BGP routing table entry for 10.2.0.0/16, version 59
Paths: (2 available, best #1, table Default-IP-Routing-Table)
Flag: 0x208
Advertised to non peer-group peers:
172.16.13.9
65103 65101 65102
172.16.13.17 from 172.16.13.17 (172.16.9.1)
Origin IGP, localpref 120, valid, external, best
65101 65102
172.16.13.9 from 172.16.13.9 (172.16.3.1)
Origin IGP, localpref 100, valid, external
localpref 120
best
localpref 1000
Example 5-14 Corrected Route Map on R11
ip as-path access-list 1 permit _65103_65102$
!
route-map LPREF permit 10
match as-path 1
set local-preference 120
!
route-map LPREF permit 20
!
Example 5-15 R11 Path Information for 10.2.0.0/16
R11#show ip bgp 10.2.0.0
BGP routing table entry for 10.2.0.0/16, version 63
Paths: (2 available, best #2, table Default-IP-Routing-Table)
Flag: 0x208
Search WWH ::




Custom Search