Enabling Port Security
DME
YANG
Copy
POST http://<mgmt0_IP>/api/mo/sys/fm.json
{ "fmEntity": { "children": [ { "fmPortSec": { "attributes": { "adminSt": "enabled" }}}]}}
{ "imdata": [ { "warning": { "attributes": { "text": "Please apply the same port-security config on the peer device also, if VPC is configured\n" } } } ] }
Copy
<System> <fm-items> <portsec-items> <adminSt>enabled</adminSt> </portsec-items> </fm-items> </System>