Skip to content
Ask AI

BFD-Netconf

YANG Pathget/get-configedit-configrpc
/bfdYmerge, replace, create, delete—
/bfd/ldp-lsps/{peer-ip}/{nexthop}/{vrf-name}Ymerge, replace, create, delete—
/bfd/profiles/{profile-name}Ymerge, replace, create, delete—
/bfd/sessions/{dest-addr}/{vrf-name}/{multihop}Ymerge, replace, create, delete—
/clear-bfd-counters——Y
/show-bfd-brief——Y
/show-bfd-counters——Y
/show-bfd-distributed——Y
/show-bfd-static-route——Y

Get All Existing Bfd Configuration On Device

Section titled “Get All Existing Bfd Configuration On Device”
<filter type="subtree">
<top>
<bfd>
</bfd>
</filter>
<data xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<top>
<bfd xmlns="http://asterfusion.com/ns/yang/asternos-bfd">
<sessions>
<session>
<dest-addr>100.1.1.1</dest-addr>
<vrf-name>default</vrf-name>
<multihop>false</multihop>
<source-addr>100.1.1.2</source-addr>
<interface>Ethernet1</interface>
<detect-multiplier>100</detect-multiplier>
<receive-interval>100</receive-interval>
<transmit-interval>100</transmit-interval>
<echo-mode>true</echo-mode>
<echo-interval>100</echo-interval>
<shutdown>true</shutdown>
<passive-mode>true</passive-mode>
<echo-receive-interval>100</echo-receive-interval>
<echo-transmit-interval>100</echo-transmit-interval>
<profile-name>test_profile</profile-name>
</session>
<session>
<dest-addr>200.1.1.1</dest-addr>
<vrf-name>default</vrf-name>
<multihop>true</multihop>
<source-addr>200.1.1.2</source-addr>
<interface>Ethernet2</interface>
<detect-multiplier>200</detect-multiplier>
<receive-interval>200</receive-interval>
<transmit-interval>200</transmit-interval>
<minimum-ttl>200</minimum-ttl>
<shutdown>true</shutdown>
<passive-mode>false</passive-mode>
<profile-name>test_profile</profile-name>
</session>
</sessions>
<profiles>
<profile>
<profile-name>test_profile</profile-name>
<detect-multiplier>150</detect-multiplier>
<receive-interval>150</receive-interval>
<transmit-interval>150</transmit-interval>
<minimum-ttl>150</minimum-ttl>
<echo-mode>false</echo-mode>
<echo-interval>150</echo-interval>
<shutdown>true</shutdown>
<passive-mode>false</passive-mode>
<echo-receive-interval>150</echo-receive-interval>
<echo-transmit-interval>150</echo-transmit-interval>
</profile>
</profiles>
</bfd>
</data>
<filter type="subtree">
<top>
<bfd>
<sessions>
<session>
<dest-addr>100.1.1.1</dest-addr>
<vrf-name>default</vrf-name>
<multihop>false</multihop>
</session>
</sessions>
</bfd>
</filter>
<data xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<top>
<bfd xmlns="http://asterfusion.com/ns/yang/asternos-bfd">
<sessions>
<session>
<dest-addr>100.1.1.1</dest-addr>
<vrf-name>default</vrf-name>
<multihop>false</multihop>
<source-addr>100.1.1.2</source-addr>
<interface>Ethernet1</interface>
<detect-multiplier>100</detect-multiplier>
<receive-interval>100</receive-interval>
<transmit-interval>100</transmit-interval>
<echo-mode>true</echo-mode>
<echo-interval>100</echo-interval>
<shutdown>true</shutdown>
<passive-mode>true</passive-mode>
<echo-receive-interval>100</echo-receive-interval>
<echo-transmit-interval>100</echo-transmit-interval>
<profile-name>test_profile</profile-name>
</session>
</sessions>
</bfd>
</data>
<filter type="subtree">
<top>
<bfd>
<profiles>
<profile>
<profile-name>test_profile</profile-name>
</profile>
</profiles>
</bfd>
</filter>
<data xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<top>
<bfd xmlns="http://asterfusion.com/ns/yang/asternos-bfd">
<profiles>
<profile>
<profile-name>test_profile</profile-name>
<detect-multiplier>150</detect-multiplier>
<receive-interval>150</receive-interval>
<transmit-interval>150</transmit-interval>
<minimum-ttl>150</minimum-ttl>
<echo-mode>false</echo-mode>
<echo-interval>150</echo-interval>
<shutdown>true</shutdown>
<passive-mode>false</passive-mode>
<echo-receive-interval>150</echo-receive-interval>
<echo-transmit-interval>150</echo-transmit-interval>
</profile>
</profiles>
</bfd>
</data>

Request example to get bfd counters via rpc

Section titled “Request example to get bfd counters via rpc”
<show-bfd-counters>
<dest-addr>1.1.1.1</dest-addr>
</show-bfd-counters>

Request example to get bfd counters for peers via rpc

Section titled “Request example to get bfd counters for peers via rpc”
<show-bfd-counters>
<peers/>
</show-bfd-counters>
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="urn:uuid:48d09191-a90b-4b03-976d-2bd961cfb3e9">
<data xmlns="http://asterfusion.com/ns/yang/asternos-bfd">
<counters>
<multihop>false</multihop>
<peer>1.1.1.1</peer>
<control-packet-input>0</control-packet-input>
<control-packet-output>357858</control-packet-output>
<echo-packet-input>0</echo-packet-input>
<echo-packet-output>0</echo-packet-output>
<session-up>0</session-up>
<session-down>0</session-down>
<zebra-notifications>0</zebra-notifications>
</counters>
</data>
</rpc-reply>
<show-bfd-brief>
<peers/>
</show-bfd-brief>
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="urn:uuid:035bde6e-c6df-4b8b-908c-296e8251bc56">
<data xmlns="http://asterfusion.com/ns/yang/asternos-bfd">
<brief>
<multihop>true</multihop>
<peer>1.1.1.1</peer>
<local>2.2.2.2</local>
<id>2248455741</id>
<remote-id>0</remote-id>
<passive-mode>false</passive-mode>
<minimum-ttl>254</minimum-ttl>
<status>down</status>
<downtime>48459</downtime>
<diagnostic>ok</diagnostic>
<remote-diagnostic>ok</remote-diagnostic>
<type>configured</type>
<receive-interval>400</receive-interval>
<transmit-interval>400</transmit-interval>
<echo-receive-interval>50</echo-receive-interval>
<echo-transmit-interval>0</echo-transmit-interval>
<detect-multiplier>5</detect-multiplier>
<remote-receive-interval>1000</remote-receive-interval>
<remote-transmit-interval>1000</remote-transmit-interval>
<remote-echo-receive-interval>0</remote-echo-receive-interval>
<remote-detect-multiplier>5</remote-detect-multiplier>
<rtt-min>0</rtt-min>
<rtt-avg>0</rtt-avg>
<rtt-max>0</rtt-max>
</brief>
<brief>
<multihop>false</multihop>
<peer>1.1.1.1</peer>
<id>3352271232</id>
<remote-id>0</remote-id>
<passive-mode>false</passive-mode>
<status>down</status>
<downtime>318170</downtime>
<diagnostic>ok</diagnostic>
<remote-diagnostic>ok</remote-diagnostic>
<type>configured</type>
<receive-interval>400</receive-interval>
<transmit-interval>400</transmit-interval>
<echo-receive-interval>50</echo-receive-interval>
<echo-transmit-interval>0</echo-transmit-interval>
<detect-multiplier>5</detect-multiplier>
<remote-receive-interval>1000</remote-receive-interval>
<remote-transmit-interval>1000</remote-transmit-interval>
<remote-echo-receive-interval>0</remote-echo-receive-interval>
<remote-detect-multiplier>5</remote-detect-multiplier>
<rtt-min>0</rtt-min>
<rtt-avg>0</rtt-avg>
<rtt-max>0</rtt-max>
</brief>
<brief>
<multihop>false</multihop>
<peer>3.3.3.3</peer>
<id>2011189365</id>
<remote-id>0</remote-id>
<passive-mode>false</passive-mode>
<status>down</status>
<downtime>64791</downtime>
<diagnostic>ok</diagnostic>
<remote-diagnostic>ok</remote-diagnostic>
<type>configured</type>
<receive-interval>400</receive-interval>
<transmit-interval>400</transmit-interval>
<echo-receive-interval>50</echo-receive-interval>
<echo-transmit-interval>0</echo-transmit-interval>
<detect-multiplier>5</detect-multiplier>
<remote-receive-interval>1000</remote-receive-interval>
<remote-transmit-interval>1000</remote-transmit-interval>
<remote-echo-receive-interval>0</remote-echo-receive-interval>
<remote-detect-multiplier>5</remote-detect-multiplier>
<rtt-min>0</rtt-min>
<rtt-avg>0</rtt-avg>
<rtt-max>0</rtt-max>
</brief>
</data>
</rpc-reply>
<show-bfd-brief>
<dest-addr>1.1.1.1</dest-addr>
<multihop>true</multihop>
</show-bfd-brief>
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="urn:uuid:48d09191-a90b-4b03-976d-2bd961cfb3e9">
<data xmlns="http://asterfusion.com/ns/yang/asternos-bfd">
<brief>
<multihop>true</multihop>
<peer>1.1.1.1</peer>
<local>2.2.2.2</local>
<id>2248455741</id>
<remote-id>0</remote-id>
<passive-mode>false</passive-mode>
<minimum-ttl>254</minimum-ttl>
<status>down</status>
<downtime>48459</downtime>
<diagnostic>ok</diagnostic>
<remote-diagnostic>ok</remote-diagnostic>
<type>configured</type>
<receive-interval>400</receive-interval>
<transmit-interval>400</transmit-interval>
<echo-receive-interval>50</echo-receive-interval>
<echo-transmit-interval>0</echo-transmit-interval>
<detect-multiplier>5</detect-multiplier>
<remote-receive-interval>1000</remote-receive-interval>
<remote-transmit-interval>1000</remote-transmit-interval>
<remote-echo-receive-interval>0</remote-echo-receive-interval>
<remote-detect-multiplier>5</remote-detect-multiplier>
<rtt-min>0</rtt-min>
<rtt-avg>0</rtt-avg>
<rtt-max>0</rtt-max>
</brief>
</data>
</rpc-reply>
<clear-bfd-counters>
<peers/>
</clear-bfd-counters>
<clear-bfd-counters>
<dest-addr>1.1.1.1</dest-addr>
<interface>Ethernet1</interface>
</clear-bfd-counters>
<config><top>
<bfd>
<sessions operation="create">
<session>
<dest-addr>1.1.1.1</dest-addr>
<vrf-name>default</vrf-name>
<multihop>false</multihop>
<source-addr>100.1.1.2</source-addr>
<interface>Ethernet1</interface>
<detect-multiplier>100</detect-multiplier>
<receive-interval>100</receive-interval>
<transmit-interval>100</transmit-interval>
<echo-mode>true</echo-mode>
<echo-interval>100</echo-interval>
<shutdown>true</shutdown>
<passive-mode>true</passive-mode>
<echo-receive-interval>100</echo-receive-interval>
<echo-transmit-interval>100</echo-transmit-interval>
<profile-name>test_profile</profile-name>
</session>
</sessions>
</bfd>
</top></config>
<config><top>
<bfd>
<sessions>
<session operation="merge">
<dest-addr>200.1.1.1</dest-addr>
<vrf-name>default</vrf-name>
<multihop>true</multihop>
<minimum-ttl>100</minimum-ttl>
</session>
</sessions>
</bfd>
</top></config>
<config><top>
<bfd operation="delete">
</bfd>
</top></config>
<config><top>
<bfd>
<sessions operation="create">
<session>
<dest-addr>1.1.1.1</dest-addr>
<vrf-name>default</vrf-name>
<multihop>false</multihop>
<echo-interval>10</echo-interval>
</session>
</sessions>
</bfd>
</top></config>

Request example via rpc edit-config (create LDP LSP BFD session)

Section titled “Request example via rpc edit-config (create LDP LSP BFD session)”
<config>
<top>
<bfd xmlns="http://asterfusion.com/ns/yang/asternos-bfd">
<ldp-lsps>
<ldp-lsp operation="create">
<peer-ip>10.1.1.1</peer-ip>
<nexthop>10.1.1.2</nexthop>
<vrf-name>default</vrf-name>
<interface>Ethernet100</interface>
<detect-multiplier>50</detect-multiplier>
<receive-interval>300</receive-interval>
<transmit-interval>300</transmit-interval>
<shutdown>false</shutdown>
<passive-mode>false</passive-mode>
<local-discriminator>10</local-discriminator>
<remote-discriminator>10</remote-discriminator>
</ldp-lsp>
</ldp-lsps>
</bfd>
</top>
</config>

Request example via rpc edit-config (delete LDP LSP BFD session)

Section titled “Request example via rpc edit-config (delete LDP LSP BFD session)”
<config>
<top>
<bfd xmlns="http://asterfusion.com/ns/yang/asternos-bfd">
<ldp-lsps>
<ldp-lsp operation="delete">
<peer-ip>10.1.1.1</peer-ip>
<nexthop>10.1.1.2</nexthop>
<vrf-name>default</vrf-name>
</ldp-lsp>
</ldp-lsps>
</bfd>
</top>
</config>

Request example via rpc get-config (get all LDP LSP BFD sessions)

Section titled “Request example via rpc get-config (get all LDP LSP BFD sessions)”
<filter type="subtree">
<top>
<bfd>
<ldp-lsps/>
</bfd>
</filter>

Reply example via rpc get-config (LDP LSP BFD sessions)

Section titled “Reply example via rpc get-config (LDP LSP BFD sessions)”
<data xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<top>
<bfd xmlns="http://asterfusion.com/ns/yang/asternos-bfd">
<ldp-lsps>
<ldp-lsp>
<peer-ip>10.1.1.1</peer-ip>
<nexthop>10.1.1.2</nexthop>
<vrf-name>default</vrf-name>
<interface>Ethernet100</interface>
<detect-multiplier>50</detect-multiplier>
<receive-interval>300</receive-interval>
<transmit-interval>300</transmit-interval>
<shutdown>false</shutdown>
<passive-mode>false</passive-mode>
<local-discriminator>10</local-discriminator>
<remote-discriminator>10</remote-discriminator>
</ldp-lsp>
</ldp-lsps>
</bfd>
</top>
</data>

Tree Diagram

/workspaces/as-mgmt-doc/doc/resource/yang/asternos-bfd.yang:18: warning: imported module "asternos-common" not used
/workspaces/as-mgmt-doc/doc/resource/yang/asternos-bfd.yang:419: warning: default value for a key leaf is ignored
module: asternos-bfd
+--rw bfd
+--rw sessions
| +--rw session* [dest-addr vrf-name multihop]
| +--rw dest-addr inet:ip-address-no-zone
| +--rw vrf-name vrf:vrf-ref
| +--rw multihop boolean
| +--rw source-addr inet:ip-address-no-zone
| +--rw interface? if:interface-ref
| +--rw detect-multiplier? uint16
| +--rw receive-interval? uint16
| +--rw transmit-interval? uint16
| +--rw shutdown? boolean
| +--rw passive-mode? boolean
| +--rw minimum-ttl? uint8
| +--rw echo-mode? boolean
| +--rw echo-interval? uint16
| +--rw echo-receive-interval? union
| +--rw echo-transmit-interval? uint16
| +--rw profile-name? string
+--rw ldp-lsps
| +--rw ldp-lsp* [peer-ip nexthop vrf-name]
| +--rw peer-ip inet:ip-address-no-zone
| +--rw nexthop inet:ip-address-no-zone
| +--rw vrf-name vrf:vrf-ref
| +--rw interface? if:interface-ref
| +--rw local-discriminator? discriminator
| +--rw remote-discriminator? discriminator
| +--rw detect-multiplier? uint16
| +--rw receive-interval? uint16
| +--rw transmit-interval? uint16
| +--rw shutdown? boolean
| +--rw passive-mode? boolean
+--rw profiles
+--rw profile* [profile-name]
+--rw profile-name string
+--rw minimum-ttl? uint8
+--rw detect-multiplier? uint16
+--rw receive-interval? uint16
+--rw transmit-interval? uint16
+--rw shutdown? boolean
+--rw passive-mode? boolean
+--rw echo-mode? boolean
+--rw echo-interval? uint16
+--rw echo-receive-interval? union
+--rw echo-transmit-interval? uint16

Table of Properties

NameRequiredType/RangeDescription
bfdMPath-only node, has no configurable value.
sessionsMPath-only node, has no configurable value.
sessionMPath-only node, has no configurable value.
dest-addrOinet:ip-address-no-zoneBFD remote IP address.
vrf-nameOvrf:vrf-refName of VRF instance. default is ‘default’.
multihopM”true"
"false”
When ‘multihop’ is ‘true’, ‘source-addr’ must be configured.
source-addrMinet:ip-address-no-zoneBFD local IP address. When ‘multihop’ is ‘true’, ‘source-addr’ must be configured.
interfaceOif:interface-refName of interface. interface is prohibited when using multihop
detect-multiplierO2..255peer detection multiplier
Default value: 5
receive-intervalO1..60000Minimum desired control packet receive interval
Default value: 400
transmit-intervalO1..60000Minimum desired control packet transmit interval
Default value: 400
shutdownO”true"
"false”
BFD state of profile or session
passive-modeO”true"
"false”
Don’t attempt to start session establishment.
Default value: False
minimum-ttlO1..254Minimum expected TTL on received packets.

Minimum TTL is only available for multi hop sessions.
Default value: 254
echo-modeO”true"
"false”
Use echo packets to detect failures.

Echo mode is only available for single hop sessions.
Default value: False
echo-intervalO10..60000Configure peer echo intervals.

Echo is only available for single hop sessions.
echo-receive-intervalO10..60000
0
Minimum required echo packet receive interval

Echo is only available for single hop sessions.
Default value: 50
echo-transmit-intervalO10..60000Minimum desired echo packet transmission interval, this parameter only takes effect when configuring echo mode

Echo mode is only available for single hop sessions.
Default value: 50
profile-nameOstring (length 1..64)BFD profile name
ldp-lspsMPath-only node, has no configurable value.
ldp-lspMPath-only node, has no configurable value.
Each LDP LSP BFD session is uniquely identified by the LSP peer IP, the next-hop IP, and the VRF instance.
peer-ipOinet:ip-address-no-zoneIPv4 address of the remote LDP peer (LSP endpoint).
nexthopOinet:ip-address-no-zoneIPv4 address of the next-hop toward the LDP peer.
vrf-nameOvrf:vrf-refVRF instance name. The LDP LSP is bound to this VRF.
Default value: default
interfaceOif:interface-refName of interface. interface is prohibited when using multihop
local-discriminatorO1..4294967295Local BFD session identification
remote-discriminatorO1..4294967295Remote BFD session identification
detect-multiplierO2..255peer detection multiplier
Default value: 5
receive-intervalO1..60000Minimum desired control packet receive interval
Default value: 400
transmit-intervalO1..60000Minimum desired control packet transmit interval
Default value: 400
shutdownO”true"
"false”
BFD state of profile or session
passive-modeO”true"
"false”
Don’t attempt to start session establishment.
Default value: False
profilesMPath-only node, has no configurable value.
profileMPath-only node, has no configurable value.
profile-nameOstring (length 1..64)BFD profile name
minimum-ttlO1..254Minimum expected TTL on received packets.

Minimum TTL is only available for multi hop sessions.
Default value: 254
detect-multiplierO2..255peer detection multiplier
Default value: 5
receive-intervalO1..60000Minimum desired control packet receive interval
Default value: 400
transmit-intervalO1..60000Minimum desired control packet transmit interval
Default value: 400
shutdownO”true"
"false”
BFD state of profile or session
passive-modeO”true"
"false”
Don’t attempt to start session establishment.
Default value: False
echo-modeO”true"
"false”
Use echo packets to detect failures.
Default value: False
echo-intervalO10..60000Desired echo packet transmission interval (in milliseconds).
Default value: 50
echo-receive-intervalO0
10..60000
Minimum required echo packet receive interval. 0 disables echo reception.
Default value: 50
echo-transmit-intervalO10..60000Minimum desired echo packet transmission interval.
Default value: 50

Tree Diagram

/workspaces/as-mgmt-doc/doc/resource/yang/asternos-bfd.yang:18: warning: imported module "asternos-common" not used
/workspaces/as-mgmt-doc/doc/resource/yang/asternos-bfd.yang:419: warning: default value for a key leaf is ignored
module: asternos-bfd
+--rw bfd
+--rw ldp-lsps
+--rw ldp-lsp* [peer-ip nexthop vrf-name]
+--rw peer-ip inet:ip-address-no-zone
+--rw nexthop inet:ip-address-no-zone
+--rw vrf-name vrf:vrf-ref
+--rw interface? if:interface-ref
+--rw local-discriminator? discriminator
+--rw remote-discriminator? discriminator
+--rw detect-multiplier? uint16
+--rw receive-interval? uint16
+--rw transmit-interval? uint16
+--rw shutdown? boolean
+--rw passive-mode? boolean

Table of Properties

NameRequiredType/RangeDescription
ldp-lspsMPath-only node, has no configurable value.
ldp-lspMPath-only node, has no configurable value.
Each LDP LSP BFD session is uniquely identified by the LSP peer IP, the next-hop IP, and the VRF instance.
peer-ipOinet:ip-address-no-zoneIPv4 address of the remote LDP peer (LSP endpoint).
nexthopOinet:ip-address-no-zoneIPv4 address of the next-hop toward the LDP peer.
vrf-nameOvrf:vrf-refVRF instance name. The LDP LSP is bound to this VRF.
Default value: default
interfaceOif:interface-refName of interface. interface is prohibited when using multihop
local-discriminatorO1..4294967295Local BFD session identification
remote-discriminatorO1..4294967295Remote BFD session identification
detect-multiplierO2..255peer detection multiplier
Default value: 5
receive-intervalO1..60000Minimum desired control packet receive interval
Default value: 400
transmit-intervalO1..60000Minimum desired control packet transmit interval
Default value: 400
shutdownO”true"
"false”
BFD state of profile or session
passive-modeO”true"
"false”
Don’t attempt to start session establishment.
Default value: False

Tree Diagram

/workspaces/as-mgmt-doc/doc/resource/yang/asternos-bfd.yang:18: warning: imported module "asternos-common" not used
/workspaces/as-mgmt-doc/doc/resource/yang/asternos-bfd.yang:419: warning: default value for a key leaf is ignored
module: asternos-bfd
+--rw bfd
+--rw profiles
+--rw profile* [profile-name]
+--rw profile-name string
+--rw minimum-ttl? uint8
+--rw detect-multiplier? uint16
+--rw receive-interval? uint16
+--rw transmit-interval? uint16
+--rw shutdown? boolean
+--rw passive-mode? boolean
+--rw echo-mode? boolean
+--rw echo-interval? uint16
+--rw echo-receive-interval? union
+--rw echo-transmit-interval? uint16

Table of Properties

NameRequiredType/RangeDescription
profilesMPath-only node, has no configurable value.
profileMPath-only node, has no configurable value.
profile-nameOstring (length 1..64)BFD profile name
minimum-ttlO1..254Minimum expected TTL on received packets.

Minimum TTL is only available for multi hop sessions.
Default value: 254
detect-multiplierO2..255peer detection multiplier
Default value: 5
receive-intervalO1..60000Minimum desired control packet receive interval
Default value: 400
transmit-intervalO1..60000Minimum desired control packet transmit interval
Default value: 400
shutdownO”true"
"false”
BFD state of profile or session
passive-modeO”true"
"false”
Don’t attempt to start session establishment.
Default value: False
echo-modeO”true"
"false”
Use echo packets to detect failures.
Default value: False
echo-intervalO10..60000Desired echo packet transmission interval (in milliseconds).
Default value: 50
echo-receive-intervalO0
10..60000
Minimum required echo packet receive interval. 0 disables echo reception.
Default value: 50
echo-transmit-intervalO10..60000Minimum desired echo packet transmission interval.
Default value: 50

Tree Diagram

/workspaces/as-mgmt-doc/doc/resource/yang/asternos-bfd.yang:18: warning: imported module "asternos-common" not used
/workspaces/as-mgmt-doc/doc/resource/yang/asternos-bfd.yang:419: warning: default value for a key leaf is ignored
module: asternos-bfd
+--rw bfd
+--rw sessions
+--rw session* [dest-addr vrf-name multihop]
+--rw dest-addr inet:ip-address-no-zone
+--rw vrf-name vrf:vrf-ref
+--rw multihop boolean
+--rw source-addr inet:ip-address-no-zone
+--rw interface? if:interface-ref
+--rw detect-multiplier? uint16
+--rw receive-interval? uint16
+--rw transmit-interval? uint16
+--rw shutdown? boolean
+--rw passive-mode? boolean
+--rw minimum-ttl? uint8
+--rw echo-mode? boolean
+--rw echo-interval? uint16
+--rw echo-receive-interval? union
+--rw echo-transmit-interval? uint16
+--rw profile-name? string

Table of Properties

NameRequiredType/RangeDescription
sessionsMPath-only node, has no configurable value.
sessionMPath-only node, has no configurable value.
dest-addrOinet:ip-address-no-zoneBFD remote IP address.
vrf-nameOvrf:vrf-refName of VRF instance. default is ‘default’.
multihopM”true"
"false”
When ‘multihop’ is ‘true’, ‘source-addr’ must be configured.
source-addrMinet:ip-address-no-zoneBFD local IP address. When ‘multihop’ is ‘true’, ‘source-addr’ must be configured.
interfaceOif:interface-refName of interface. interface is prohibited when using multihop
detect-multiplierO2..255peer detection multiplier
Default value: 5
receive-intervalO1..60000Minimum desired control packet receive interval
Default value: 400
transmit-intervalO1..60000Minimum desired control packet transmit interval
Default value: 400
shutdownO”true"
"false”
BFD state of profile or session
passive-modeO”true"
"false”
Don’t attempt to start session establishment.
Default value: False
minimum-ttlO1..254Minimum expected TTL on received packets.

Minimum TTL is only available for multi hop sessions.
Default value: 254
echo-modeO”true"
"false”
Use echo packets to detect failures.

Echo mode is only available for single hop sessions.
Default value: False
echo-intervalO10..60000Configure peer echo intervals.

Echo is only available for single hop sessions.
echo-receive-intervalO10..60000
0
Minimum required echo packet receive interval

Echo is only available for single hop sessions.
Default value: 50
echo-transmit-intervalO10..60000Minimum desired echo packet transmission interval, this parameter only takes effect when configuring echo mode

Echo mode is only available for single hop sessions.
Default value: 50
profile-nameOstring (length 1..64)BFD profile name

Tree Diagram

/workspaces/as-mgmt-doc/doc/resource/yang/asternos-bfd.yang:18: warning: imported module "asternos-common" not used
/workspaces/as-mgmt-doc/doc/resource/yang/asternos-bfd.yang:419: warning: default value for a key leaf is ignored
module: asternos-bfd
rpcs:
+---x clear-bfd-counters
+---w input
+---w vrf-name? vrf:vrf-ref
+---w (session)?
+--:(peer)
| +---w dest-addr inet:ip-address-no-zone
| +---w source-addr? inet:ip-address-no-zone
| +---w multihop? boolean
| +---w interface? if:interface-ref
+--:(peers)
+---w peers? empty

Table of Properties

NameRequiredType/RangeDescription
clear-bfd-countersO
vrf-nameOvrf:vrf-refName of VRF instance.
Default value: default
dest-addrMinet:ip-address-no-zoneBFD remote IP address.
source-addrOinet:ip-address-no-zoneBFD local IP address.
multihopO”true"
"false”
BFD multihop
interfaceOif:interface-refName of interface.
peersOempty

Tree Diagram

/workspaces/as-mgmt-doc/doc/resource/yang/asternos-bfd.yang:18: warning: imported module "asternos-common" not used
/workspaces/as-mgmt-doc/doc/resource/yang/asternos-bfd.yang:419: warning: default value for a key leaf is ignored
module: asternos-bfd
rpcs:
+---x show-bfd-brief
+---w input
| +---w vrf-name? vrf:vrf-ref
| +---w (session)?
| +--:(peer)
| | +---w dest-addr inet:ip-address-no-zone
| | +---w source-addr? inet:ip-address-no-zone
| | +---w multihop? boolean
| | +---w interface? if:interface-ref
| +--:(peers)
| +---w peers? empty
+--ro output
+--ro data
+--ro brief* []
+--ro multihop? boolean
+--ro peer? inet:ip-address-no-zone
+--ro local? inet:ip-address-no-zone
+--ro vrf-name? vrf:vrf-ref
+--ro id? uint32
+--ro remote-id? uint32
+--ro passive-mode? boolean
+--ro minimum-ttl? uint8
+--ro status? string
+--ro downtime? uint64
+--ro diagnostic? string
+--ro remote-diagnostic? string
+--ro type? string
+--ro receive-interval? uint16
+--ro transmit-interval? uint16
+--ro echo-receive-interval? uint16
+--ro echo-transmit-interval? uint16
+--ro detect-multiplier? uint16
+--ro remote-receive-interval? uint16
+--ro remote-transmit-interval? uint16
+--ro remote-echo-receive-interval? uint16
+--ro remote-detect-multiplier? uint16
+--ro rtt-min? uint32
+--ro rtt-avg? uint32
+--ro rtt-max? uint32

Table of Properties

NameRequiredType/RangeDescription
show-bfd-briefO
vrf-nameOvrf:vrf-refName of VRF instance.
Default value: default
dest-addrMinet:ip-address-no-zoneBFD remote IP address.
source-addrOinet:ip-address-no-zoneBFD local IP address.
multihopO”true"
"false”
BFD multihop
interfaceOif:interface-refName of interface.
peersOempty
dataMPath-only node, has no configurable value.
A hierarchy of BFD brief information.
briefMPath-only node, has no configurable value.
multihopO”true"
"false”
Indicates whether the BFD session is multihop.
peerOinet:ip-address-no-zoneBFD remote IP address.
localOinet:ip-address-no-zoneBFD local IP address.
vrf-nameOvrf:vrf-refName of VRF instance.
idOintegerlocal bfd discriminator number.
remote-idOintegerremote bfd discriminator number.
passive-modeO”true"
"false”
The operating mode of BFD is passive mode.
minimum-ttlOintegerMinimum expected TTL on received packets.
statusOstringBFD session status.
downtimeOintegerBFD session downtime.
diagnosticOstringBFD session diagnostic.
remote-diagnosticOstringBFD session remote diagnostic.
typeOstringBFD session type.
receive-intervalOintegerMinimum desired control packet receive interval.
transmit-intervalOintegerMinimum desired control packet transmit interval.
echo-receive-intervalOintegerMinimum required echo packet receive interval.
echo-transmit-intervalOintegerMinimum desired echo packet transmission interval, this parameter only takes effect when configuring echo mode.
detect-multiplierOintegerpeer detection multiplier.
remote-receive-intervalOintegerMinimum required control packet receive interval.
remote-transmit-intervalOintegerMinimum desired control packet transmit interval.
remote-echo-receive-intervalOintegerMinimum required echo packet receive interval.
remote-detect-multiplierOintegerpeer detection multiplier.
rtt-minOintegerMinimum round-trip time.
rtt-avgOintegerAverage round-trip time.
rtt-maxOintegerMaximum round-trip time.

Tree Diagram

/workspaces/as-mgmt-doc/doc/resource/yang/asternos-bfd.yang:18: warning: imported module "asternos-common" not used
/workspaces/as-mgmt-doc/doc/resource/yang/asternos-bfd.yang:419: warning: default value for a key leaf is ignored
module: asternos-bfd
rpcs:
+---x show-bfd-counters
+---w input
| +---w vrf-name? vrf:vrf-ref
| +---w (session)?
| +--:(peer)
| | +---w dest-addr inet:ip-address-no-zone
| | +---w source-addr? inet:ip-address-no-zone
| | +---w multihop? boolean
| | +---w interface? if:interface-ref
| +--:(peers)
| +---w peers? empty
+--ro output
+--ro data
+--ro counters* []
+--ro multihop? boolean
+--ro peer? inet:ip-address-no-zone
+--ro local? inet:ip-address-no-zone
+--ro vrf-name? vrf:vrf-ref
+--ro control-packet-input? uint64
+--ro control-packet-output? uint64
+--ro echo-packet-input? uint64
+--ro echo-packet-output? uint64
+--ro session-up? uint64
+--ro session-down? uint64
+--ro zebra-notifications? uint64

Table of Properties

NameRequiredType/RangeDescription
show-bfd-countersO
vrf-nameOvrf:vrf-refName of VRF instance.
Default value: default
dest-addrMinet:ip-address-no-zoneBFD remote IP address.
source-addrOinet:ip-address-no-zoneBFD local IP address.
multihopO”true"
"false”
BFD multihop
interfaceOif:interface-refName of interface.
peersOempty
dataMPath-only node, has no configurable value.
A hierarchy of BFD counters information
countersMPath-only node, has no configurable value.
multihopO”true"
"false”
Indicates the session is multi hop or not
peerOinet:ip-address-no-zoneBFD remote IP address.
localOinet:ip-address-no-zoneBFD local IP address. When’multihop’ is ‘true’,‘source-addr’ must be configured.
vrf-nameOvrf:vrf-refName of VRF instance.
control-packet-inputOintegerNumber of control packets received
control-packet-outputOintegerNumber of control packets transmitted
echo-packet-inputOintegerNumber of echo packets received
echo-packet-outputOintegerNumber of echo packets transmitted
session-upOintegerNumber of sessions that have been established
session-downOintegerNumber of sessions that have been terminated
zebra-notificationsOintegerNumber of zebra notifications received

Tree Diagram

/workspaces/as-mgmt-doc/doc/resource/yang/asternos-bfd.yang:18: warning: imported module "asternos-common" not used
/workspaces/as-mgmt-doc/doc/resource/yang/asternos-bfd.yang:419: warning: default value for a key leaf is ignored
module: asternos-bfd
rpcs:
+---x show-bfd-distributed
+--ro output
+--ro data? <anydata>

Table of Properties

NameRequiredType/RangeDescription
show-bfd-distributedO
dataO

Tree Diagram

/workspaces/as-mgmt-doc/doc/resource/yang/asternos-bfd.yang:18: warning: imported module "asternos-common" not used
/workspaces/as-mgmt-doc/doc/resource/yang/asternos-bfd.yang:419: warning: default value for a key leaf is ignored
module: asternos-bfd
rpcs:
+---x show-bfd-static-route
+--ro output
+--ro data? <anydata>

Table of Properties

NameRequiredType/RangeDescription
show-bfd-static-routeO
dataO