3Com Switch 8800 Advanced Software V5 Configuration Guide

866 CHAPTER 67: VLAN POLICY CONFIGURATION
Applying VLAN Policy
Configuration
Prerequisites
The VLAN poly to be applied is defined. Refer to “Configuring QoS Policy” on
page 840 “Configuring QoS Policy” on page 840 for details.
VLANs where the VLAN policy is to be applied is specified.
Configuration Procedure Follow these steps to apply the VLAN policy to the specific VLAN:
Displaying and
Maintaining VLAN
Policy
Follow these steps to display and maintain VLAN policy:
VLAN Policy
Configuration
Examples
Network Requirements The VLAN policy test is defined to perform TP for packets matching ACL 2000,
with the CIR parameter being 8.
Apply the VLAN policy to the inbound direction of VLAN 200, VLAN 300, VLAN
400, VLAN 500, VLAN 600, VLAN 700, and VLAN 800.
Configuration Procedure <Sysname> system-view
[Sysname] traffic classifier cl1 operator or
[Sysname-classifier-cl1] if-match acl 2000
[Sysname-classifier-cl1] quit
[Sysname] traffic behavior be1
[Sysname-behavior-be1] car cir 8
[Sysname-behavior-be1] quit
[Sysname] qos policy test
[Sysname-qospolicy-test] classifier cl1 behavior be1
[Sysname-qospolicy-test] quit
[Sysname] qos vlan-policy test vlan 200 300 400 500 600 700 800 inbound
Operation Command Description
Enter system view system-view -
Apply the VLAN policy
to the specific VLAN
qos vlan-policy policy-name vlan
vlan-id-list { inbound | outbound }
Required
To do... Use the command... Remarks
Display the
information about a
VLAN policy
display qos vlan-policy { name
policy-name | vlan vlan-id } [ slot
slot-id ]
Available in user view
Clear the statistics
information about
VLAN policies
applied to a VLAN
reset qos vlan-policy [ vlan
vlan-id ]