3com S7906E Manuel De Montage

Page de 2621
 
1-9 
 
To do... 
Use the command... 
Remarks 
Specify the CVLAN for the 
VLAN mapping 
remark customer-vlan-id 
vlan-id-value 
Required 
Exit to system view 
quit 
— 
Create a QoS policy and enter 
QoS policy view 
qos policy policy-name 
Required 
Map the SVLAN to the CVLAN 
by associating the traffic class 
with the traffic behavior 
classifier tcl-name behavior 
behavior-name 
Required 
Exit to system view 
quit 
— 
 
Configuring Many-to-One VLAN Mapping 
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: 
To do... 
Use the command... 
Remarks 
Enter system view 
system-view 
— 
Enable DHCP snooping 
dhcp-snooping 
Required 
Disabled by default. 
Create a VLAN 
and enter VLAN 
view 
vlan vlan-id 
Enable ARP 
detection 
arp detection enable 
Enable ARP 
detection on the 
CVLANs and the 
SVLAN for the 
VLAN mapping 
Exit to system 
view 
quit 
Required 
Disabled by default. 
Repeat these steps for 
all CVLANs and the 
SVLAN that the VLAN 
mapping involves. 
Configure an uplink policy to map the 
CVLANs to the same SVLAN 
Refer to 
Required 
Enter the interface view of the 
downlink port 
interface interface-type 
interface-number
 
— 
Set the link type of the downlink port to 
trunk 
port link-type trunk 
Required 
Configure the downlink port to permit 
the specified CVLANs and SVLANs to 
pass through 
port trunk permit vlan 
vlan-id-list | all } 
Required 
By default, a trunk port 
permits only VLAN 1 to 
pass through.