Step
Enter Layer 2 Ethernet
2.
interface view or Layer 2
aggregate interface view.
Set the link type of the port.
3.
Assign the port to the original
4.
VLANs and the translated
VLANs.
Configure a one-to-one
5.
VLAN mapping.
Configuring many-to-one VLAN mapping
Configure many-to-one VLAN mapping on campus switches (see
type of traffic from different users in one VLAN.
Configuration restrictions and guidelines
When you configure many-to-one VLAN mapping, follow these restrictions and guidelines:
•
Before you configure many-to-one VLAN mapping, create the original VLANs and the
translated VLANs.
•
To ensure correct traffic forwarding from the service provider network to the customer network,
do not configure many-to-one VLAN mapping together with uRPF. For more information about
uRPF, see Security Configuration Guide.
•
To modify many-to-one VLAN mappings, first use the reset dhcp snooping binding command
to clear the DHCP snooping entries.
Many-to-one VLAN mapping configuration task list
Tasks at a glance
•
(Required.)
•
(Required.)
•
(Required.)
•
(Required.)
Command
•
•
•
•
•
•
vlan mapping vlan-id
translated-vlan vlan-id
Enabling DHCP snooping
Enabling ARP detection
Configuring the customer-side port
Configuring the network-side port
Enter Layer 2 Ethernet interface
view:
interface interface-type
interface-number
Enter Layer 2 aggregate
interface view:
interface bridge-aggregation
interface-number
Configure the port as a trunk
port:
port link-type trunk
Configure the port as a hybrid
port:
port link-type hybrid
port trunk permit vlan
vlan-id-list
port hybrid vlan vlan-id-list
tagged
205
Remarks
N/A
By default, the link type of a
port is access.
N/A
By default, no VLAN mapping
is configured on an interface.
Figure
60) to transmit the same