Users Guide

BGP 1391
R3(config-router)#neighbor 192.168.100.10 remote-as 5500
9
Redistribute connected and static routes.
R3(config-router)#redistribute connected
R3(config-router)#redistribute static
R3(config-router)#exit
R3(config)#exit
R3#exit
Discussion
Verify that the routes on R2 are being distributed to R1 and R3. This shows
the R2 BGP and routing tables.
R2#show ip route vrf WAN
Route Codes: R - RIP Derived, O - OSPF Derived, C - Connected, K - Kernel S - Static
B - BGP Derived, E - Externally Derived, IA - OSPF Inter Area
E1 - OSPF External Type 1, E2 - OSPF External Type 2
N1 - OSPF NSSA External Type 1, N2 - OSPF NSSA External Type 2
S U - Unnumbered Peer, L - Leaked Route
* Indicates the best (lowest metric) route for the subnet.
No default gateway is configured.
C *30.30.30.0/24 [0/0] directly connected, Lo1
R2#show ip bgp vpnv4 all
BGP table version is 24, local router ID is 20.20.20.20
Status codes: s suppressed, * valid, > best, i - internal
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPref Path
------------------- ---------------- ---------- ------- ----
Route Distinguisher : 2020:1 for VRF WAN
*>i 30.30.30.0/24 ::
0.0.0.0 100 ?
R2 shows routes from R1 and R3 in the IPv4 address family.
R2#show ip route
Route Codes: R - RIP Derived, O - OSPF Derived, C - Connected, K - Kernel S - Static
B - BGP Derived, E - Externally Derived, IA - OSPF Inter Area
E1 - OSPF External Type 1, E2 - OSPF External Type 2
N1 - OSPF NSSA External Type 1, N2 - OSPF NSSA External Type 2
S U - Unnumbered Peer, L - Leaked Route
* Indicates the best (lowest metric) route for the subnet.
No default gateway is configured.
B *10.10.10.10/32 [20/0] via 172.16.10.1, Vl100
B *11.11.11.11/32 [20/0] via 172.16.10.1, Vl100
C *20.20.20.20/32 [0/0] directly connected, Lo0
C *172.16.10.0/24 [0/0] directly connected, Vl100