beautypg.com

Verifying the configuration, Configuring mpls l3vpn inter-as option a, Network requirements – H3C Technologies H3C S12500-X Series Switches User Manual

Page 162

background image

151

[Hub-PE-bgp] peer 3.3.3.9 connect-interface loopback 0

[Hub-PE-bgp] address-family vpnv4

[Hub-PE-bgp-vpnv4] peer 1.1.1.9 enable

[Hub-PE-bgp-vpnv4] peer 3.3.3.9 enable

[Hub-PE-bgp-vpnv4] quit

[Hub-PE-bgp] quit

After completing the configurations, execute the display bgp peer vpnv4 command on the PEs. The
output shows that a BGP peer relationship has been established between the PEs and has reached

the Established state.

Verifying the configuration

# Execute the display ip routing-table vpn-instance command on the PEs to view the routes to the CEs.
The next hop of the route from a Spoke-PE to its connected Spoke-CE is Hub-PE. Take Spoke-PE 1 as an

example:

[Spoke-PE1] display ip routing-table vpn-instance vpn1

Routing Tables: vpn1

Destinations : 8 Routes : 8

Destination/Mask Proto Pre Cost NextHop Interface

10.0.0.0/24 BGP 255 0 2.2.2.9 NULL0

10.1.1.0/24 Direct 0 0 10.1.1.2 Vlan2

10.1.1.2/32 Direct 0 0 127.0.0.1 InLoop0

10.2.1.0/24 BGP 255 0 2.2.2.9 NULL0

10.3.1.0/24 BGP 255 0 2.2.2.9 NULL0

10.4.1.0/24 BGP 255 0 2.2.2.9 NULL0

127.0.0.0/8 Direct 0 0 127.0.0.1 InLoop0

127.0.0.1/32 Direct 0 0 127.0.0.1 InLoop0

# Spoke-CE 1 and Spoke-CE 2 can ping each other. The TTL value indicates that traffic from Spoke-CE
1 to Spoke-CE 2 passes six hops (255-250+1) and is forwarded through Hub-CE. Take Spoke-CE 1 as an

example:

[Spoke-CE1] ping 10.2.1.1

Ping 10.2.1.1 (10.2.1.1): 56 data bytes, press CTRL_C to break

56 bytes from 10.2.1.1: icmp_seq=0 ttl=250 time=1.000 ms

56 bytes from 10.2.1.1: icmp_seq=1 ttl=250 time=2.000 ms

56 bytes from 10.2.1.1: icmp_seq=2 ttl=250 time=0.000 ms

56 bytes from 10.2.1.1: icmp_seq=3 ttl=250 time=1.000 ms

56 bytes from 10.2.1.1: icmp_seq=4 ttl=250 time=0.000 ms

--- Ping statistics for 10.2.1.1 ---

5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss

round-trip min/avg/max/stddev = 0.000/0.800/2.000/0.748 ms

Configuring MPLS L3VPN inter-AS option A

Network requirements

CE 1 and CE 2 belong to the same VPN. CE 1 accesses the network through PE 1 in AS 100, and CE

2 accesses the network through PE 2 in AS 200.