On 17.12.2016. 14:05, Peter Hessler wrote:
> Updated output, requested by Theo.  A normal get will show just the bfd
> state, use "-bfd" to get all of the information.
> 
> OK?
> 
> $ route -n get 203.0.113.9
>    route to: 203.0.113.9
> destination: 203.0.113.9
>        mask: 255.255.255.255
>   interface: em1
>  if address: 203.0.113.1
>    priority: 4 (connected)
>       flags: <UP,HOST,DONE,LLINFO,CLONED,BFD>
>         BFD: async state up remote up
>      use       mtu    expire
>    83924         0       133 
> sockaddrs: <DST,GATEWAY,NETMASK,IFP,IFA>
> 
> $ route -n get 203.0.113.9 -bfd
>    route to: 203.0.113.9
> destination: 203.0.113.9
>        mask: 255.255.255.255
>   interface: em1
>  if address: 203.0.113.1
>    priority: 4 (connected)
>       flags: <UP,HOST,DONE,LLINFO,CLONED,BFD>
>         BFD: async state up remote up laststate down error 0
>              diag none remote neighbor-down
>              discr 186919089 remote 55
>              uptime 05d 2h07m29s
>              mintx 1000000 minrx 1000000 minecho 0 multiplier 3
>      use       mtu    expire
>    83923         0       229 
> sockaddrs: <DST,GATEWAY,NETMASK,IFP,IFA>


Hi,

it seems that bfd is working with Force10 S4810 and Extreme Networks
x460 switches. I can test it with cisco c6k5 if you want?
Thank you.

bsdtest box is connected in this way:

192.168.11.1 - bsdtest ix0
192.168.11.2 - Dell Force10 S4810 9.11(0.0)

192.168.112.1 - bsdtest ix1
192.168.112.2 - Extreme Networks X460-48t 15.5.3.4


BFD between OpenBSD - Force10 S4810

root@bsdtest:~
# route -n get 192.168.11.2 -bfd
   route to: 192.168.11.2
destination: 192.168.11.2
       mask: 255.255.255.255
  interface: ix0
 if address: 192.168.11.1
   priority: 3 ()
      flags: <UP,HOST,DONE,LLINFO,CLONED,CACHED,BFD>
        BFD: async state up remote up laststate down error 0
             diag none remote none
             discr 2137079205 remote 4
             uptime 07m26s last state time 01s
             mintx 1000000 minrx 1000000 minecho 0 multiplier 3
     use       mtu    expire
     113         0       628
sockaddrs: <DST,GATEWAY,NETMASK,IFP,IFA>

root@bsdtest:~
# route -n monitor

sockaddrs: <DST,IFA>
 192.168.11.2 192.168.11.1
got message of size 128 on Wed Dec 21 21:55:15 2016
RTM_BFD: bidirectional forwarding detection: len 128
        BFD: async state up remote up


S4810#sh bfd neighbors detail

Session Discriminator: 4
Neighbor Discriminator: 0
Local Addr: 192.168.11.2
Local MAC Addr: 00:01:e8:8a:ea:53
Remote Addr: 192.168.11.1
Remote MAC Addr: 00:25:90:5d:ca:38
Int: TenGigabitEthernet 0/3
State: Up
Configured parameters:
 TX:  200ms, RX:  200ms, Multiplier: 3
Neighbor parameters:
 TX:    0ms, RX:    0ms, Multiplier: 0
Actual parameters:
 TX: 1000ms, RX: 1000ms, Multiplier: 3
Role: Active
Delete session on Down: False
Client Registered: RTM
Uptime: 00:06:49
Statistics:
 Number of packets received from neighbor: 514
 Number of packets sent to neighbor: 465
 Number of state changes: 2
 Number of messages from IFA about port state change: 0
 Number of messages communicated b/w Manager and Agent: 4



BFD between OpenBSD and Extreme

root@bsdtest:~
# route -n get 192.168.112.2 -bfd
   route to: 192.168.112.2
destination: 192.168.112.2
       mask: 255.255.255.255
  interface: ix1
 if address: 192.168.112.1
   priority: 3 ()
      flags: <UP,HOST,DONE,LLINFO,CLONED,CACHED,BFD>
        BFD: async state up remote up laststate down error 0
             diag none remote none
             discr 3953390566 remote 2
             uptime 10m17s last state time 01s
             mintx 1000000 minrx 1000000 minecho 0 multiplier 3
     use       mtu    expire
      87         0       511
sockaddrs: <DST,GATEWAY,NETMASK,IFP,IFA>

root@bsdtest:~
# route -n monitor

sockaddrs: <DST,IFA>
 192.168.112.2 192.168.112.1
got message of size 128 on Wed Dec 21 21:56:30 2016
RTM_BFD: bidirectional forwarding detection: len 128
        BFD: async state up remote up


                
ExtTestFW.30 # sh bfd session detail
Neighbor       : 192.168.112.1       Local       : 192.168.112.2
VR-Name        : VR-Default          Interface   : obfd
Session Type   : Single Hop          State       : Up
Detect Time    : 3000 ms             Age         : 550 ms
Discriminator (local/remote)    : 2 / 3953390566
Demand Mode (local/remote)      : Off / Off
Poll (local/remote)             : Off / Off
Tx Interval (local/remote)      : 1000 / 1000 ms
Rx Interval (local/remote)      : 1000 / 1000 ms
oper Tx Interval                : 1000 ms
oper Rx Interval                : 1000 ms
Multiplier (local/remote)       : 3 / 3
Local Diag                      : 0 (No Diagnostic)
Remote Diag                     : 0 (No Diagnostic)
Authentication                  : None
Clients                         : STATIC
Uptime                          : 00 days 00 hours 10 minutes 29 seconds
Up Count                        : 2
Last Valid Packet Rx            : 20:52:44.173792
Last Packet Tx                  : 20:52:43.950240






root@bsdtest:~
# netstat -rnf inet
Routing tables

Internet:
Destination        Gateway            Flags   Refs      Use   Mtu  Prio
Iface
default            161.53.253.225     UGS        3       15     -     8 em0
224/4              127.0.0.1          URS        0       20 32768     8 lo0
11/8               192.168.11.2       UGSF       0        0     -     8 ix0
12/8               192.168.112.2      UGSF       0        0     -     8 ix1
127/8              127.0.0.1          UGRS       0        0 32768     8 lo0
127.0.0.1          127.0.0.1          UHhl       1        2 32768     1 lo0
161.53.253.224/27  161.53.253.237     UCn        4     3272     -     4 em0
161.53.253.225     00:00:5e:00:01:01  UHLch      1       16     -     3 em0
161.53.253.226     00:04:96:97:dd:9d  UHLc       0     2931     -     3 em0
161.53.253.227     00:04:96:6d:64:09  UHLc       0     2618     -     3 em0
161.53.253.228     02:04:96:99:b3:6c  UHLc       0     2618     -     3 em0
161.53.253.237     00:25:90:5d:c9:98  UHLl       0      685     -     1 em0
161.53.253.255     161.53.253.237     UHb        0        0     -     1 em0
192.168.11.0/30    192.168.11.1       UCn        1        0     -     4 ix0
192.168.11.1       00:25:90:5d:ca:38  UHLl       0     1184     -     1 ix0
192.168.11.2       00:01:e8:8a:ea:53  UHLchF     3      114     -     3 ix0
192.168.11.3       192.168.11.1       UHb        0        0     -     1 ix0
192.168.112.0/30   192.168.112.1      UCn        1        0     -     4 ix1
192.168.112.1      00:25:90:5d:ca:39  UHLl       0     1518     -     1 ix1
192.168.112.2      00:04:96:8f:98:1a  UHLchF     3       88     -     3 ix1
192.168.112.3      192.168.112.1      UHb        0        0     -     1 ix1

Reply via email to