3com S7906E Manuel De Montage

Page de 2621
 
1-13 
 
Follow these steps to configure a two-to-two VLAN mapping: 
To do... 
Use the command... 
Remarks 
Enter system view 
system-view 
— 
Configure an uplink policy for 
the uplink port to replace the 
original CVLAN with the new 
CVLAN 
. Required 
Configure an uplink policy for 
the downlink port to replace the 
original SVLAN with the new 
SVLAN 
. Required 
Configure a downlink policy for 
the downlink port to replace the 
new SVLAN and CVLAN with 
the original SVLAN and CVLAN 
. Required 
Enter the interface view of the 
downlink port 
interface interface-type 
interface-number
 
— 
Configure the downlink port as 
a trunk port 
port link-type trunk 
Required 
Configure the downlink port to 
permit the packets of the 
SVLANs to pass through 
port trunk permit vlan 
vlan-id-list | all } 
Required 
By default, a trunk port permits 
only the packets of VLAN 1 to 
pass through.  
Apply the uplink policy for the 
downlink port to the inbound 
direction of the downlink port 
qos apply policy policy-name 
inbound 
Required 
Apply the downlink policy for 
the downlink port to the 
outbound direction of the 
downlink port 
qos apply policy policy-name 
outbound 
Required 
Exit to system view 
quit 
— 
Enter the interface view of the 
uplink port 
interface interface-type 
interface-number
 
— 
Configure the uplink port as a 
trunk port 
port link-type trunk 
Required 
Configure the uplink port to 
permit the packets of the 
SVLANs to pass through 
port trunk permit vlan 
vlan-id-list | all } 
Required 
By default, a trunk port permits 
only the packets of VLAN 1 to 
pass through.  
Apply the uplink policy for the 
uplink port to the outbound 
direction of the uplink port 
qos apply policy policy-name 
outbound 
Required 
 
Table 1-5 Configure an uplink policy for the uplink port 
To do... 
Use the command... 
Remarks 
Enter system view 
system-view 
—