Traffic Shaping will help you to limit the traffic on the server. In vSphere you will also find this feature Traffic shaping in the virtual switch settings by which you can limit the traffic of virtual machines. It will help you by restricting the network bandwidth. Traffic shaping will help you maintain the bandwidth across the servers with same or load balanced network bandwidth. It will help you to provide the consistent network bandwidth across your servers.
vSphere Standard Switch & vSphere Distributed Switch both provides the traffic shaping policy. In case of Standard switch it only helps in outbound traffic shaping but if you are using the Distributed Switch you have benefit of both Inbound as well as outbound traffic shaping. In Standard switch you can only restrict the traffic on the port group level but Distributed switch provides the more granular which means you can limit the traffic per port of the vm. So Distributed switch will provide the more advance traffic shaping policy as compared to standard switch.
Traffic Shaping policy consists of 3 options :-
This is the average bandwidth sent in kilobits per second from the port group or port. It is an average over time. You can set the how much average bandwidth you want to allow.
This is the highest Peak bandwidth or the highest network traffic sent in kilobits per second from the port group or port. You can set the how much highest network bandwidth you want to allow for the port or port group.
Burst size allows the maximum number of bandwidth allowed in the form of Kilobytes. This is the bonus value which you will get if your average bandwidth & peak bandwidth limit is crossed. This provides the higher data sent across as compared to others. You can set the value of Burst size in Kilobytes which you want to allow for the burst.
You can configure traffic shaping as Ingress traffic shaping & Egress traffic shaping on the distributed switch. Distributed switch will also help you to setup Traffic shaping on port group or per vm port level which is not available in the standard switch. In standard switch you can either configure traffic shaping on vSwitch or on the Port group.
To setup the Traffic shaping just choose your Port group on the Distributed Switch > Right click Edit settings > Traffic shaping.
Here you can configure both the inbound & outbound traffic shaping for the port group or single port.
That’s it for Today Friends. I Hope you liked reading this post & If you find anything more to be added or removed feel free to write it in our comments. If you find it useful You are Feel free to share this on social media to help others & spread knowledge.
If you have any query on any thing you are free to write it in our comments section & we will make sure to provide you the better solution as soon as possible.