Configuring VLAN Additions to the Private VLAN List (SVI Secondary VLANs)
DME
YANG
Copy
POST http://<mgmt0_IP>/api/mo/sys.json
{ "topSystem": { "children": [ { "pvlanPrivateVlan": { "children": [ { "pvlanSvi": { "attributes": { "if": "vlan1", "secondaryVlans": "1919" } } } ] } }, { "interfaceEntity": { "children": [ { "sviIf": { "attributes": { "id": "vlan1" } } } ] } } ] } }
Response
{ imdata:[] }
Copy
<System> <pvlan-items> <svi-items> <Svi-list> <if>vlan1</if> <secondaryVlans>1919</secondaryVlans> </Svi-list> </svi-items> </pvlan-items> <intf-items> <svi-items> <If-list> <id>vlan1</id> </If-list> </svi-items> </intf-items> </System>