Reply

Need module information for creating rules

Expert
Posts: 185
2217     0

Hello - I am attempting to create some very specific policies in order to check how we have implemented QoS in our distribution layer. My issue is that how we apply QoS is dependent on the type of line cards used in a Cisco 6500 chassis. So is there any way to find out or expose the different modules and slot number within a rule? I only see the Device Model attribute.For instance if it had a SUP720 module the QoS applied would be: interface range GigabitEthernet x/y - zwrr-queue queue-limit 10 75wrr-queue bandwidth 10 75wrr-queue random-detect min-threshold 1 75 90wrr-queue random-detect max-threshold 1 90 100wrr-queue random-detect min-threshold 2 100 100wrr-queue random-detect max-threshold 2 100 100wrr-queue cos-map 1 1 2wrr-queue cos-map 1 2 3 6 7wrr-queue cos-map 2 1 0 1priority-queue cos-map 1 4 5mls qos trust dscpversus another card - WS-X6748-GE-TX, where we would apply the following to the interface:interface range GigabitEthernet x/y - zwrr-queue queue-limit 5 5 75wrr-queue bandwidth 5 5 75wrr-queue random-detect 1wrr-queue random-detect 2wrr-queue random-detect 3wrr-queue random-detect min-threshold 1 80 100 100 100 100 100 100 100wrr-queue random-detect max-threshold 1 100 100 100 100 100 100 100 100wrr-queue random-detect min-threshold 2 100 100 100 100 100 100 100 100wrr-queue random-detect max-threshold 2 100 100 100 100 100 100 100 100wrr-queue random-detect min-threshold 3 100 100 100 100 100 100 100 100wrr-queue random-detect max-threshold 3 100 100 100 100 100 100 100 100wrr-queue cos-map 1 1 2wrr-queue cos-map 1 2 6 7wrr-queue cos-map 2 1 3wrr-queue cos-map 3 1 0 1priority-queue cos-map 1 4 5mls qos trust dscpThanks - Lon.

Re: Need module information

Adviser
Posts: 357
2218     0

The device components are not available in the policy rule builder. You would need an indicator in the config itself to achieve this.

 

John

Re: Need module information

Expert
Posts: 185
2218     0
I was thinking that would be the case. I am looking into writing it as a script using a combination of show inventory and show interface commands. I saw another post with a script in determining access ports for bdpuguard that is making a good start.Lon

Re: Need module information

community Employee
Employee
Posts: 73
2218     0

Hey Lon,

 

Let us know how this progresses.  If you create a script that would be useful to other users, we'd like to recognize your efforts.  Additionally, shoot me a PM or re-post on this thread if you have additional questions, as we'd like to help if needed.

 

We are in the process of building out a developer program, so inputs like you have here are valuable to understanding what folks need.

 

Best,

 

Eric

This use case can now be

Adviser
Posts: 357
2218     0

This use case can now be achieved with the NetMRI 6.9 policy rules engine, which enables access to lists (as well as components). Those lists can be modified by scripts, thus triggering re-evaluation of the policies that use the list.

That will definitely be handy

Expert
Posts: 185
2218     0

That will definitely be handy once we successfully move to 6.9 John.  I did end up writing this as a script using the combination of show inventory and show interfaces.  It works really well on all of our 6500's and associated line cards.  Not sure if I would be allowed to share the script, maybe I can post part of it.

Thanks for the help

Lon.

Showing results for 
Search instead for 
Do you mean 

Recommended for You