Configuring a BFD Multihop Session
DME
YANG
Copy
POST http://<mgmt0_IP>/api/mo/sys/bgp.json
{ "bgpEntity": { "children": [{ "bgpInst": { "attributes": { "asn": "100" }, "children": [{ "bgpDom": { "attributes": { "name": "default" }, "children": [{ "bgpPeer": { "attributes": { "addr": "1.2.3.4", "inheritContPeerCtrl": "" }, "children": [{ "bgpMhBfdAuth": { "attributes": { "authName": "key-sha1", "keyAsciiVal": "SampleString_123", "keyHexVal": "", "keyId": "59" }}}]}}]}}]}}]}}
Response
{ imdata:[] }
Copy
<System> <bgp-items> <inst-items> <asn>100</asn> <dom-items> <Dom-list> <name>default</name> <peer-items> <Peer-list> <addr>1.2.3.4</addr> <inheritContPeerCtrl></inheritContPeerCtrl> <mhbfdauth-items> <authName>key-sha1</authName> <keyAsciiVal>SampleString_123</keyAsciiVal> <keyHexVal></keyHexVal> <keyId>59</keyId> </mhbfdauth-items> </Peer-list> </peer-items> </Dom-list> </dom-items> </inst-items> </bgp-items> </System>