3com S7906E Manuel De Montage
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
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
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
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
downlink port
interface interface-type
interface-number
interface-number
—
Configure the downlink port as
a trunk port
a trunk port
port link-type trunk
Required
Configure the downlink port to
permit the packets of the
SVLANs to pass through
permit the packets of the
SVLANs to pass through
port trunk permit vlan
{ vlan-id-list | all }
{ vlan-id-list | all }
Required
By default, a trunk port permits
only the packets of VLAN 1 to
pass through.
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
downlink port to the inbound
direction of the downlink port
qos apply policy policy-name
inbound
inbound
Required
Apply the downlink policy for
the downlink port to the
outbound direction of the
downlink port
the downlink port to the
outbound direction of the
downlink port
qos apply policy policy-name
outbound
outbound
Required
Exit to system view
quit
—
Enter the interface view of the
uplink port
uplink port
interface interface-type
interface-number
interface-number
—
Configure the uplink port as a
trunk port
trunk port
port link-type trunk
Required
Configure the uplink port to
permit the packets of the
SVLANs to pass through
permit the packets of the
SVLANs to pass through
port trunk permit vlan
{ vlan-id-list | all }
{ vlan-id-list | all }
Required
By default, a trunk port permits
only the packets of VLAN 1 to
pass through.
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
uplink port to the outbound
direction of the uplink port
qos apply policy policy-name
outbound
outbound
Required
Table 1-5 Configure an uplink policy for the uplink port
To do...
Use the command...
Remarks
Enter system view
system-view
—