Configuring or Modifying a Class Map
DME
YANG
Copy
POST http://<IP_Address>/api/mo/sys/ipqos/dflt/c.json
{ "ipqosCMapEntity": { "children": [ { "ipqosCMapInst": { "attributes": { "matchType": "match-all", "name": "class1" }}}]}}
Response
{ imdata:[] }
Copy
<System> <ipqos-items> <dflt-items> <c-items> <name-items> <CMapInst-list> <name>class1</name> <matchType>match-all</matchType> </CMapInst-list> </name-items> </c-items> </dflt-items> </ipqos-items> </System>