
212
Task Command
Remarks
Display information about one or
all VPLS instances.
display vsi
[
vsi-name
] [
verbose
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in any view.
Display information about remote
VPLS connections.
display vsi
remote
{
bgp
|
ldp
} [
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in any view.
Display information about one or
all PW classes.
display pw-class
[
pw-class-name
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in any view.
Clear the MAC address table of
one or all VPLS instances.
reset mac-address vsi
[
vsi-name
]
Available in user view.
VPLS configuration examples
Binding VPLS instances to service instances
This example is available only for routers with SAP-4EXP.
Network requirements
CE 1 and CE 2 are connected to PE 1 and PE 2 through Layer 3 Ethernet interfaces.
On PE 1 and PE 2, perform the following configuration:
•
Configure VPLS instance
aaa
to use LDP (Martini mode) and VPLS instance
bbb
to use BGP
(Kompella mode), and configure the AS number as 100.
•
Configure service instance 1 to match packets that are received on interface
Ten-GigabitEthernet 1/0/1 and carry the VLAN tag of 100. Bind service instance 1 to VPLS
instance
aaa
.
•
Configure service instance 2 to match packets that are received on interface
Ten-GigabitEthernet 1/0/1 and carry VLAN tag of 200. Bind service instance 2 to VPLS instance
bbb
.
Figure 59 Network diagram
Configuration procedure
1.
Configure PE 1:
# Configure an IP address for loopback 0.
<Sysname> system-view
[Sysname] sysname PE1
CE 1
CE 2
PE 1
PE 2
P
XGE1/0/2
23.1.1.1/24
XGE1/0/2
23.1.1.2/24
XGE1/0/3
26.2.2.2/24
XGE1/0/3
26.2.2.1/24
XGE1/0/1
XGE1/0/1
Loop0
1.1.1.9/32
Loop0
2.2.2.9/32
Loop0
3.3.3.9/32