H3C SR8800 10G Mpls Configuration Manual page 216

Core routers
Table of Contents

Advertisement

[PE] interface loopback 0
[PE-LoopBack0] ip address 172.1.1.1 32
[PE-LoopBack0] quit
[PE] mpls lsr-id 172.1.1.1
[PE] mpls
[PE-mpls] quit
# Enable L2VPN and MPLS L2VPN.
[PE] l2vpn
[PE-l2vpn] mpls l2vpn
[PE-l2vpn] quit
# Configure interface GigabitEthernet 4/1/1.
[PE] interface GigabitEthernet 4/1/1
[PE-GigabitEthernet4/1/1] quit
# Configure interface GigabitEthernet 4/1/2.
[PE] interface GigabitEthernet 4/1/2
[PE-GigabitEthernet 4/1/2] quit
# Create a local connection between CE 1 and CE 2.
[PE] ccc ce1-ce2 interface GigabitEthernet 4/1/1 out-interface GigabitEthernet 4/1/2
Configure CE 2.
3.
<Sysname> system-view
[Sysname] sysname CE2
[CE2] interface GigabitEthernet 4/1/1
[CE2-GigabitEthernet4/1/1] ip address 100.1.1.2 24
Verify your configuration.
4.
# Display CCC connection information on the PE. The output shows that a local CCC connection
has been established.
[PE] display ccc
Total
ccc vc
Local
ccc vc
Remote ccc vc
***Name
Type
State
Intf1
Intf2
# 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=180 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=10 ms
Reply from 100.1.1.2: bytes=56 Sequence=4 ttl=255 time=70 ms
Reply from 100.1.1.2: bytes=56 Sequence=5 ttl=255 time=60 ms
--- 100.1.1.2 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
: 1
: 1,
1 up
: 0,
0 up
: ce1-ce2
: local
: up
: GigabitEthernet4/1/1 (up)
: GigabitEthernet4/1/2 (up)
data bytes, press CTRL_C to break
205

Advertisement

Table of Contents
loading

Table of Contents