Configuring many-to-one vlan mapping, Configuring a many-to-one vlan mapping rule – H3C Technologies H3C S3100 Series Switches User Manual

Page 862

Advertising
background image

1-5

z

You cannot enable one-to-one VLAN mapping on a link aggregation group member port.

z

When you configure a global one-to-one VLAN mapping rule and then enable one-to-one VLAN

mapping on a port, selective QinQ is automatically enabled on the port.

Configuring a Port-Level One-to-One VLAN Mapping Rule

Follow these steps to configure a port-level one-to-one VLAN mapping rule:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter Ethernet port view

interface interface-type
interface-number

Configure a port-level one-to-one
VLAN mapping rule and enable
one-to-one VLAN mapping on the
port

vlan-mapping vlan old-vlan-id
remark new-vlan-id

Required

By default, no port-level one-to-one
VLAN mapping rule is configured,
and one-to-one VLAN mapping is
disabled on all ports.

z

In a one-to-one VLAN mapping rule, one original VLAN can be mapped to only one target VLAN,

and vice versa.

z

To modify a one-to-one VLAN mapping rule, delete the rule and then define a new one.

z

A global one-to-one VLAN mapping rule is mutually exclusive with a port-level one-to-one VLAN

mapping rule.

z

To use one-to-one VLAN mapping together with ARP detection properly, enable ARP detection in

both the original VLAN and target VLAN. For more information about ARP detection, see ARP

Configuration.

Configuring Many-to-One VLAN Mapping

Configuring a Many-to-One VLAN Mapping Rule

Follow these steps to configure a global many-to-one VLAN mapping rule

To do…

Use the command…

Remarks

Enter system view

system-view

Enter Ethernet port view of the
downlink port

interface interface-type
interface-number

Advertising