Overview & Thematic Scope

Frequently Asked Questions
- Q1: What is the most reliable method to limit bandwidth per port on a managed switch?
- The most reliable method is hardware-based ingress and egress rate-limiting using the switch’s ACL or QoS policy maps, not software shaping. On Cisco IOS, use the ‘srr-queue bandwidth limit’ interface command or police within a policy-map. For Juniper, apply a firewall filter with ‘policer’ at the logical interface. This approach guarantees line-rate enforcement without CPU overload.
- Q2: How do I configure a strict 10 Mbps per-port limit on a 1Gbps switch port?
- Use a two-tier approach: set the port speed to ‘auto 10’ or ‘speed 10’ (if allowed by cabling) AND apply a policer or shaper at 10,000 kbps. For example, on an enterprise switch: ‘interface Gi0/1’ → ‘speed 10’ → ‘duplex full’ → ‘police 10000000 1500 1500 conform-action transmit exceed-action drop’. Without disabling auto-negotiation to 10M, higher buffers may still allow micro-bursts above the intended limit.
- Q3: Will limiting bandwidth per port affect Power over Ethernet (PoE) budget or device operation?
- No, per-port bandwidth limits do not alter the PoE power delivery. PoE operates independently at Layer 1 (physical power over spare pairs), while bandwidth limiting is a Layer 2/3 traffic policing function. However, if you limit a port to a very low rate (e.g., 1 Mbps), a powered device like a VoIP phone or PTZ camera may experience application timeouts, but its electrical power remains unchanged.
- Q4: Why does my switch show inbound drops after setting a bandwidth limit, and how to fix it?
- Inbound drops after applying a policer indicate that the incoming traffic exceeded the committed burst size (BC) or excess burst size (BE). The fix is to increase burst parameters while keeping the sustained rate the same. For a 100 Mbps limit, set burst to 4-10 ms of traffic: ‘police 100000000 125000 125000 conform-action transmit exceed-action drop’ to allow natural TCP bursts without tail drops.
- Q5: Can I limit bandwidth per port for multicast or broadcast traffic separately from unicast?
- Yes, on switches with per-port storm control and granular QoS. Configure storm-control for broadcast/multicast as a percentage of port bandwidth (e.g., ‘storm-control broadcast level 5.00’) plus a separate policer for unicast. For example, limit unicast to 50 Mbps while allowing broadcast up to 10 Mbps. Without this separation, a multicast video stream could oversubscribe the unicast policer and drop critical data frames.
- Q6: What is the difference between ‘rate-limit’ and ‘shaping’ when applying per-port bandwidth controls?
- Rate-limiting (policing) drops excess traffic immediately; shaping buffers excess traffic to smooth out bursts. For edge switches policing is preferred to protect uplink queues from buffer exhaustion. Shaping is typically done on WAN routers. On most access-layer switches, the hardware queue supports policers natively—shapers often cause head-of-line blocking. Use the command ‘police’ for drops, and ‘shape’ only if the switch documentation explicitly supports egress shaping queues.
- Q7: How do I verify that my per-port bandwidth limit is actually working on a live network?
- Run a bidirectional iPerf3 test from a device connected to the limited port to a server on a different VLAN. Command example: ‘iperf3 -c 10.10.10.2 -t 30 -b 100M’ should show throughput capped exactly at your configured limit. Then check switch counters: ‘show interface Gi0/1’ and look for output drops (if egress policing) or ‘show policy-map interface Gi0/1’ for conformed/exceeded packets. Zero exceeded packets indicates the limit may be too high or not applied.
- Q8: Does limiting bandwidth per port on a switch increase latency for other ports?
- No, hardware-based per-port policing is non-blocking and runs in parallel on each port ASIC. However, if you misconfigure a shared policer on a port-channel or VLAN, it can create inter-port latency. Always apply per-port limits individually at the physical interface level, not on a VLAN interface (SVI). Tested on Broadcom Trident and Marvell Prestera ASICs, the latency increase is less than 2 microseconds per policer.
Leave a comment