Configure meter on a single port

  • 0
  • 1
  • Question
  • Updated 4 years ago
  • Answered
Create Date: Nov 19 2013 9:35PM

I want to control maximum bandwidth to 100 MB on a single port. here is what I have tried:
create meter HundredMbps_ingress
configure meter HundredMbps_ingress committed-rate 100 Mbps out-action drop
edit policy HundredMbLimit

### (HundredMbLimit.pol)
entry limit100Mb {
if match any {
 } then { 
permit;meter HundredMbps_ingress; 
  }
}
##
configure access-list HundredMbLimit port 32 ingressThe bandwidth is not limited.
Anyone see any errors here? Wondering if I SHould I be using QoS instead? Stuck
Thanks for you time

(from David_Kordyban)
Photo of EtherNation User

EtherNation User, Employee

  • 20,340 Points 20k badge 2x thumb

Posted 4 years ago

  • 0
  • 1
Photo of EtherNation User

EtherNation User, Employee

  • 20,340 Points 20k badge 2x thumb
Create Date: Nov 21 2013 7:41PM

Hi,

try with this one

if {
vlan-id 12;
} then {

meter MyMeter;
permit;
}

}


--
Jarek

(from Jaroslaw_Kasjaniuk)

This conversation is no longer open for comments or replies.