Jump to content

BGP: Difference between revisions

104 bytes removed ,  5 years ago
Line 237:
;R2 Config(Before applying any policies):
<pre>
routerR2# sh ip bgp 12150.1.1.0
nei 192.168.12.1 remot 12
 
 
sh ip bgp 150.1.1.0
BGP routing table entry for 150.1.1.0/24, version 2
Paths: (1 available, best #1, table Default-IP-Routing-Table)
Line 248 ⟶ 244:
Local
192.168.12.1 from 192.168.12.1 (192.168.127.1)
Origin IGP, '''metric 0''', localpref 100, valid, internal, best ==> Metric is 0
'''Community: 1:10 ==> Community is 1:10'''
 
</pre>
 
;Match the community using a standard community-list
Line 263 ⟶ 259:
;After applying the policy:
 
R2 #sh ip bgp 150.1.1.0/24
BGP routing table entry for 150.1.1.0/24, version 3
Paths: (1 available, best #1, table Default-IP-Routing-Table)
Line 270 ⟶ 266:
Local
192.168.12.1 from 192.168.12.1 (192.168.127.1)
Origin IGP, '''metric 100''', localpref 100, valid, internal, best ==> Metric changed to 100
'''Community: 1:10'''
 
= Route Aggregation =
Cookies help us deliver our services. By using our services, you agree to our use of cookies.