
Command Manual – NAT&URPF&VPLS
Quidway S8500 Series Routing Switches
Chapter 3 VPLS Configuration Commands
Huawei Technologies Proprietary
3-8
3.1.9 mac-address
Syntax
mac-address
{
static H-H-H
}
vsi vsi-name
{
peer
peer-ip
|
vlan-interface
vlan-interface-number
}
undo mac-address
{
static H-H-H
}
vsi vsi-name
View
System view
Parameter
static
: Specifies a static MAC address. Only static VSI MAC addresses are allowed at
present.
H-H-H
: Value of the static MAC address.
vsi
: Specifies a VSI name.
vsi-name
: Name of a VPLS instance.
peer
: Specifies the virtual connection peer of the static MAC address.
peer-ip: IP address of the virtual connection peer of the static MAC address.
vlan-interface
: The VLAN interface that is bound to corresponding local VSI of the
specified static MAC address.
vlan-interface-number
: The number of the specified VLAN interface
Description
Use the
mac-address
command to configure a static MAC address for a VPLS
instance. The address you configured can be either a MAC address on a local CE or a
MAC address on a remote CE.
Use the
undo mac-address
command to disable the configuration.
Note that when configuring the static MAC address of a VPLS instance with the
peer
keyword specified, if the VLAN-interface is specified, the command configures the
MAC address of the corresponding VLAN interface which is bound to a local CE.
Related command:
vsi
,
display mac-address
vsi
.
Example
# Configure static MAC address entries for a local CE and a CE connecting to a remote
peer PE of the VPLS instance Huawei and bind VLAN interface 10 to the local CE of
VPLS instance Huawei.
[Quidway] mac-address static 0000-fc39-a9b5 vsi Huawei vlan-interface 10
[Quidway] mac-address static 0000-fc39-a9b4 vsi Huawei peer 2.2.2.2