2
Selective QinQ Configuration Commands
Selective QinQ Configuration Commands
mac-address-mapping
Syntax
mac-address-mapping index source-vlan source-vlan-list destination-vlan dest-vlan-id
undo mac-address-mapping { index | all }
View
Ethernet port view
Parameters
index: Index of the inter-VLAN MAC address replicating configuration to be created or removed. This
argument is in the range 0 to 7.
source-vlan source-vlan-list: Specifies a list of the IDs of the VLANs, whose MAC address entries are
to be replicated to the MAC address table of the destination VLAN. You need to provide the
source-vlan-list argument in the form of { vlan-id [ to vlan-id ] }&<1-10>, where the VLAN ID after the to
keyword must be larger than or equal to the VLAN ID before the to keyword and &<1-10> means that
you can specify up to 10 VLANs/VLAN ranges for this argument.
dest-vlan-id: ID of the destination VLAN for replication, in the range 1 to 4094.
all: Removes all the inter-VLAN MAC address replicating configurations created on the current port.
Description
Use the mac-address-mapping command to configure the inter-VLAN MAC address replicating
feature for a port. This feature can replicate MAC address entries of the MAC address tables of
specified source VLANs to the MAC address table of the specified destination VLAN.
Use the undo mac-address-mapping command to disable this feature.
The inter-VLAN MAC address replicating feature is disabled on any port by default.
In a selective QinQ application, you can configure this feature to:
Replicate MAC address entries in the MAC address tables of the outer VLANs configured in
selective QinQ to the MAC address table of the default VLAN of the downlink port. This is for
forwarding uplink packets to the operator network.
Replicate MAC address entries in the MAC address table of the default VLAN of the downlink port
to the MAC address tables of all the outer VLANs configured in selective QinQ. This is for
forwarding packets from the operator network to the user networks.
2-1