DES-7200 Configuration Guide Chapter 2 Configuring BGP IP VPN
2-138
DES-7200(config-if)# ip ref
DES-7200(config-if)# ip address 61.10.55.1 255.255.255.0
DES-7200(config-if)# no shutdown
DES-7200(config-if)# exit
DES-7200(config)# router ospf 1
DES-7200(config-router)# network 10.0.1.0 0.0.0.255 area 0
DES-7200(config-router)# network 61.10.55.0 0.0.0.255 area 0
DES-7200(config-router)# exit
2.5.11.5 Verification
# Display VRF routes and labels on First Carrier PE: Here we will take PE1 as the example. The
configurations of PE2 are the same.
// In the VRF routing table of PE1, there are only internal routes of the Second Carrier. There
is no VPN route (i.e.: 64.30.4.0/24).
DES-7200# show ip route vrf vpn1
Routing Table: vpn1
Codes: C - connected, S - static, R - RIP, B - BGP
O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default
Gateway of last resort is no set
B 3.3.3.3/32 [200/0] via 172.1.1.2, 00:00:07
C 172.1.1.0/24 is directly connected, gigabitEthernet 1/1
C 172.1.1.1/32 is local host.
B 172.1.2.0/24 [200/0] via 172.1.1.2, 00:00:07
B 172.1.4.0/24 [200/0] via 2.2.2.2, 00:00:30
......
DES-7200# show bgp vpnv4 unicast vrf vpn1 labels
BGP table version is 1, local router ID is 1.1.1.1
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop In Label/Out Label
Route Distinguisher: 65001:20 (Default for VRF vpn1)
*> 3.3.3.3/32 172.1.1.2 2048/1024