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