irrelevant
#
interface Vlan-interface1
ip address 192.168.0.1 255.255.255.0
bfd min-transmit-interval 500
bfd min-receive-interval 500
bfd detect-multiplier 9
#
ip route-static 10.10.10.0 24 Vlan-interface1 192.168.0.2 bfd control-packet
ip route-static 10.10.10.0 24 192.168.0.3
Result showing:
[SW]dis ip routing-table
Destinations : 13 Routes : 14
Destination/Mask Proto Pre Cost NextHop Interface
0.0.0.0/32 Direct 0 0 127.0.0.1 InLoop0
10.10.10.0/24 Static 60 0 192.168.0.2 Vlan1
192.168.0.3 Vlan1
127.0.0.0/8 Direct 0 0 127.0.0.1 InLoop0
127.0.0.0/32 Direct 0 0 127.0.0.1 InLoop0
127.0.0.1/32 Direct 0 0 127.0.0.1 InLoop0
127.255.255.255/32 Direct 0 0 127.0.0.1 InLoop0
192.168.0.0/24 Direct 0 0 192.168.0.1 Vlan1
192.168.0.0/32 Direct 0 0 192.168.0.1 Vlan1
192.168.0.1/32 Direct 0 0 127.0.0.1 InLoop0
192.168.0.255/32 Direct 0 0 192.168.0.1 Vlan1
224.0.0.0/4 Direct 0 0 0.0.0.0 NULL0
224.0.0.0/24 Direct 0 0 0.0.0.0 NULL0
255.255.255.255/32 Direct 0 0 127.0.0.1 InLoop0
[SW]tracert 10.10.10.1
traceroute to 10.10.10.1 (10.10.10.1), 30 hops at most, 40 bytes each packet, press CTRL+C to break
1 192.168.0.2 (192.168.0.2) 0.721 ms 0.586 ms 1.037 ms
2 10.10.10.1 (10.10.10.1) 1.106 ms 1.547 ms 1.015 ms
[SW]%Oct 10 11:59:03:076 2023 SW IFNET/3/PHY_UPDOWN: Physical state on the interface GigabitEthernet1/0/1 changed to down.
%Oct 10 11:59:03:076 2023 SW IFNET/5/LINK_UPDOWN: Line protocol state on the interface GigabitEthernet1/0/1 changed to down.
%Oct 10 11:59:03:924 2023 SW BFD/5/BFD_CHANGE_FSM: Sess[192.168.0.1/192.168.0.2, LD/RD:32833/33793, Interface:Vlan1, SessType:Ctrl, LinkType:INET], Ver:1, Sta: UP->DOWN, Diag: 1 (Control Detection Time Expired)
dis ip routing-table
Destinations : 13 Routes : 13
Destination/Mask Proto Pre Cost NextHop Interface
0.0.0.0/32 Direct 0 0 127.0.0.1 InLoop0
10.10.10.0/24 Static 60 0 192.168.0.3 Vlan1
127.0.0.0/8 Direct 0 0 127.0.0.1 InLoop0
127.0.0.0/32 Direct 0 0 127.0.0.1 InLoop0
127.0.0.1/32 Direct 0 0 127.0.0.1 InLoop0
127.255.255.255/32 Direct 0 0 127.0.0.1 InLoop0
192.168.0.0/24 Direct 0 0 192.168.0.1 Vlan1
192.168.0.0/32 Direct 0 0 192.168.0.1 Vlan1
192.168.0.1/32 Direct 0 0 127.0.0.1 InLoop0
192.168.0.255/32 Direct 0 0 192.168.0.1 Vlan1
224.0.0.0/4 Direct 0 0 0.0.0.0 NULL0
224.0.0.0/24 Direct 0 0 0.0.0.0 NULL0
255.255.255.255/32 Direct 0 0 127.0.0.1 InLoop0
[SW]tracert 10.10.10.1
traceroute to 10.10.10.1 (10.10.10.1), 30 hops at most, 40 bytes each packet, press CTRL+C to break
1 192.168.0.3 (192.168.0.3) 0.583 ms 2.198 ms 0.706 ms
2 10.10.10.1 (10.10.10.1) 1.191 ms 1.151 ms 1.704 ms
[SW]%Oct 10 11:59:22:722 2023 SW IFNET/3/PHY_UPDOWN: Physical state on the interface GigabitEthernet1/0/1 changed to up.
%Oct 10 11:59:22:722 2023 SW IFNET/5/LINK_UPDOWN: Line protocol state on the interface GigabitEthernet1/0/1 changed to up.
[SW]%Oct 10 11:59:30:934 2023 SW BFD/5/BFD_CHANGE_FSM: Sess[192.168.0.1/192.168.0.2, LD/RD:32833/33793, Interface:Vlan1, SessType:Ctrl, LinkType:INET], Ver:1, Sta: DOWN->INIT, Diag: 0 (No Diagnostic)
%Oct 10 11:59:30:935 2023 SW BFD/5/BFD_CHANGE_FSM: Sess[192.168.0.1/192.168.0.2, LD/RD:32833/33793, Interface:Vlan1, SessType:Ctrl, LinkType:INET], Ver:1, Sta: INIT->UP, Diag: 0 (No Diagnostic)
dis ip routing-table
Destinations : 13 Routes : 14
Destination/Mask Proto Pre Cost NextHop Interface
0.0.0.0/32 Direct 0 0 127.0.0.1 InLoop0
10.10.10.0/24 Static 60 0 192.168.0.2 Vlan1
192.168.0.3 Vlan1
127.0.0.0/8 Direct 0 0 127.0.0.1 InLoop0
127.0.0.0/32 Direct 0 0 127.0.0.1 InLoop0
127.0.0.1/32 Direct 0 0 127.0.0.1 InLoop0
127.255.255.255/32 Direct 0 0 127.0.0.1 InLoop0
192.168.0.0/24 Direct 0 0 192.168.0.1 Vlan1
192.168.0.0/32 Direct 0 0 192.168.0.1 Vlan1
192.168.0.1/32 Direct 0 0 127.0.0.1 InLoop0
192.168.0.255/32 Direct 0 0 192.168.0.1 Vlan1
224.0.0.0/4 Direct 0 0 0.0.0.0 NULL0
224.0.0.0/24 Direct 0 0 0.0.0.0 NULL0
255.255.255.255/32 Direct 0 0 127.0.0.1 InLoop0
[SW]tracert 10.10.10.1
traceroute to 10.10.10.1 (10.10.10.1), 30 hops at most, 40 bytes each packet, press CTRL+C to break
1 192.168.0.2 (192.168.0.2) 0.976 ms 0.509 ms 0.262 ms
2 10.10.10.1 (10.10.10.1) 0.993 ms 1.502 ms 0.963 ms