Age | Commit message (Collapse) | Author |
|
|
|
|
|
As vtysh does not have a vrf option for "show bfd peer" command, the vrf part will be cut before passing a line to the vtysh.
|
|
|
|
* added validations for "source address IP" and "bfd peer IP"
* added check for configuring multihop together with an interface name
* fixed "show protocols bfd peer X" for peers with custom options
|
|
|
|
vyos@vyos:~$ show protocols bfd peer
BFD Peers:
peer 172.18.1.2 interface eth0.701
ID: 3762227714
Remote ID: 3787683864
Status: up
Uptime: 24 minute(s), 54 second(s)
Diagnostics: ok
Remote diagnostics: ok
Local timers:
Receive interval: 300ms
Transmission interval: 300ms
Echo transmission interval: 50ms
Remote timers:
Receive interval: 300ms
Transmission interval: 300ms
Echo transmission interval: 50ms
peer 172.18.0.2 interface eth0.700
ID: 3132309989
Remote ID: 859733951
Status: up
Uptime: 25 minute(s), 24 second(s)
Diagnostics: ok
Remote diagnostics: ok
Local timers:
Receive interval: 300ms
Transmission interval: 300ms
Echo transmission interval: 50ms
Remote timers:
Receive interval: 300ms
Transmission interval: 300ms
Echo transmission interval: 50ms
vyos@vyos:~$ show protocols bfd peer
Possible completions:
<Enter> Execute the current command
172.18.0.2 Show Bidirectional Forwarding Detection (BFD) peer status
172.18.1.2
vyos@vyos:~$ show protocols bfd peer 1
172.18.0.2 172.18.1.2
vyos@vyos:~$ show protocols bfd peer 172.18.0.2
BFD Peer:
peer 172.18.0.2 interface eth0.700
ID: 3132309989
Remote ID: 859733951
Status: up
Uptime: 25 minute(s), 29 second(s)
Diagnostics: ok
Remote diagnostics: ok
Local timers:
Receive interval: 300ms
Transmission interval: 300ms
Echo transmission interval: 50ms
Remote timers:
Receive interval: 300ms
Transmission interval: 300ms
Echo transmission interval: 50ms
|
|
|