Command Manual – VLAN-VPN
H3C S3100-52P Ethernet Switch
Chapter 2 Selective QinQ Configuration Commands
2-2
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:
z
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.
z
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.
Examples
# Enable the inter-VLAN MAC address replicating feature for Ethernet1/0/1 to replicate
the MAC address entries between the MAC address table of VLAN 4 (the default VLAN)
and that of the outer VLAN 10.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] interface Ethernet 1/0/1
[Sysname-Ethernet1/0/1] mac-address-mapping 0 source-vlan 4 destination-vlan
10
[Sysname-Ethernet1/0/1] mac-address-mapping 1 source-vlan 10
destination-vlan 4
2.1.2 raw-vlan-id inbound
Syntax
raw-vlan-id inbound
vlan-id-list
undo raw-vlan-id inbound
{
all | vlan-id-list
}
View
QinQ view
Parameters
vlan-id-list
: Lists of VLAN IDs. After receiving packets of these VLANs, the switch will
encapsulate the packets with the specified outer VLAN tag. You need to provide this
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.