Example For Configuring Martini Mpls L2Vpn With The Vc Type Of Ppp - HP HSR6800 Configuration Manual

Hide thumbs Also See for HSR6800:
Table of Contents

Advertisement

[PE2-POS5/1/1] quit
5.
Configure CE 2:
# Configure the link protocol as PPP on interface POS 5/1/0 (the interface connected to PE 2),
and configure an IP address for the interface.
<Sysname> system-view
[Sysname] sysname CE2
[CE2] interface pos 5/1/0
[CE2-POS5/1/0] link-protocol ppp
[CE2-POS5/1/0] ip address 100.1.1.2 24
Verifying the configuration:
# Display static VC information on PE 1. The output shows that a VC has been established.
[PE1] display mpls static-l2vc
Total connections:
ce-intf
POS5/1/0
# Display static VC information on PE 2. The output shows that a VC has been established.
[PE2] display mpls static-l2vc
Total connections:
ce-intf
POS5/1/1
# Ping CE 2 from CE 1. The output shows that CE 1 and CE 2 can ping each other.
[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=150 ms
Reply from 100.1.1.2: bytes=56 Sequence=2 ttl=255 time=130 ms
Reply from 100.1.1.2: bytes=56 Sequence=3 ttl=255 time=130 ms
Reply from 100.1.1.2: bytes=56 Sequence=4 ttl=255 time=140 ms
Reply from 100.1.1.2: bytes=56 Sequence=5 ttl=255 time=80 ms
--- 100.1.1.2 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 80/126/150 ms
Example for configuring Martini MPLS L2VPN with the VC
type of PPP
Network requirements
CEs are connected to PEs through serial interfaces, and the data link layer uses PPP.
Establish a Martini VC, so CE 1 and CE 2 can exchange Layer 2 packets across the backbone.
1,
1 up,
0 down
state destination
up
192.3.3.3
1,
1 up,
0 down
state destination
up
192.2.2.2
data bytes, press CTRL_C to break
177
tr-label
rcv-label tnl-policy
100
200
tr-label
rcv-label tnl-policy
200
100
-
-

Advertisement

Table of Contents
loading

Table of Contents