# Configure physical interfaces
interface <interface_name>
description <description_info>
# Configure three-layer sub-interfaces
interface <interface_name>.<vlan>
description <description_info>
ip address <ipv4_address> <ipv4_mask>
bfd min-transmit-interval <value> // Optional: Enable BFD capability.
bfd min-receive-interval <value> //Optional: Enable BFD capability.
bfd detect-multiplier <value> // Optional: Enable BFD capability.
# Optional: Enable NQA to protect static routes.
nqa entry <admin-name> <nqa-name>
destination ip <peer_ip_address>
frequency <value, detection interval>
history-record number 10
next-hop ip <peer_ip_address>
probe timeout <value, timeout period>
reaction 1 checked-element probe-fail threshold-type consecutive <value: Number of consecutive probe failures to confirm a detection failure> action-type trigger-only
# Configure track, associate track with NQA
track <track_id> nqa entry <admin-name> <nqa-name> reaction 1
# Unprotected static route
ip route-static <dst_ip_address> <mask> <interface_name> <nexthop>
# Optional: Set up NQA to protect static routes. This detection mode is one-way. If you enable this feature locally, enable the NQA feature on the VolcanoEngine side synchronously. Currently, VolcanoEngine's NQA is an invite-only feature. Please contact your account manager for application first if needed.
ip route-static <dst_ip_address> <mask> <interface_name> <nexthop> track <track_id>
# Optional: Set BFD-control mode to protect static routes. This detection mode is bidirectional, requiring both the local IDC side and the VolcanoEngine side to enable BFD control mode.
ip route-static <dst_ip_address> <mask> <interface_name> <nexthop> bfd control-packet