Configuring many-to-one VLAN mapping
Configure many-to-one VLAN mapping on campus switches (see
of traffic from different users in one VLAN.
Configuring many-to-one VLAN mapping in a network with
dynamic IP address assignment
In a network that uses dynamic address assignment, configure many-to-one VLAN mapping with
DHCP snooping.
The switch replaces the SVLAN tag of the downlink traffic with the associated CVLAN tag based on
the DHCP snooping entry lookup.
Configuration restrictions and guidelines
When you configure many-to-one VLAN mapping in a network that uses dynamic address
assignment, 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
Enabling DHCP snooping
Enabling ARP detection
Configuring the customer-side port
Configuring the network-side port
Enabling DHCP snooping
Step
1.
Enter system view.
2.
Enable DHCP
snooping.
Enabling ARP detection
Enable ARP detection for the original VLANs and the translated VLANs.
To enable ARP detection:
Step
1.
Enter system view.
2.
Enter VLAN view.
Command
system-view
dhcp snooping enable
Command
system-view
vlan vlan-id
8
Figure
1) to transmit the same type
Remarks
N/A
By default, DHCP snooping is disabled.
For more information about DHCP snooping
configuration commands, see Layer 3—IP
Services Command Reference.
Remarks
N/A
N/A