Trying to set rate limit on select interfaces for non standard speeds 10/100/1000.
I tried the below method, waited for Observium to update (poll) but still hitting above 60Mbps.
Switch2(config)#policy-map speed25
Switch2(config-pmap)#class class-default
Switch2(config-pmap-c)#police cir 25000000 conform-action transmit exceed-action drop
Switch2(config-pmap-c-police)#exit
Switch2(config-pmap-c)#exit
Switch2(config-pmap)#exit
Switch2(config)#int gi2/0/18
Switch2(config-if)#service-policy output speed25
Switch2(config-if)#do sh run int gi2/0/18
Building configuration...
Current configuration : 155 bytes
!
interface GigabitEthernet2/0/18
description Server 15
switchport access vlan 15
switchport mode access
speed 100
service-policy output speed25
end
Switch2(config-if)#do sh policy-map speed25
Policy Map speed25
Class class-default
police cir 25000000 bc 781250
conform-action transmit
exceed-action drop
Switch2#sh int gi 2/0/18
GigabitEthernet2/0/18 is up, line protocol is up (connected)
Hardware is Gigabit Ethernet, address is 002a.10b7.7992 (bia 002a.10b7.7992)
Description: Server 15
MTU 1500 bytes, BW 100000 Kbit/sec, DLY 100 usec,
reliability 255/255, txload 52/255, rxload 88/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Full-duplex, 100Mb/s, media type is 10/100/1000BaseTX
input flow-control is off, output flow-control is unsupported
ARP type: ARPA, ARP Timeout 04:00:00
Last input never, output never, output hang never
Last clearing of "show interface" counters never
Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 3437291916
Queueing strategy: fifo
Output queue: 0/40 (size/max)
5 minute input rate 34886000 bits/sec, 7259 packets/sec
5 minute output rate 20612000 bits/sec, 5913 packets/sec
1831691959 packets input, 1101328391542 bytes, 0 no buffer
Received 1239 broadcasts (242 multicasts)
0 runts, 0 giants, 0 throttles
3 input errors, 3 CRC, 0 frame, 0 overrun, 0 ignored
0 watchdog, 242 multicast, 0 pause input
0 input packets with dribble condition detected
1615517393 packets output, 960150231815 bytes, 0 underruns
3437291916 output errors, 0 collisions, 1 interface resets
0 unknown protocol drops
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier, 0 pause output
0 output buffer failures, 0 output buffers swapped out