This section describes how to configure IP-link.
IP-link, automatic service link reachability detection, detects the status of the links indirectly connected to the FW to ensure service continuity.
ip-link name ip-link-name [ vpn-instance vpn-instance-name ]
# Monitor the IPv4 address or domain name.
destination { ipv4-address | domain-name } [ interface interface-type interface-number ] [ mode { icmp [ next-hop { nexthop-ipv4-address | dhcp | dialer } ] | arp } ]
# Monitor the IPv6 address or domain name.
ipv6 destination { ipv6-address | domain-name } [ interface interface-type interface-number ] [ mode { icmp6 [ next-hop nexthop-ipv6-address ] | ns } ]
tx-interval interval
times times
The FW sends a detection packet every interval seconds. If the FW does not receive any response packet after sending times packets, the FW considers the detected link to be faulty.
least active-linknumber link-number
The minimum number of UP members affecting IP-link status needs to be configured when IP-link is used to detect multiple destination addresses or domain names. If the actual number of detected destination addresses or domain names is lower than the minimum number, the IP-link becomes down.
Run the display ip-link verbose command to view the detailed information about IP-link.
<sysname> display ip-link verbose
Current Total Ip-link Number : 1
-------------------------------------------------------------------------------
Name : test
Index : 2
Enable Flag : 1
Vrf : public/0
Member Number : 2
Tx-interval (default is 5) : 5
Times (default is 3) : 3
Least active-linknumber (default is 1) : 1
State : up
Init State Number : 0
DOWN State Number : 0
UP State Number : 2
-------------------------------------------------------------------------------
State : up
Destination Type/Destination Info : IP/1.1.1.1
Protocol/Port : icmp/0
Healthcheck detect index : 8
State : up
Destination Type/Destination Info : IP/2.2.2.2
Protocol/Port : icmp/0
Out If Index : GigabitEthernet0/0/1
Healthcheck detect index : 9
-------------------------------------------------------------------------------