BGP: Difference between revisions
→Community
Line 237:
;R2 Config(Before applying any policies):
<pre>
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
'''Community: 1:10
;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 =
|