Optimize the Switch Performance
This chapter describes how you can optimize the performance of the switch.
This chapter contains the following sections:
Set the quality of service mode and port rate limits
You can manually set the Quality of Service (QoS) modes to manage traffic:
- Port-based QoS mode: Lets you set the priority (low, normal, medium, high, or critical) for individual port numbers and lets you set rate limits for incoming and outgoing traffic for individual ports. If broadcast filtering is enabled, you can also set the storm control rate for incoming traffic for individual ports.
- 802.1P/DSCP QoS mode: Applies pass-through prioritization that is based on tagged packets and lets you set rate limits for incoming and outgoing traffic for individual ports. If broadcast filtering is enabled, you can also set the storm control rate for incoming traffic for individual ports.
This QoS mode applies only to devices that support 802.1P and Differentiated Services Code Point (DSCP) tagging. For devices that do not support 802.1P and DSCP tagging, ports are not prioritized, but the configured rate limit is still applied.
You can limit the rate of traffic on a port, including incoming or outgoing traffic, or both, to prevent the port and the device that is attached to it from taking up too much bandwidth on the switch. Rate limiting, which you can set for individual ports in either of these QoS modes, means that the switch ensures that traffic does not exceed the limit that you set for that port. If you set the rate limit on a port too low, you might notice degraded video stream quality, sluggish response times during online activity, and other problems.
For more information, see the following sections:
Use port-based quality of service and set port priorities
- Port priority: The switch services traffic from ports with a critical priority before traffic from ports with a high, medium, or low priority. Similarly, the switch services traffic from ports with a high priority before traffic from ports with a medium or low priority. If severe network congestion occurs, the switch might drop packets from ports with a low priority.
- Port rate limits: The switch accepts traffic on a port at the rate (the speed of the data transfer) that you set for incoming traffic on that port. The switch transmits traffic from a port at the rate that you set for outgoing traffic on that port. You can select each rate limit as a predefined data transfer threshold from 512 Kbps to 512 Mbps.
To use the port-based QoS mode and set the priority and rate limits for ports:
Use 802.1P/DSCP quality of service
In the 802.1P/DSCP QoS mode, the switch uses the 802.1P or DSCP information in the header of an incoming packet to prioritize the packet. With this type of QoS, you cannot control the port prioritization on the switch because the device that sends the traffic (that is, the packets) to the switch prioritizes the traffic. However, you can set the rate limits for individual ports on the switch.
The switch accepts traffic on a port at the rate (the speed of the data transfer) that you set for incoming traffic on that port. The switch transmits traffic from a port at the rate that you set for outgoing traffic on that port. You can select each rate limit as a predefined data transfer threshold from 512 Kbps to 512 Mbps.
To use 802.1P/DSCP QoS mode and set the rate limits for ports:
Manage broadcast filtering and set port storm control rate limits
A broadcast storm is a massive transmission of broadcast packets that are forwarded to every port on the switch. If they are not blocked, broadcast storm packets can delay or halt the transmission of other data and cause problems. However, you can block broadcast storms on the switch.
You can also set storm control rate limits for each port. Storm control measures the incoming broadcast, multicast, and unknown unicast frame rates separately on each port, and discards the frames if the rate that you set for the port is exceeded. By default, no storm control rate limit is set for a port. You can select each storm control rate limit as a predefined data transfer threshold from 512 Kbps to 512 Mbps.
To manage broadcast filtering and set the storm control rate limits for ports:
Manage individual port settings
For each individual port, you can set the port priority, set rate limits for incoming and outgoing traffic, set the port speed (by default, the speed is set automatically), enable flow control, and change the port name label.
For more information, see the following sections:
Set rate limits for a port
You can limit the rate of incoming (ingress) traffic, outgoing (egress) traffic, or both on a port to prevent the port (and the device that is attached to it) from taking up too much bandwidth on the switch. Rate limiting simply means that the switch slows down all traffic on a port so that traffic does not exceed the limit that you set for that port. If you set the rate limit on a port too low, you might, for example, see degraded video stream quality, sluggish response times during online activity, and other problems.
You also can set port rate limits (the same feature) as part of the Quality of Service configuration on the switch (see Set the quality of service mode and port rate limits).
To set rate limits for incoming and outgoing traffic on a port:
Set the priority for a port
If the QoS mode on the switch is Port-Based (the default setting), you can set the priority for a port.
The switch services traffic from ports with a critical priority before traffic from ports with a high, medium, or low priority. Similarly, the switch services traffic from ports with a high priority before traffic from ports with a medium or low priority. If severe network congestion occurs, the switch might drop packets with a low priority.
You also can set the priority for a port (the same feature) as part of the Quality of Service configuration on the switch (see Use port-based quality of service and set port priorities).
Manage flow control for a port
IEEE 802.3x flow control works by pausing a port if the port becomes oversubscribed (that is, the port receives more traffic than it can process) and dropping all traffic for small bursts of time during the congestion condition.
You can enable or disable flow control for an individual port. By default, flow control is disabled for all ports.
To manage flow control for a port:
Change the speed for a port or disable a port
By default, the port speed on all ports is set automatically (that is, the setting is Auto) after the switch determines the speed using autonegotiation with the linked device. We recommend that you leave the Auto setting for the ports. However, you can select a specific port speed for each port, or disable a port by shutting it down manually.
To change the speed for a port or disable a port:
Add or change the name label for a port
You can add or change a name label for a port. Name labels are for your reference only, and do not affect port behavior.
To add or change a name label for a port: