Information Technology Reference
In-Depth Information
Example 4-20 shows what happens when 10.0.0.0/16 is available on R1's BGP RIB. The
prefix 172.16.0.0/16 is advertised to R3.
Example 4-20 Advertisement of 172.16.0.0/16
R1#show ip bgp 10.0.0.0
BGP routing table entry for 10.0.0.0/16, version 2
Paths: (1 available, best #1, table Default-IP-Routing-Table)
Not advertised to any peer
Local
192.168.12.2 from 0.0.0.0 (192.168.13.1)
Origin IGP, metric 20, localpref 100, weight 32768, valid, sourced, local,
best
R1#show ip bgp 172.16.0.0
BGP routing table entry for 172.16.0.0/16, version 4
Paths: (1 available, best #1, table Default-IP-Routing-Table)
Advertised to non peer-group peers:
192.168.13.3
Local
192.168.12.2 from 0.0.0.0 (192.168.13.1)
Origin IGP, metric 20, localpref 100, weight 32768, valid, sourced, local,
best
R1#show ip route 10.0.0.0
Routing entry for 10.0.0.0/8, 1 known subnet
O E2 10.0.0.0/16 [110/20] via 192.168.12.2, 00:36:47, Ethernet0/0
R1#show ip bgp neighbor 192.168.13.3 | include Condition-map
Condition-map Prefix10, Advertise-map AS300-out, status: Advertise
Advertise
R3#show ip bgp 172.16.0.0
BGP routing table entry for 172.16.0.0/16, version 12
Paths: (1 available, best #1, table Default-IP-Routing-Table)
Not advertised to any peer
100
192.168.13.1 from 192.168.13.1 (192.168.13.1)
Origin IGP, metric 20, localpref 100, valid, external, best
Example 4-21 shows what happens when 10.0.0.0 is not available on R1.
Example 4-21 No Advertisement When 10.0.0.0 Is Down
R1#show ip bgp neighbor 192.168.13.3 | include Condition-map
Condition-map Prefix10, Advertise-map AS300-out, status: Withdraw
R3#show ip bgp 172.16.0.0
% Network not in table
Search WWH ::




Custom Search