Configuring a Destination Ethernet Interface
DME
YANG
Copy
POST http://<mgmt0_IP>/api/mo/sys/span.json
{ "spanEntity": { "children": [ { "spanMonitor": { "attributes": { "destinationPorts": "eth1/2", "id": "1", "type": "local" }}}]}}
Response
{ imdata:[] }
Copy
<System> <span-items> <monitor-items> <Monitor-list> <id>1</id> <destinationPorts>eth1/2</destinationPorts> <type>local</type> </Monitor-list> </monitor-items> </span-items> </System>