beautypg.com

Mpls l2vpn configuration examples, Configuring a static pw, Network requirements – H3C Technologies H3C S6800 Series Switches User Manual

Page 350: Configuration procedure

background image

337

MPLS L2VPN configuration examples

Configuring a static PW

Network requirements

Create a static PW between PE 1 and PE 2 over the backbone so that CE 1 and CE 2 can communicate

within VLAN 10.

Figure 87 Network diagram

Table 29 Interface and IP address assignment

Device Interface

IP

address

Device

Interface

IP address

PE 1

Loop0

192.2.2.2/32

P

Loop0

192.4.4.4/32

Vlan-int20

10.1.1.1/24

Vlan-int30

10.2.2.2/24

PE 2

Loop0

192.3.3.3/32

Vlan-int20

10.1.1.2/24

Vlan-int30

10.2.2.1/24

Configuration procedure

Before you perform the following configurations, configure VLANs and add ports to VLANs.

1.

Configure CE 1.

system-view

[CE1] interface fortygige 1/0/1

[CE1-FortyGigE1/0/1] port link-type trunk

[CE1-FortyGigE1/0/1] port trunk permit vlan 10

[CE1-FortyGigE1/0/1] quit

2.

Configure PE 1:
# Configure an LSR ID.

system-view

[PE1] interface loopback 0

[PE1-LoopBack0] ip address 192.2.2.2 32

[PE1-LoopBack0] quit

[PE1] mpls lsr-id 192.2.2.2

文件中找不到关系

ID 为 rId112 的图像部件。