Configuring Many-To-One Vlan Mapping - H3C LS-3100-52P-OVS-H3 Operation Manual

S5500-ei series ethernet switches
Table of Contents

Advertisement

To do...
Map the SVLAN to the CVLAN
by associating the traffic class
with the traffic behavior
Exit to system view

Configuring Many-to-One VLAN Mapping

Perform many-to-one VLAN mapping on the campus switches shown in
service of different users using the same VLAN on the service provider's network.
Configuring Many-to-One VLAN Mapping
Configuration prerequisites
All service terminals of home users are using DHCP for obtaining an IP address. For how to get an
IP address through DHCP, refer to DHCP Configuration in the IP Services Volume.
The CVLAN-to-SVLAN mappings have been planned.
Configuration procedure
Follow these steps to configure a many-to-one VLAN mapping:
Enter system view
Enable DHCP snooping
Enable ARP
detection on the
CVLANs and the
SVLAN for the
VLAN mapping
Configure an uplink policy to map the
CVLANs to the same SVLAN
Enter the interface view of the
downlink port
Set the link type of the downlink port to
trunk
Configure the downlink port to permit
the specified CVLANs and SVLANs to
pass through
Enable customer side QinQ
Apply the uplink policy to the downlink
port in the inbound direction
classifier tcl-name behavior
behavior-name
quit
To do...
Create a VLAN
and enter VLAN
view
Enable ARP
detection
Exit to system
view
Use the command...
Use the command...
system-view
dhcp-snooping
vlan vlan-id
arp detection enable
quit
Refer to
Table 1-3
interface interface-type
interface-number
port link-type trunk
port trunk permit vlan
{ vlan-id-list | all }
qinq enable downlink
qos apply policy policy-name
inbound
1-8
Remarks
Required
Figure 1-1
to carry the same
Remarks
Required
Disabled by default.
Required
Disabled by default.
Repeat these steps for
all CVLANs and the
SVLAN that the VLAN
mapping involves.
Required
Required
Required
By default, a trunk port
permits only VLAN 1 to
pass through.
Required
Disabled by default.
Required

Advertisement

Chapters

Table of Contents
loading

Table of Contents