HP 10500 SERIES Configuration Manual page 227

Hide thumbs Also See for 10500 SERIES:
Table of Contents

Advertisement

[PE2-ospf-1] area 0
[PE2-ospf-1-area-0.0.0.0] network 192.3.3.3 0.0.0.0
[PE2-ospf-1-area-0.0.0.0] network 10.2.2.0 0.0.0.255
[PE2-ospf-1-area-0.0.0.0] quit
[PE2-ospf-1] quit
# Create a L2VPN connection on the interface connected to CE 2. The interface requires no IP
address.
[PE2] interface vlan-interface 10
[PE2-Vlan-interface10] mpls l2vc 192.2.2.2 101
[PE2-Vlan-interface10] quit
On CE 2, configure an IP address for VLAN-interface 10.
5.
<Sysname> system-view
[Sysname] sysname CE2
[CE2] interface vlan-interface 10
[CE2-Vlan-interface10] ip address 100.1.1.2 24
Verify your configuration:
6.
# Display VC information on PE 1.
[PE1] display mpls l2vc
Total ldp vc : 1
Transport
Client
VC ID
Intf
101
Vlan10
The output shows that a VC has been established.
# Display VC information on PE 2.
[PE2] display mpls l2vc
Total ldp vc : 1
Transport
Client
VC ID
Intf
101
Vlan10
The output shows that a VC has been established.
# Ping CE 2 from CE 1.
[CE1] ping 100.1.1.2
PING 100.1.1.2: 56
Reply from 100.1.1.2: bytes=56 Sequence=1 ttl=255 time=30 ms
Reply from 100.1.1.2: bytes=56 Sequence=2 ttl=255 time=60 ms
Reply from 100.1.1.2: bytes=56 Sequence=3 ttl=255 time=50 ms
Reply from 100.1.1.2: bytes=56 Sequence=4 ttl=255 time=40 ms
Reply from 100.1.1.2: bytes=56 Sequence=5 ttl=255 time=70 ms
--- 100.1.1.2 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 30/50/70 ms
The output shows that CE 1 and CE 2 can ping each other.
1 up
0 down
Service
ID
--
1 up
0 down
Service
ID
--
data bytes, press CTRL_C to break
219
0 blocked
VC
Local
State
VC Label
up
8193
0 blocked
VC
Local
State
VC Label
up
8192
Remote
VC Label
8192
Remote
VC Label
8193

Advertisement

Table of Contents
loading

Table of Contents