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

sh policy-map int fa 0 always shows 0 bps

vincehgov
Level 1
Level 1

I'm trying to configure QoS on my 877 router to give priority to voice packets.  However, when I do a show policy-map for WAN interface, all the classes show 0 bps.  When I do a show int for the WAN interface, I get the correct bandwidth util.

This 877 is meant for a home network.  I'm running a Cisco 7970 phone using phone-proxy back to my HQ. I'm also shaping the traffic.

Here is my config

Class Map match-any EF (id 1)

   Match ip  precedence 5

Class Map match-any class-default (id 0)

   Match any

  Policy Map To_WAN
    Class EF
      priority 128 (kbps)
    Class class-default
      bandwidth 384 (kbps)
  Policy Map To_WAN_Shaper
    Class class-default
      Average Rate Traffic Shaping
      cir 512000 (bps)
      service-policy To_WAN
interface FastEthernet0
switchport access vlan 102
no cdp enable
spanning-tree portfast
service-policy output To_WAN_Shaper
end
Here is my show int fa 0
FastEthernet0 is up, line protocol is up
  Hardware is Fast Ethernet, address is e804.622d.e9b6 (bia e804.622d.e9b6)
  MTU 1500 bytes, BW 100000 Kbit/sec, DLY 100 usec,
     reliability 255/255, txload 1/255, rxload 1/255
  Encapsulation ARPA, loopback not set
  Keepalive set (10 sec)
  Full-duplex, 100Mb/s
  ARP type: ARPA, ARP Timeout 04:00:00
  Last input 00:00:42, output never, output hang never
  Last clearing of "show interface" counters never
  Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
  Queueing strategy: Class-based queueing
  Output queue: 0/1000/0 (size/max total/drops)
  5 minute input rate 88000 bits/sec, 50 packets/sec
  5 minute output rate 89000 bits/sec, 50 packets/sec
Here is my sh policy-map
FastEthernet0
  Service-policy output: To_WAN_Shaper
    Class-map: class-default (match-any)
      34149 packets, 2048940 bytes
      5 minute offered rate 0 bps, drop rate 0 bps
      Match: any
      Queueing
      queue limit 64 packets
      (queue depth/total drops/no-buffer drops) 0/0/0
      (pkts output/bytes output) 34149/2048940
      shape (average) cir 512000, bc 12800, be 12800
      target shape rate 512000
      Service-policy : To_WAN
        queue stats for all priority classes:
          queue limit 64 packets
          (queue depth/total drops/no-buffer drops) 0/0/0
          (pkts output/bytes output) 0/0
        Class-map: EF (match-any)
          0 packets, 0 bytes
          5 minute offered rate 0 bps, drop rate 0 bps
          Match: ip precedence 5
            0 packets, 0 bytes
            5 minute rate 0 bps
          Priority: 128 kbps, burst bytes 3200, b/w exceed drops: 0
        Class-map: class-default (match-any)
          34149 packets, 2048940 bytes
          5 minute offered rate 0 bps, drop rate 0 bps
          Match: any
          Queueing
          queue limit 64 packets
          (queue depth/total drops/no-buffer drops) 0/0/0
          (pkts output/bytes output) 34149/2048940
          bandwidth 384 kbps

5 Replies 5

paolo bevilacqua
Hall of Fame
Hall of Fame

Attach policy map to IP-enabled, not physical interface.

For a correctly deployed 877, that shoudl be an ATM or dialer interface, and would avoid the need for shaping.

Hi.  I'm sorry.  I'm using this for a cable modem.  I've made the FA0 the "external" interface and dropped it into it's own vlan.  Should I put the policy map on the vlan interface?

interface Vlan102

ip address dhcp

ip access-group 102 in

ip nat outside

ip virtual-reassembly

end

Yes, as indicated above. However, you may find that doing it on a proper 871 have less chances of encountering bugs or limitations.

Trying to do "service-policy output To_WAN_Shaper" on vlan interface returns "Configuration Failed!".

As indicated above, you should apply that on the WAN Ethernet of an 871, not an 877.

Or you can update IOS and hope tht the limitation has been removed (unlikely).

Review Cisco Networking for a $25 gift card