Configuration procedure – H3C Technologies H3C S6300 Series Switches User Manual
Page 85
75
Figure 21 Network diagram
Configuration procedure
# Configure an aggregate CAR according to the rate limit requirements.
[Device] qos car aggcar-1 aggregative cir 2560 cbs 20480 red discard
# Create class 1 to match traffic of VLAN 10. Create behavior 1 and reference the aggregate CAR in the
behavior.
[Device] traffic classifier 1
[Device-classifier-1] if-match customer-vlan-id 10
[Device-classifier-1] quit
[Device] traffic behavior 1
[Device-behavior-1] car name aggcar-1
[Device-behavior-1] quit
# Create class 2 to match traffic of VLAN 100. Create behavior 2 and reference the aggregate CAR in
the behavior.
[Device] traffic classifier 2
[Device-classifier-2] if-match customer-vlan-id 100
[Device-classifier-2] quit
[Device] traffic behavior 2
[Device-behavior-2] car name aggcar-1
[Device-behavior-2] quit
# Create QoS policy car, associate class 1 with behavior 1, and associate class 2 with behavior 2.
[Device] qos policy car
[Device-qospolicy-car] classifier 1 behavior 1
[Device-qospolicy-car] classifier 2 behavior 2
[Device-qospolicy-car] quit
- H3C S5820V2 Series Switches H3C S5830 Series Switches H3C S5830V2 Series Switches H3C S3600V2 Series Switches H3C S6800 Series Switches H3C S3100V2 Series Switches H3C S12500-X Series Switches H3C S5560 Series Switches H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C WX3000 Series Unified Switches H3C LSWM1WCM10 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module H3C S9800 Series Switches H3C S5130 Series Switches H3C S5120 Series Switches