l
Interfaces to which VSIs are bound
Procedure
Step 1
Create VLANs and configure interfaces to allow packets of these VLANs to pass.
# Configure PE1.
[Quidway]
sysname PE1
[PE1]
vlan batch 10 20
[PE1]
interface gigabitethernet 1/0/0
[PE1-GigabitEthernet1/0/0]
port link-type trunk
[PE1-GigabitEthernet1/0/0]
port trunk allow-pass vlan 20
[PE1-GigabitEthernet1/0/0]
quit
[PE1]
interface gigabitethernet 2/0/0
[PE1-GigabitEthernet2/0/0]
port link-type trunk
[PE1-GigabitEthernet2/0/0]
port trunk allow-pass vlan 10
[PE1-GigabitEthernet2/0/0]
quit
# The configurations of CE1, CE2, PE2, and P device are the same as the configuration of PE1,
and are not mentioned here.
Step 2
Assign IP addresses to interfaces on the backbone network and configure OSPF.
The configuration details are not mentioned here.
Step 3
Enable MPLS, MPLS TE, MPLS RSVP-TE, and MPLS TE Constraint Shortest Path First
(CSPF).
On the nodes along the MPLS TE tunnel, enable MPLS, MPLS TE, and MPLS RSVP-TE in
both the system view and the interface view. On the ingress node of the tunnel, enable MPLS
TE CSPF in the system view.
# Configure PE1.
[PE1]
mpls lsr-id 1.1.1.9
[PE1]
mpls
[PE1-mpls]
mpls te
[PE1-mpls]
mpls rsvp-te
[PE1-mpls]
mpls te cspf
[PE1-mpls]
quit
[PE1]
interface vlanif 20
[PE1-Vlanif20]
mpls
[PE1-Vlanif20]
mpls te
[PE1-Vlanif20]
mpls rsvp-te
[PE1-Vlanif20]
quit
# Configure the P device.
[P]
mpls lsr-id 2.2.2.9
[P]
mpls
[P-mpls]
mpls te
[P-mpls]
mpls rsvp-te
[P-mpls]
quit
[P]
interface vlanif 20
[P-Vlanif20]
mpls
[P-Vlanif20]
mpls te
[P-Vlanif20]
mpls rsvp-te
[P-Vlanif20]
quit
[P]
interface vlanif 30
[P-Vlanif30]
mpls
[P-Vlanif30]
mpls te
[P-Vlanif30]
mpls rsvp-te
[P-Vlanif30]
quit
# Configure PE2.
Quidway S7700 Smart Routing Switch
Configuration Guide - VPN
7 VPLS Configuration
Issue 01 (2011-07-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
745