Configuring the customer-side port, Configuring the network-side port – H3C Technologies H3C S10500 Series Switches User Manual
Page 218

207
To do...
Use the command...
Remarks
Configure an SVLAN marking action to
replace the local SVLAN ID with a
foreign SVLAN ID
remark service-vlan-id vlan-id
Return to system view
quit
Create a QoS policy and enter QoS
policy view
qos policy policy-name Required
Associate the class with the behavior
classifier tcl-name behavior
behavior-name
Required
Repeat this step to create other
class-behavior associations.
Configuring the customer-side port
Follow these steps to configure the customer-side port:
To do...
Use the command...
Remarks
Enter system view
system-view
—
Enter Ethernet interface view
interface interface-type
interface-number
—
Configure the port as a trunk port
port link-type trunk
Required
The default link type of an Ethernet
port is access.
Assign the port to the local SVLANs
port trunk permit vlan { vlan-id-list |
all }
Required
By default, a trunk port is in only
VLAN 1.
Apply the uplink policy configured
for the customer-side port to the
incoming traffic
qos apply policy policy-name
inbound
Required
Skip this step if you have not
configured an uplink policy for
replacing SVLAN tags.
Apply the downlink policy
configured for the customer-side
port to the outgoing traffic
qos apply policy policy-name
outbound
Required
Configuring the network-side port
Follow these steps to configure the network-side port:
To do...
Use the command...
Remarks
Enter system view
system-view
—
Enter Ethernet interface view
interface interface-type
interface-number
—
Configure the port as a trunk port port link-type trunk
Required
The default link type of an Ethernet
port is access.
Assign the port to local SVLANs
port trunk permit vlan { vlan-id-list |
all }
Required
By default, a trunk port is in only
VLAN 1.