05-05-2016 01:36 AM - edited 03-01-2019 04:28 AM
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.
Solved! Go to Solution.
05-06-2016 07:32 PM
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.
05-05-2016 10:36 AM
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.
05-06-2016 03:57 AM
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.
05-06-2016 07:16 AM
Dynamic QoS policy applies to the port the host is attached to. That switch needs to have EQ enabled.
05-06-2016 07:32 PM
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.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide