HP 12500 Series Configuration Manual page 262

Mpls, routing switch series
Table of Contents

Advertisement

[PE2-Vlan-interface2] ip address 10.3.1.2 24
[PE2-Vlan-interface2] quit
[PE2] interface vlan-interface 3
[PE2-Vlan-interface3] ip binding vpn-instance vpn2
[PE2-Vlan-interface3] ip address 10.4.1.2 24
[PE2-Vlan-interface3] quit
# Configure IP addresses for the CEs as required in
After you complete the configuration, issue the display ip vpn-instance command on the PEs to
view the configuration of the VPN instance. The PEs can their respective CEs. The following takes
PE 1 as an example:
[PE1] display ip vpn-instance
Total VPN-Instances configured : 2
VPN-Instance Name
vpn1
vpn2
[PE1] ping -vpn-instance vpn1 10.1.1.1
PING 10.1.1.1: 56
Reply from 10.1.1.1: bytes=56 Sequence=1 ttl=255 time=56 ms
Reply from 10.1.1.1: bytes=56 Sequence=2 ttl=255 time=4 ms
Reply from 10.1.1.1: bytes=56 Sequence=3 ttl=255 time=4 ms
Reply from 10.1.1.1: bytes=56 Sequence=4 ttl=255 time=52 ms
Reply from 10.1.1.1: bytes=56 Sequence=5 ttl=255 time=3 ms
--- 10.1.1.1 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 3/23/56 ms
Establish eBGP peer relationships between PEs and CEs to allow VPN routes to be redistributed.
4.
# Configure CE 1.
<CE1> system-view
[CE1] bgp 65410
[CE1-bgp] peer 10.1.1.2 as-number 100
[CE1-bgp] import-route direct
[CE1-bgp] quit
NOTE:
The configurations for the other three CEs are similar to those for CE 1. (Details not shown)
# Configure PE 1.
[PE1] bgp 100
[PE1-bgp] ipv4-family vpn-instance vpn1
[PE1-bgp-vpn1] peer 10.1.1.1 as-number 65410
[PE1-bgp-vpn1] import-route direct
[PE1-bgp-vpn1] quit
[PE1-bgp] ipv4-family vpn-instance vpn2
[PE1-bgp-vpn2] peer 10.2.1.1 as-number 65420
[PE1-bgp-vpn2] import-route direct
[PE1-bgp-vpn2] quit
RD
100:1
100:2
data bytes, press CTRL_C to break
254
Figure
66. (Details not shown)
Create time
2009/01/22 13:02:21
2009/01/22 13:02:40

Advertisement

Table of Contents
loading

Table of Contents