Configuring an IPv4 or IPv6 Address Port for the BMP Server
DME
YANG
Copy
POST http://<mgmt0_IP>/api/mo/sys/bgp/inst.json
{ "bgpInst": { "attributes": { "asn": "100" }, "children": [ { "bgpDom": { "attributes": { "name": "default" }, "children": [ { "bgpBmpSvr": { "attributes": { "addr": "1.2.3.4", "id": "1", "port": "1" }}}]}}]}}
Response
{ imdata:[] }
Copy
<System> <bgp-items> <inst-items> <asn>100</asn> <dom-items> <Dom-list> <name>default</name> <bmp-items> <BmpSvr-list> <id>1</id> <addr>1.2.3.4</addr> <port>1</port> </BmpSvr-list> </bmp-items> </Dom-list> </dom-items> </inst-items> </bgp-items> </System>