cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
708
Views
1
Helpful
4
Replies

How to force QoS policy to configurate specific device?

Hello,

I would like to create policy that will control bandwidth of video flows on border routers. In the network host is connected to a 2960-x switch that is connected to 4331 router.

With using POST /policy/flow API function and optional parameters networkDeviceId or networkDeviceName in which I put information about desired router it always makes policy that has networkDeviceId and networkDeviceName from switch instead of router.

What could be the reason for that behaviour?

for example this is REST request:

  {

  "protocol": "udp",
  "flowType": "VIDEO",

  "sourceIP": "10.145.220.98",
  "destIP": "10.145.240.194",
  "averageBandwidth": "10",
  "peakBandwidth": "20",
"networkDeviceName": "Border_router_1",
  }


and this is added qos policy:


{
  "id": "aa91970f-72eb-4743-9d34-7997e7f4bb5a",
  "sourceIP": "10.145.220.98",
  "destIP": "10.145.240.194",
  "protocol": "udp",
  "flowType": "VIDEO",
  "averageBandwidth": "10",
  "peakBandwidth": "20",
  "networkDeviceId": "317520f7-b554-41f9-bba6-d1c0a705d8d6",
  "networkDeviceName": "Switch_1",
  "interfaceId": "e1aff40d-8c05-414b-9a3f-8d1d9b408f86",
  "interfaceName": "GigabitEthernet1/0/2",
  "status": "CONFIG_ADD_SUCCESS"
  }


Thank you in advance!

p.s. are those bandwidth values in % of link bandwidth? I assume they are because values must be in range from 0 to 100.

1 ACCEPTED SOLUTION

Accepted Solutions

Dynamic QoS is for marking.  The bandwidth fields are not implemented at present. 

The Dynamic QoS policy you have defined mark traffic from host with srcIP of 10.145.220.98 as video.  APIC-EM will look for the switchport that has 10.145.220.98 attached to it, and create a policy-map to mark traffic from 10.145.220.98 -> 10.145.220.194 as video traffic.

View solution in original post

4 REPLIES 4
yawming
Cisco Employee

I saw the dynamic QoS is added successfully, other than what you observed, is it doing the job you want ? Those attributes in POST are optional in this release don't know if there really got used correctly.

No, unfortunately results show no change in network behaviour or switch configuration.

I thought that problem is in switch, so I wanted to force QoS policy on router.

Dynamic QoS policy applies to the port the host is attached to.  That switch needs to have EQ enabled.

Dynamic QoS is for marking.  The bandwidth fields are not implemented at present. 

The Dynamic QoS policy you have defined mark traffic from host with srcIP of 10.145.220.98 as video.  APIC-EM will look for the switchport that has 10.145.220.98 attached to it, and create a policy-map to mark traffic from 10.145.220.98 -> 10.145.220.194 as video traffic.

View solution in original post