Example For Configuring Traffic Policing Based On A Traffic Classifier - Huawei S3700HI Configuration Manual - Qos

Table of Contents

Advertisement

S3700HI Ethernet Switches
Configuration Guide - QoS
[Switch] display qos lr inbound interface ethernet0/0/1
Ethernet0/0/1 lr inbound:
cir: 8192 Kbps, cbs: 1024000 Byte
[Switch] display qos lr inbound interface ethernet0/0/2
Ethernet0/0/2 lr inbound:
cir: 5120 Kbps, cbs: 640000 Byte
----End
Configuration Files
l
2.6.2 Example for Configuring Traffic Policing Based on a Traffic
Classifier
The Switch provides different bandwidth by configuring traffic policing based on a traffic
classifier and setting different CAR parameters.
Networking Requirements
The Switch is connected to the router by using GE 0/0/2; enterprise users can access the network
by using the Switch and the router. In
l
l
l
On the Switch, traffic policing needs to be performed on packets of different services to limit
traffic within a proper range and ensure bandwidth of each service.
DSCP priorities carried in service packets sent from the user side cannot be trusted and services
require different QoS in practice. Therefore, you need to re-mark DSCP priorities of different
service packets on the Switch so that the downstream router can process packets based on
priorities.
The requirements are as follows:
Issue 01 (2012-03-15)
Configuration file of the Switch
#
sysname Switch
#
vlan batch 100 200 300
#
interface Vlanif300
ip address 192.168.1.1 255.255.255.0
#
interface Ethernet0/0/1
port link-type trunk
port trunk allow-pass vlan 100
qos lr inbound cir 8192 cbs 1024000
#
interface Ethernet0/0/2
port link-type trunk
port trunk allow-pass vlan 200
qos lr inbound cir 5120 cbs 640000
#
interface GigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 100 200 300
#
return
Voice services belong to VLAN 120.
Video services belong to VLAN 110.
Data services belong to VLAN 100.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
2 Traffic Policing and Traffic Shaping Configuration
Table
2-1:
70

Advertisement

Table of Contents
loading

Table of Contents