cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
890
Views
0
Helpful
4
Replies

Rate Limit on 3650 + Observium Bandwidth Monitoring

BashedRoot
Level 2
Level 2

Trying to set rate limit on select interface to 25Mbps instead of the default 10/100/1000 options. Doesn't seem to be working for me.

Tried these 2 methods:

Cisco3650(config-pmap)#class class-default 
Cisco3650(config-pmap-c)#police cir percent 25 conform-action transmit exceed-action drop
Cisco3650(config-pmap-c)#exit
Cisco3650(config-pmap)#exit
Cisco3650(config)#int gi2/0/19
Cisco3650(config)#service-policy output speed25
Cisco3650(config)#end
Cisco3650#conf ter
Enter configuration commands, one per line.  End with CNTL/Z.
Cisco3650(config)#policy-map speed25
Cisco3650(config-pmap)#class class-default
Cisco3650(config-pmap-c)#bandwidth percent 25
Cisco3650(config-pmap-c)#exit
Cisco3650(config-pmap)#exit
Cisco3650(config)#int gi2/0/19
Cisco3650(config-if)#service-policy output speed25

Observium Issue: so these switches are trunked (2 x 3650 L3 switches). In the graph, it shows the uplink connectivity calculated with the total utilization. This is definitely not accurate as it shouldn't do that.

Example:

Drop #1 =  40Mbps
Drop #2 =  200Mbps
Uplink to Switch #2 = 130Mbps

Now as a result VLAN2155 (total utilization) is calculating not only #1 and #2 drops from the upstream, but even the trunk port labeled "Uplink to Switch #2".

How can I rectify this with Observium to avoid that and get an accurate output?

Also, anyone know how I can add the interface ports for the trunked 2nd switch to show up in Observium? Right now, only the primary switches' interfaces show up, and all VLANs for both switches.

4 Replies 4

rasmus.elmholt
Level 7
Level 7

Hi

I dont know about the observium. but

The first code you share should police the link to 250mbit.??

The second piece of code will guarantee 250mbit on the link for the class-default. And since there isnt any other reservations it will allow 1gbit of traffic through. In other words. it is a guarantee and not a restriction. If more than 250mbit is available on the link it will be used.

I originally set the port to 100mbit speed. I figured 25 percent would mean 25Mb out of the 100?

Gi2/0/19  Server 16          connected    16         a-full    100 10/100/1000BaseTX

Also, what do you mean it'll let 1G traffic through since there's no other reservations?

Current configuration : 154 bytes
!
interface GigabitEthernet2/0/19
 description Server 16
 switchport access vlan 16
 switchport mode access
 speed 100
 service-policy output speed25
end

The bandwidth command provides a minimum bandwidth guarantee during congestion.

The bandwidth command will reserve the traffic during congestion and is used to guarantee different classes will get served like in this example where bar is garanteed 30% and baz 60%. if baz doesn't use any bandwidth bar can use all.

policy-map foo 
  class bar 
    bandwidth percent 30 
 class baz 
  bandwidth percent 60

http://www.cisco.com/c/en/us/support/docs/quality-of-service-qos/qos-packet-marking/10100-priorityvsbw.html

I am not sure the QoS commands use the actual speed of the link, but try with a static policing or try to change the bandwith command on the interface to 100mbit. The percentage in QoS i normaly derived from the interface bandwidth command.

Router(config)# interface serial 0
Router(config-if)#  bandwidth 44736

To set and communicate the current bandwidth value for an interface to higher-level protocols, use the bandwidth command in interface configuration mode; you cannot adjust the actual bandwidth of an interface with this command.

http://www.cisco.com/c/en/us/td/docs/ios/12_2/interface/command/reference/finter_r/irfacces.html#wp1120696

Hope this helps otherwise dont hesitate to ask.

And dont forget to rate.

Sorry still confused here. I just want to limit speed to non-default 10/100/1000 on select interfaces. Something like 25Mbps. I want it to limit output so the user on that port doesn't go beyond that limit.