Configuring the Absolute Timer
DME
YANG
Copy
POST http://<mgmt0_IP>/api/mo/sys.json
{ "topSystem": { "children": [ { "portsecurityPortSecurity": { "children": [ { "portsecurityPortSecurityIf": { "attributes": { "agingType": "absolute", "if": "po123" } } } ] } }, { "interfaceEntity": { "children": [ { "pcAggrIf": { "attributes": { "id": "po123", "layer": "Layer2", "userCfgdFlags": "admin_layer" } } } ] } } ] } }
Response
{ imdata:[] }
Copy
<System> <portsec-items> <if-items> <PortSecurityIf-list> <if>po123</if> <agingType>absolute</agingType> </PortSecurityIf-list> </if-items> </portsec-items> <intf-items> <aggr-items> <AggrIf-list> <id>po123</id> <layer>Layer2</layer> <userCfgdFlags>admin_layer</userCfgdFlags> </AggrIf-list> </aggr-items> </intf-items> </System>