HP HPE FlexNetwork MSR Router Series Configuration Manual page 255

Table of Contents

Advertisement

[PE1-GigabitEthernet2/0/2] ip address 10.2.1.2 24
[PE1-GigabitEthernet2/0/2] quit
# Configure PE 2.
[PE2] ip vpn-instance vpn1
[PE2-vpn-instance-vpn1] route-distinguisher 200:1
[PE2-vpn-instance-vpn1] vpn-target 111:1
[PE2-vpn-instance-vpn1] quit
[PE2] ip vpn-instance vpn2
[PE2-vpn-instance-vpn2] route-distinguisher 200:2
[PE2-vpn-instance-vpn2] vpn-target 222:2
[PE2-vpn-instance-vpn2] quit
[PE2] interface gigabitethernet 2/0/1
[PE2-GigabitEthernet2/0/1] ip binding vpn-instance vpn1
[PE2-GigabitEthernet2/0/1] ip address 10.3.1.2 24
[PE2-GigabitEthernet2/0/1] quit
[PE2] interface gigabitethernet 2/0/2
[PE2-GigabitEthernet2/0/2] ip binding vpn-instance vpn2
[PE2-GigabitEthernet2/0/2] ip address 10.4.1.2 24
[PE2-GigabitEthernet2/0/2] quit
# Configure IP addresses for the CEs according to
# Execute the display ip vpn-instance command on the PEs to display the configuration of the
VPN instance, for example, on PE 1.
[PE1] display ip vpn-instance
Total VPN-Instances configured : 2
VPN-Instance Name
vpn1
vpn2
# Use the ping command on the PEs to verify that the PEs can ping their attached CEs, for
example, on PE 1.
[PE1] ping -vpn-instance vpn1 10.1.1.1
Ping 10.1.1.1 (10.1.1.1): 56 data bytes, press CTRL_C to break
56 bytes from 10.1.1.1: icmp_seq=0 ttl=255 time=1.000 ms
56 bytes from 10.1.1.1: icmp_seq=1 ttl=255 time=2.000 ms
56 bytes from 10.1.1.1: icmp_seq=2 ttl=255 time=0.000 ms
56 bytes from 10.1.1.1: icmp_seq=3 ttl=255 time=1.000 ms
56 bytes from 10.1.1.1: icmp_seq=4 ttl=255 time=0.000 ms
--- Ping statistics for 10.1.1.1 ---
5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss
round-trip min/avg/max/std-dev = 0.000/0.800/2.000/0.748 ms
4.
Establish EBGP peer relationships between PEs and CEs, and redistribute VPN routes into
BGP:
# Configure CE 1.
<CE1> system-view
[CE1] bgp 65410
[CE1-bgp] peer 10.1.1.2 as-number 100
[CE1-bgp] address-family ipv4 unicast
[CE1-bgp-ipv4] peer 10.1.1.2 enable
Figure
70. (Details not shown.)
RD
100:1
100:2
245
Create time
2012/02/13 12:49:08
2012/02/13 12:49:20

Advertisement

Table of Contents
loading

Table of Contents