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

Issue when Using QoS to Limit Interface Bandwidth

Alex Zhang
Level 1
Level 1

Hi, 

I was always using QoS to limit the bandwidth of interface. 

And got an issue on my Catalyst 2960G switch. Once I've applied the QoS, the host connecting to the port(I've found the issue on G0/9) will be disconnected. However, this QoS works good on other interface such as G0/1 on this switch.

. It only reply me time out when trying to ping the IP on the host.

Can someone help with it. Thanks.

The following are the details of the QoS and interface status.

The QoS

!

ip access-list extended acl4speed
permit ip any any

!
class-map match-any speed4all
match access-group name acl4speed
!

policy-map speed200m
class speed4all
police 200000000 1000000 exceed-action drop

!

The status of interface when using the QoS:

######### G0/9 ##########

!
interface GigabitEthernet0/9
switchport access vlan 39
switchport mode access
ip access-group acl4deny25port in
storm-control broadcast level 20.00 10.00
storm-control multicast level 20.00 10.00
spanning-tree portfast
spanning-tree bpduguard enable
spanning-tree guard root
service-policy input speed200m
!

GigabitEthernet0/9 is up, line protocol is up (connected)
Hardware is Gigabit Ethernet, address is 0019.e76a.2709 (bia 0019.e76a.2709)
MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Full-duplex, 1000Mb/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 45w3d, output 00:00:01, output hang never
Last clearing of "show interface" counters 00:14:48
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue: 0/40 (size/max)
5 minute input rate 1417000 bits/sec, 237 packets/sec
5 minute output rate 448000 bits/sec, 308 packets/sec
212157 packets input, 169142665 bytes, 0 no buffer
Received 1 broadcasts (0 multicasts)
0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 watchdog, 0 multicast, 0 pause input
0 input packets with dribble condition detected
254980 packets output, 46563663 bytes, 0 underruns
0 output errors, 0 collisions, 0 interface resets
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

!

######### G0/1 ##########

interface GigabitEthernet0/1
switchport access vlan 31
switchport mode access
ip access-group acl4deny25port in
storm-control broadcast level 20.00 10.00
storm-control multicast level 20.00 10.00
spanning-tree portfast
spanning-tree bpduguard enable
spanning-tree guard root
service-policy input speed200m

!

GigabitEthernet0/1 is up, line protocol is up (connected)
Hardware is Gigabit Ethernet, address is 0019.e76a.2701 (bia 0019.e76a.2701)
MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Full-duplex, 1000Mb/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 20w6d, output 00:00:00, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 49766230
Queueing strategy: fifo
Output queue: 0/40 (size/max)
5 minute input rate 232000 bits/sec, 67 packets/sec
5 minute output rate 123000 bits/sec, 77 packets/sec
681885043 packets input, 339777370327 bytes, 0 no buffer
Received 1131883 broadcasts (44048 multicasts)
0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 watchdog, 44048 multicast, 0 pause input
0 input packets with dribble condition detected
784976758 packets output, 178407286566 bytes, 0 underruns
0 output errors, 0 collisions, 1 interface resets
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

!

0 Replies 0
Review Cisco Networking for a $25 gift card