Huawei Port based Rate limit configuration on routing port .
interface XGigabitEthernet0/0/21
undo portswitch
ipv6 enable
ip address 10.050.5 255.255.255.252
qos lr outbound cir 600000 cbs 620000
qos lr inbound cir 600000 cbs 620000
#
return
(Mikrotik,Cisco,ubiquiti,DMA Radius,Mikroitk NAS,Usermanager,Cent OS,Ubuntu,Redhat,Syslog,FTP,TFTP,Rsyslog,)
Huawei Port based Rate limit configuration on routing port .
There is a 2 way to configure the QOS bandwidth SHaping on port in CIsco L2/L3 switches.
1-SRR(Only Download traffic can be controlled )
2-Service Policy.(Only one direction you can control).
if you want to be both then you can configure the both SRR and Service policy on same port .
srr-queue bandwidth limit %
You have to set the bandwidth as a percentage of the link speed. The options are 10-99 percent. This means that if you want a limit less than 10Mb you must set the port’s physical speed to 10 and the duplex to full. You will then have to statically configure the client to 10/full. This, however, only limits the egress traffic.
We use this to match and limit our ingress traffic.
First, you must enable mls qos on your switch, otherwise your matching won’t work.
Make Sure you have enabled the mls qos command .
mls qos
policy-map 8meg
class rate-limit
police 8192000 192000 exceed-action drop
int fa0/1
service-policy input 8meg
To configure the bandwidth shaping on L2 Interface you can go to interface configuration Mode on the switch port, and apply the srr-queue bandwidth limit command. Here's an example:
The 90 sets the outbound bandwidth limit on the port to 90 percent of the port speed. Since this is a 100-Mb port, this should limit the outbound traffic from the port to 10 Mb.
Vlan-based QoS can be used to apply QoS (and hence prioritize) traffic on interfaces belonging to a particular vlan. The interface on which you intend to apply QoS should be configured with 'mls qos vlan-based' and the actual QoS service policy should be configured under the vlan interface.
For all the interfaces on which you intend to apply QoS, mls qos vlan-based needs to be configured and the service policy just needs to be configured under the interface vlan.
Instead of using vlan based qos, you can also apply the service policy directly under the physical interfaces.
Here i will show you , how you can configure the bandwidth shaping on vlan .Lets see the process of configuration step by step.
In 4948, it's not recommended to configure the Bandwidth shaping on SVI, Instead, you can configure the bandwidth shaping on per VLAN..which is the access port.
Cisco-4948E-L3# configure terminal
Cisco-4948E-L3(config)# class-map vlan100-BW
Cisco-4948E-L3(config-cmap)# match vlan 100
Cisco-4948E-L3(config-cmap)# exit
Let's Look at some simple examples of enterprise QOS designing (of the Catalyst 3550,3750,4948E series )
There is a 3-step process, We will first configure the class map, then the policy map, apply the policy map to an interface.
for 1Gb it would be 950Mb
the five percent was rule of thumb for 100Mb
so took 1Gbps knocked it down to 950Mb
for gig it's 950 million = 950,000,000 bits,
and 95Mb shape average for 100Mb circuit
In this post, i will show you how you can configure the Bandwidth limit on the subinterface of the Huawei switch.