cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1920
Views
5
Helpful
11
Replies

Cisco WS-C4948 missing qos commands

grand24890
Level 1
Level 1

Hi all,

I've hunted high and low and cannot seem to be able to enable shaping, bandwidth or priority under a class in a policy-map on a Cisco WS-C4948.

All documentation I have read on this switch on the Cisco website says that all these commands are possible.

Example : http://www.cisco.com/en/US/docs/switches/lan/catalyst4500/12.2/50sg/configuration/guide/qos.html#wp1436874

Switch# configure terminal

Switch(config)# policy-map policy1

Switch(config-pmap)# class class1

Switch(config-pmap-c)# shape average 256000

When I try to replicate I get:

Switch# configure terminal

Switch(config)# policy-map policy1

Switch(config-pmap)# class class1

Switch(config-pmap)# ?

Policy-map class configuration commands:

  dbl              Dynamic buffer limiting

  exit             Exit from QoS class action configuration mode

  netflow-sampler  NetFlow action

  no               Negate or set default values of a command

  police           Police traffic matching current class

  service-policy   Configure QoS Service Policy

  set              Set QoS values

  trust            Set trust value for the class

  <cr>

Am I missing a global command to enable shaping?

Thanks guys.

11 Replies 11

Jose Solano
Level 4
Level 4

Hi,

I see that when you enter the command class class1 it is no entering into the policy-map class configuration mode since you should see something like this:


Switch(config-pmap-c)#

Your output shows:

Switch(config-pmap)#

Which means that you are not into the policy-map class configuration mode.

Have you already created the class1? Because if you don't create the class before going into the police map then you will face this issue.

Hope this helps.

Hi Leo,

Thanks for that.

Yes, there is a class1. Appologies must be a miss copy, see below:

class-map match-all class1

  match ip dscp ef

!

switch(config)#policy-map policy1

switch(config-pmap)# class class1

switch(config-pmap-c)#?

Policy-map class configuration commands:

  dbl              Dynamic buffer limiting

  exit             Exit from QoS class action configuration mode

  netflow-sampler  NetFlow action

  no               Negate or set default values of a command

  police           Police traffic matching current class

  service-policy   Configure QoS Service Policy

  set              Set QoS values

  trust            Set trust value for the class

 

Thanks

glen.grant
VIP Alumni
VIP Alumni

  Do you actually have ip routing turned on for the switch ?  Ip routing must be turned on to set certain COS features...

Hi Glen,

Thanks for your reply.

Interestingly when I run the command 'ip routing' globally, it dosen't appear in the show running config.

This switch is however correctly participating in BGP so routing is working.

Cheers

Jose Solano
Level 4
Level 4

Hi Paul,

Can you attached a show version of your 4948 ?

Sent from Cisco Technical Support iPhone App

Hi Leo,

Cisco IOS Software, Catalyst 4500 L3 Switch Software (cat4500-ENTSERVICESK9-M), Version 12.2(54)SG1, RELEASE SOFTWARE (fc1)

Technical Support: http://www.cisco.com/techsupport

Copyright (c) 1986-2011 by Cisco Systems, Inc.

Compiled Thu 27-Jan-11 11:39 by prod_rel_team

Image text-base: 0x10000000, data-base: 0x123FB194

ROM: 12.2(31r)SGA7

Dagobah Revision 226, Swamp Revision 5

Switch uptime is 3 days, 19 hours, 59 minutes

System returned to ROM by power-on

System restarted at 19:06:24 AEST Thu Nov 28 2013

System image file is "bootflash:cat4500-entservicesk9-mz.122-54.SG1.bin"

This product contains cryptographic features and is subject to United

States and local country laws governing import, export, transfer and

use. Delivery of Cisco cryptographic products does not imply

third-party authority to import, export, distribute or use encryption.

Importers, exporters, distributors and users are responsible for

compliance with U.S. and local country laws. By using this product you

agree to comply with applicable laws and regulations. If you are unable

to comply with U.S. and local laws, return this product immediately.

A summary of U.S. laws governing Cisco cryptographic products may be found at:

http://www.cisco.com/wwl/export/crypto/tool/stqrg.html

If you require further assistance please contact us by sending email to

export@cisco.com.

cisco WS-C4948 (MPC8245) processor (revision 0) with 262144K bytes of memory.

Processor board ID FOX1205G7TQ

MPC8245 CPU at 266Mhz, Fixed Module

Last reset from PowerUp

3 Virtual Ethernet interfaces

48 Gigabit Ethernet interfaces

511K bytes of non-volatile configuration memory.

Configuration register is 0x2102

Thanks

Disclaimer

The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.

Liability Disclaimer

In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.

Posting

I think the original 4948s are basically the equivalents of the supV.  If I'm correct, you'll not find sup6 like QoS (from your OP reference link) on it.

Hi Leo,

Any ideas?

Cheers

Hi Paul,

It is really odd that the shaping option is not available, since according to the configuration guide it should be there, I would say this may be a limitation for this platform. I myself tested on a same platform and got the same results there is no shaping option under the class map. However I see this on the configuration guide:

Catalyst 4900M, Catalyst 4948E, Supervisor Engine 6-E, and Supervisor Engine 6L-E support a range of 32 kbps to 10 gbps for shaping, with a precision of approximately with a precision of approximately +/- 0.75 percent.

http://www.cisco.com/en/US/docs/switches/lan/catalyst4500/12.2/54sg/configuration/guide/qos.html#wp1437716

You may want to open a TAC case to further investigate this issue and confirm that this is a hardware limitation.

Regards,

Hi Paul,

After further research, On 4948 platform, traffic shaping is not available with the policy maps.

It is not possible to use the shape command in policy-map. The QOS on the switch is performed in hardware so there are platform limitations because of which certain commands are not supported. Class based traffic shaping is available on next generation catalysts equipped with a Sup6-E engine or higher like Sup7-E.

Hope this helps.

Hi Leo,

Thanks for that!

Interesting, and disapointing from Cisco.

They should really provide another config guide for 4948, if it isn't the same as the Sup6 & Sup7.

Cheers

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco