BFD-Netconf
此内容尚不支持你的语言。
Resources Summary
Section titled “Resources Summary”| YANG Path | get/get-config | edit-config | rpc |
|---|---|---|---|
| /bfd | Y | merge, replace, create, delete | — |
| /bfd/ldp-lsps/{peer-ip}/{nexthop}/{vrf-name} | Y | merge, replace, create, delete | — |
| /bfd/profiles/{profile-name} | Y | merge, replace, create, delete | — |
| /bfd/sessions/{dest-addr}/{vrf-name}/{multihop} | Y | merge, replace, create, delete | — |
| /clear-bfd-counters | — | — | Y |
| /show-bfd-brief | — | — | Y |
| /show-bfd-counters | — | — | Y |
| /show-bfd-distributed | — | — | Y |
| /show-bfd-static-route | — | — | Y |
Examples
Section titled “Examples”Get All Existing Bfd Configuration On Device
Section titled “Get All Existing Bfd Configuration On Device”Request example via rpc get-config
Section titled “Request example via rpc get-config”<filter type="subtree"> <top> <bfd> </bfd> </filter>Reply example via rpc get-config
Section titled “Reply example via rpc get-config”<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>Get Single Bfd configuration on Device
Section titled “Get Single Bfd configuration on Device”Request example via rpc get-config
Section titled “Request example via rpc get-config”<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>Reply example via rpc get-config
Section titled “Reply example via rpc get-config”<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>Get Bfd Profile configuration on Device
Section titled “Get Bfd Profile configuration on Device”Request example via rpc get-config
Section titled “Request example via rpc get-config”<filter type="subtree"> <top> <bfd> <profiles> <profile> <profile-name>test_profile</profile-name> </profile> </profiles> </bfd> </filter>Reply example via rpc get-config
Section titled “Reply example via rpc get-config”<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>Show Bfd Counters configuration on Device
Section titled “Show Bfd Counters configuration on Device”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>Reply example
Section titled “Reply example”<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>Get Bfd peer on Device
Section titled “Get Bfd peer on Device”Request example to get bfd peer via rpc
Section titled “Request example to get bfd peer via rpc”<show-bfd-brief> <peers/></show-bfd-brief>Reply example
Section titled “Reply example”<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>Request example to get bfd peer via rpc
Section titled “Request example to get bfd peer via rpc”<show-bfd-brief> <dest-addr>1.1.1.1</dest-addr> <multihop>true</multihop></show-bfd-brief>Reply example
Section titled “Reply example”<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
Section titled “Clear bfd Counters”Clear all bfd counters on device
Section titled “Clear all bfd counters on device”<clear-bfd-counters> <peers/></clear-bfd-counters>Clear single bfd counters on device
Section titled “Clear single bfd counters on device”<clear-bfd-counters> <dest-addr>1.1.1.1</dest-addr> <interface>Ethernet1</interface></clear-bfd-counters>Create bfd
Section titled “Create bfd”Create singlehop bfd
Section titled “Create singlehop bfd”<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>Create multihop bfd
Section titled “Create multihop bfd”<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>Delete bfd
Section titled “Delete bfd”Delete all bfd
Section titled “Delete all bfd”<config><top> <bfd operation="delete"> </bfd></top></config>Delete single bfd
Section titled “Delete single bfd”<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>Create/Update Bfd LDP LSP Configuration
Section titled “Create/Update Bfd LDP LSP Configuration”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>Delete Bfd LDP LSP Configuration
Section titled “Delete Bfd LDP LSP Configuration”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>Get Bfd LDP LSP Configuration
Section titled “Get Bfd LDP LSP Configuration”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>Properties Descriptions
Section titled “Properties Descriptions”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 ignoredmodule: 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? uint16Table of Properties
| Name | Required | Type/Range | Description |
|---|---|---|---|
| bfd | M | Path-only node, has no configurable value. | |
| sessions | M | Path-only node, has no configurable value. | |
| session | M | Path-only node, has no configurable value. | |
| dest-addr | O | inet:ip-address-no-zone | BFD remote IP address. |
| vrf-name | O | vrf:vrf-ref | Name of VRF instance. default is ‘default’. |
| multihop | M | ”true" "false” | When ‘multihop’ is ‘true’, ‘source-addr’ must be configured. |
| source-addr | M | inet:ip-address-no-zone | BFD local IP address. When ‘multihop’ is ‘true’, ‘source-addr’ must be configured. |
| interface | O | if:interface-ref | Name of interface. interface is prohibited when using multihop |
| detect-multiplier | O | 2..255 | peer detection multiplier Default value: 5 |
| receive-interval | O | 1..60000 | Minimum desired control packet receive interval Default value: 400 |
| transmit-interval | O | 1..60000 | Minimum desired control packet transmit interval Default value: 400 |
| shutdown | O | ”true" "false” | BFD state of profile or session |
| passive-mode | O | ”true" "false” | Don’t attempt to start session establishment. Default value: False |
| minimum-ttl | O | 1..254 | Minimum expected TTL on received packets. Minimum TTL is only available for multi hop sessions. Default value: 254 |
| echo-mode | O | ”true" "false” | Use echo packets to detect failures. Echo mode is only available for single hop sessions. Default value: False |
| echo-interval | O | 10..60000 | Configure peer echo intervals. Echo is only available for single hop sessions. |
| echo-receive-interval | O | 10..60000 0 | Minimum required echo packet receive interval Echo is only available for single hop sessions. Default value: 50 |
| echo-transmit-interval | O | 10..60000 | Minimum 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-name | O | string (length 1..64) | BFD profile name |
| ldp-lsps | M | Path-only node, has no configurable value. | |
| ldp-lsp | M | Path-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-ip | O | inet:ip-address-no-zone | IPv4 address of the remote LDP peer (LSP endpoint). |
| nexthop | O | inet:ip-address-no-zone | IPv4 address of the next-hop toward the LDP peer. |
| vrf-name | O | vrf:vrf-ref | VRF instance name. The LDP LSP is bound to this VRF. Default value: default |
| interface | O | if:interface-ref | Name of interface. interface is prohibited when using multihop |
| local-discriminator | O | 1..4294967295 | Local BFD session identification |
| remote-discriminator | O | 1..4294967295 | Remote BFD session identification |
| detect-multiplier | O | 2..255 | peer detection multiplier Default value: 5 |
| receive-interval | O | 1..60000 | Minimum desired control packet receive interval Default value: 400 |
| transmit-interval | O | 1..60000 | Minimum desired control packet transmit interval Default value: 400 |
| shutdown | O | ”true" "false” | BFD state of profile or session |
| passive-mode | O | ”true" "false” | Don’t attempt to start session establishment. Default value: False |
| profiles | M | Path-only node, has no configurable value. | |
| profile | M | Path-only node, has no configurable value. | |
| profile-name | O | string (length 1..64) | BFD profile name |
| minimum-ttl | O | 1..254 | Minimum expected TTL on received packets. Minimum TTL is only available for multi hop sessions. Default value: 254 |
| detect-multiplier | O | 2..255 | peer detection multiplier Default value: 5 |
| receive-interval | O | 1..60000 | Minimum desired control packet receive interval Default value: 400 |
| transmit-interval | O | 1..60000 | Minimum desired control packet transmit interval Default value: 400 |
| shutdown | O | ”true" "false” | BFD state of profile or session |
| passive-mode | O | ”true" "false” | Don’t attempt to start session establishment. Default value: False |
| echo-mode | O | ”true" "false” | Use echo packets to detect failures. Default value: False |
| echo-interval | O | 10..60000 | Desired echo packet transmission interval (in milliseconds). Default value: 50 |
| echo-receive-interval | O | 0 10..60000 | Minimum required echo packet receive interval. 0 disables echo reception. Default value: 50 |
| echo-transmit-interval | O | 10..60000 | Minimum desired echo packet transmission interval. Default value: 50 |
Ldp Lsps
Section titled “Ldp Lsps”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 ignoredmodule: 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? booleanTable of Properties
| Name | Required | Type/Range | Description |
|---|---|---|---|
| ldp-lsps | M | Path-only node, has no configurable value. | |
| ldp-lsp | M | Path-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-ip | O | inet:ip-address-no-zone | IPv4 address of the remote LDP peer (LSP endpoint). |
| nexthop | O | inet:ip-address-no-zone | IPv4 address of the next-hop toward the LDP peer. |
| vrf-name | O | vrf:vrf-ref | VRF instance name. The LDP LSP is bound to this VRF. Default value: default |
| interface | O | if:interface-ref | Name of interface. interface is prohibited when using multihop |
| local-discriminator | O | 1..4294967295 | Local BFD session identification |
| remote-discriminator | O | 1..4294967295 | Remote BFD session identification |
| detect-multiplier | O | 2..255 | peer detection multiplier Default value: 5 |
| receive-interval | O | 1..60000 | Minimum desired control packet receive interval Default value: 400 |
| transmit-interval | O | 1..60000 | Minimum desired control packet transmit interval Default value: 400 |
| shutdown | O | ”true" "false” | BFD state of profile or session |
| passive-mode | O | ”true" "false” | Don’t attempt to start session establishment. Default value: False |
Profiles
Section titled “Profiles”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 ignoredmodule: 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? uint16Table of Properties
| Name | Required | Type/Range | Description |
|---|---|---|---|
| profiles | M | Path-only node, has no configurable value. | |
| profile | M | Path-only node, has no configurable value. | |
| profile-name | O | string (length 1..64) | BFD profile name |
| minimum-ttl | O | 1..254 | Minimum expected TTL on received packets. Minimum TTL is only available for multi hop sessions. Default value: 254 |
| detect-multiplier | O | 2..255 | peer detection multiplier Default value: 5 |
| receive-interval | O | 1..60000 | Minimum desired control packet receive interval Default value: 400 |
| transmit-interval | O | 1..60000 | Minimum desired control packet transmit interval Default value: 400 |
| shutdown | O | ”true" "false” | BFD state of profile or session |
| passive-mode | O | ”true" "false” | Don’t attempt to start session establishment. Default value: False |
| echo-mode | O | ”true" "false” | Use echo packets to detect failures. Default value: False |
| echo-interval | O | 10..60000 | Desired echo packet transmission interval (in milliseconds). Default value: 50 |
| echo-receive-interval | O | 0 10..60000 | Minimum required echo packet receive interval. 0 disables echo reception. Default value: 50 |
| echo-transmit-interval | O | 10..60000 | Minimum desired echo packet transmission interval. Default value: 50 |
Sessions
Section titled “Sessions”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 ignoredmodule: 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? stringTable of Properties
| Name | Required | Type/Range | Description |
|---|---|---|---|
| sessions | M | Path-only node, has no configurable value. | |
| session | M | Path-only node, has no configurable value. | |
| dest-addr | O | inet:ip-address-no-zone | BFD remote IP address. |
| vrf-name | O | vrf:vrf-ref | Name of VRF instance. default is ‘default’. |
| multihop | M | ”true" "false” | When ‘multihop’ is ‘true’, ‘source-addr’ must be configured. |
| source-addr | M | inet:ip-address-no-zone | BFD local IP address. When ‘multihop’ is ‘true’, ‘source-addr’ must be configured. |
| interface | O | if:interface-ref | Name of interface. interface is prohibited when using multihop |
| detect-multiplier | O | 2..255 | peer detection multiplier Default value: 5 |
| receive-interval | O | 1..60000 | Minimum desired control packet receive interval Default value: 400 |
| transmit-interval | O | 1..60000 | Minimum desired control packet transmit interval Default value: 400 |
| shutdown | O | ”true" "false” | BFD state of profile or session |
| passive-mode | O | ”true" "false” | Don’t attempt to start session establishment. Default value: False |
| minimum-ttl | O | 1..254 | Minimum expected TTL on received packets. Minimum TTL is only available for multi hop sessions. Default value: 254 |
| echo-mode | O | ”true" "false” | Use echo packets to detect failures. Echo mode is only available for single hop sessions. Default value: False |
| echo-interval | O | 10..60000 | Configure peer echo intervals. Echo is only available for single hop sessions. |
| echo-receive-interval | O | 10..60000 0 | Minimum required echo packet receive interval Echo is only available for single hop sessions. Default value: 50 |
| echo-transmit-interval | O | 10..60000 | Minimum 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-name | O | string (length 1..64) | BFD profile name |
Clear Bfd Counters
Section titled “Clear Bfd Counters”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 ignoredmodule: 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? emptyTable of Properties
| Name | Required | Type/Range | Description |
|---|---|---|---|
| clear-bfd-counters | O | ||
| vrf-name | O | vrf:vrf-ref | Name of VRF instance. Default value: default |
| dest-addr | M | inet:ip-address-no-zone | BFD remote IP address. |
| source-addr | O | inet:ip-address-no-zone | BFD local IP address. |
| multihop | O | ”true" "false” | BFD multihop |
| interface | O | if:interface-ref | Name of interface. |
| peers | O | empty |
Show Bfd Brief
Section titled “Show Bfd Brief”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 ignoredmodule: 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? uint32Table of Properties
| Name | Required | Type/Range | Description |
|---|---|---|---|
| show-bfd-brief | O | ||
| vrf-name | O | vrf:vrf-ref | Name of VRF instance. Default value: default |
| dest-addr | M | inet:ip-address-no-zone | BFD remote IP address. |
| source-addr | O | inet:ip-address-no-zone | BFD local IP address. |
| multihop | O | ”true" "false” | BFD multihop |
| interface | O | if:interface-ref | Name of interface. |
| peers | O | empty | |
| data | M | Path-only node, has no configurable value. A hierarchy of BFD brief information. | |
| brief | M | Path-only node, has no configurable value. | |
| multihop | O | ”true" "false” | Indicates whether the BFD session is multihop. |
| peer | O | inet:ip-address-no-zone | BFD remote IP address. |
| local | O | inet:ip-address-no-zone | BFD local IP address. |
| vrf-name | O | vrf:vrf-ref | Name of VRF instance. |
| id | O | integer | local bfd discriminator number. |
| remote-id | O | integer | remote bfd discriminator number. |
| passive-mode | O | ”true" "false” | The operating mode of BFD is passive mode. |
| minimum-ttl | O | integer | Minimum expected TTL on received packets. |
| status | O | string | BFD session status. |
| downtime | O | integer | BFD session downtime. |
| diagnostic | O | string | BFD session diagnostic. |
| remote-diagnostic | O | string | BFD session remote diagnostic. |
| type | O | string | BFD session type. |
| receive-interval | O | integer | Minimum desired control packet receive interval. |
| transmit-interval | O | integer | Minimum desired control packet transmit interval. |
| echo-receive-interval | O | integer | Minimum required echo packet receive interval. |
| echo-transmit-interval | O | integer | Minimum desired echo packet transmission interval, this parameter only takes effect when configuring echo mode. |
| detect-multiplier | O | integer | peer detection multiplier. |
| remote-receive-interval | O | integer | Minimum required control packet receive interval. |
| remote-transmit-interval | O | integer | Minimum desired control packet transmit interval. |
| remote-echo-receive-interval | O | integer | Minimum required echo packet receive interval. |
| remote-detect-multiplier | O | integer | peer detection multiplier. |
| rtt-min | O | integer | Minimum round-trip time. |
| rtt-avg | O | integer | Average round-trip time. |
| rtt-max | O | integer | Maximum round-trip time. |
Show Bfd Counters
Section titled “Show Bfd Counters”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 ignoredmodule: 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? uint64Table of Properties
| Name | Required | Type/Range | Description |
|---|---|---|---|
| show-bfd-counters | O | ||
| vrf-name | O | vrf:vrf-ref | Name of VRF instance. Default value: default |
| dest-addr | M | inet:ip-address-no-zone | BFD remote IP address. |
| source-addr | O | inet:ip-address-no-zone | BFD local IP address. |
| multihop | O | ”true" "false” | BFD multihop |
| interface | O | if:interface-ref | Name of interface. |
| peers | O | empty | |
| data | M | Path-only node, has no configurable value. A hierarchy of BFD counters information | |
| counters | M | Path-only node, has no configurable value. | |
| multihop | O | ”true" "false” | Indicates the session is multi hop or not |
| peer | O | inet:ip-address-no-zone | BFD remote IP address. |
| local | O | inet:ip-address-no-zone | BFD local IP address. When’multihop’ is ‘true’,‘source-addr’ must be configured. |
| vrf-name | O | vrf:vrf-ref | Name of VRF instance. |
| control-packet-input | O | integer | Number of control packets received |
| control-packet-output | O | integer | Number of control packets transmitted |
| echo-packet-input | O | integer | Number of echo packets received |
| echo-packet-output | O | integer | Number of echo packets transmitted |
| session-up | O | integer | Number of sessions that have been established |
| session-down | O | integer | Number of sessions that have been terminated |
| zebra-notifications | O | integer | Number of zebra notifications received |
Show Bfd Distributed
Section titled “Show Bfd Distributed”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 ignoredmodule: asternos-bfd
rpcs: +---x show-bfd-distributed +--ro output +--ro data? <anydata>Table of Properties
| Name | Required | Type/Range | Description |
|---|---|---|---|
| show-bfd-distributed | O | ||
| data | O |
Show Bfd Static Route
Section titled “Show Bfd Static Route”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 ignoredmodule: asternos-bfd
rpcs: +---x show-bfd-static-route +--ro output +--ro data? <anydata>Table of Properties
| Name | Required | Type/Range | Description |
|---|---|---|---|
| show-bfd-static-route | O | ||
| data | O |