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

2960x qos to limit port-bandwidth

mr.marslin
Level 1
Level 1

Dears,

I want to limit the bandwidth 50M per port on 2960x switch.

Config:

!

class-map match-all CLASS_50M
 match access-group name ACL_50M
!
policy-map POLICY_50M
 class CLASS_50M
  police 50000000 1000000 exceed-action drop
!

ip access-list extended ACL_50M
 permit ip any any

!

interface GigabitEthernet1/0/35
 switchport access vlan 64
 switchport mode access
 load-interval 30
 storm-control broadcast level pps 100
 storm-control action trap
 service-policy input POLICY_50M

!

============

But, not any hit policy-map & acl ~

sh policy-map interface gigabitEthernet 1/0/35

>>
GigabitEthernet1/0/35 

  Service-policy input: POLICY_50M

    Class-map: CLASS_50M (match-all)  
      0 packets, 0 bytes
      30 second offered rate 0000 bps, drop rate 0000 bps
      Match: access-group name ACL_50M

==============

Have something wrong ?

1 Reply 1

acampbell
VIP Alumni
VIP Alumni

Hi,

On the 2960-x look at the correct cofig guide for your
IOS Version.

Example 15.2.2E

Monitoring Standard QoS

 

Table 17 Commands for Monitoring Standard QoS on the Switch

Command

Description

show class-map [class-map-name]

Displays QoS class maps, which define the match criteria to classify traffic.

show mls qos

Displays global QoS configuration information.

show mls qos aggregate-policer [aggregate-policer-name]

Displays the aggregate policer configuration.

show mls qos interface [interface-id] [buffers | policers | queueing | statistics]

Displays QoS information at the port level, including the buffer allocation, which ports have configured policers, the queueing strategy, and the ingress and egress statistics.

show mls qos maps [cos-dscp | |cos-output-q | dscp-cos | |dscp-mutation dscp-mutation-name | dscp-output-q | ip-prec-dscp | policed-dscp]

Displays QoS mapping information.

show mls qos queue-set [qset-id]

Displays QoS settings for the egress queues.

show policy-map [policy-map-name [class class-map-name]]

Displays QoS policy maps, which define classification criteria for incoming traffic.

Do not use the show policy-map interface privileged EXEC command to display classification information for incoming traffic. The control-plane and interface keywords are not supported, and the statistics shown in the display should be ignored.

 

show running-config | include rewrite

Displays the DSCP transparency setting.

 

show policy-map interface command is NOT supported

 

Regards
Alex

Regards, Alex. Please rate useful posts.
Review Cisco Networking products for a $25 gift card