138
Figure 35
Network diagram
To configure the switch to support VPLS and MAC-in-MAC dual-stack, you need to create a VSI that
supports VPLS and MAC-in-MAC dual-stack. To create such a VSI, specify the peer discovery mechanism,
enable the MAC-in-MAC function, and specify the Backbone Service Instance Identifier (I-SID) for
MAC-in-MAC when creating the VSI.
To configure the switch to support VPLS and MAC-in-MAC dual-stack:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Create a VSI that supports both
VPLS and MAC-in-MAC, and enter
VSI view
vsi
vsi-name
{
{
auto
|
static
}
minm
i-sid
i-sid
|
minm
i-sid
i-sid
{
auto
|
static
} }
Required
NOTE:
A VSI enabled with the hub-spoke capability (the
hub-spoke
keyword included in the
vsi static
command)
does not support cooperation with the MAC-in-MAC feature.
Configuring MAC address learning
To configure the MAC address learning function:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter VSI view
vsi
vsi-name
—
Enable/disable MAC address
learning for the VPLS instance
mac-learning
{
enable
|
disable
}
Optional
Enabled by default
Specify a MAC address learning
mode for the VPLS instance
mac-learn-style
{
qualify
|
unqualify
}
Optional
unqualify
by default
Set the maximum number of MAC
addresses that the switch can learn
for the VPLS instance
mac-table
limit
mac-limit-number
Optional
65536 by default.