The display firewall session link-state command displays whether the link status detection function is enabled.
To check the IPv4 link status, run the display firewall session link-state command.
To check the IPv6 link status, run the display firewall ipv6 session link-state command.
This command can be executed only in the root system. It is invalid for virtual systems.
# Check whether the IPv4 status check function is enabled. The displayed information shows that the status check function has been enabled for TCPtraffic, excluding the traffic matching ACL 3456. The status check function is disabled for ICMP traffic.
<FW> system-view [FW] display firewall session link-state Current firewall session link-state: ------------------------------------ TCP check: on ICMP check: off Exclude acl: 3456 ------------------------------------
# Check whether the IPv6 status check function is enabled. The displayed information shows that the status check function has been enabled for TCP and ICMP traffic, excluding the traffic matching ACL 3333.
<FW> system-view [FW] display firewall ipv6 session link-state Current firewall ipv6 session link-state: ----------------------------------------- TCP check: on ICMPv6 check: on Exclude acl: 3333 -----------------------------------------