• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 665
  • Last Modified:

How to limit speed of Cisco Switch 3750G, optical port


I have a 3750G cisco switch, with 24 ethernet port + 4 optical port

I tested OK limit speed on Ethernet port, with speed command, for example:
speed 10 # limit 10 mbis/s

But this command not effect on optical-port
So, how to litmit speed on optical port?

Thank you!

0
redstar01
Asked:
redstar01
3 Solutions
 
Ernie BeekCommented:
Not sure if this works on SFP/optical ports, but you could try:
srr-queue bandwidth limit weight1

Here weight1 is a percentage of the total bandwidth.
0
 
surbabu140977Commented:
srr-queue command is only not applicable for 10gig ethernet interfaces. For the rest it should work. Hopefully on optical as well.
srr-queue command never works ideally because the speed is determined bu the hardware line cards. So if you need exactly X meg traffic it might be X+-few meg.

srr-queue works on egress traffic. So you might need policing for inbound. (although if egress is dropped the ingress flow reduces automatically).

Below is the config,

mls qos -->in global config mode
policy-map police-Xmb
class class-default
police <type value> bc <type value> exceed-action drop

int  x/y
srr-queue bandwidth limit Z
service-policy input police-Xmb

Best,
0

Featured Post

What Security Threats Are We Predicting for 2018?

Cryptocurrency, IoT botnets, MFA, and more! Hackers are already planning their next big attacks for 2018. Learn what you might face, and how to defend against it with our 2018 security predictions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now