You need to enable JavaScript to run this app.
Direct Connect

Direct Connect

Copy page
Download PDF
On-premises IDC reference configuration
Configuration examples for on-premises data centers with static routes
Copy page
Download PDF
Configuration examples for on-premises data centers with static routes
This topic provides the configuration examples for switches (such as Huawei and H3C) at the on-premises data center side when using static routing.​
tip​
These examples are for reference only, providing a configuration approach. Please adapt the instructions to your specific operational environment.​
Huawei switch configuration​
​
# Configure physical interfaces​
interface <interface_name>​
undo portswitch​
description <description_info>​
undo shutdown​
commit​
​
​
# Configure three-layer sub-interfaces​
interface <interface_name>.<vlan>​
description <description_info>​
ip address <ipv4_address> <ipv4_mask>​
dot1q termination vid <vlan>​
commit​
​
​
# Configure static routes ​
ip route-static <dst_ip_address> <mask> <interface_name> <nexthop>​
​
# Optional: Set BFD control mode to protect static routes. Bidirectional detection. This detection mode is bidirectional, requiring both the local data center (IDC) side and the VolcanoEngine side to enable BFD control mode.​
bfd // The bfd command is used to globally enable the BFD feature. By default, the global BFD feature is disabled.​
# ​
bfd <session-name> bind peer-ip <local_ip_address> interface <interface_type> <interface_number>.<vlan> source-ip ip-address auto​
detect-multiplier 5​
min-tx-interval 1000​
min-rx-interval 1000​
commit​
#​
ip route-static <dst_ip_address> <mask> <interface_name> <nexthop> track bfd-session <session-name> ​
#​
​
​
# Optional: Enable NQA to protect static routes. This is a one-way detection mode. If you enable this feature locally, please enable the NQA feature on the VolcanoEngine side synchronously. Currently, VolcanoEngine's NQA is an invitation-only beta feature. Please contact your account manager to apply for access if needed.​
nqa test-instance <admin-name> <nqa-name>​
test-type icmp​
destination-address ipv4 <peer_ip_address>​
probe-failtimes <value, Number of consecutive probe failures required to mark the probe as failed>​
probe-count 1 ​
frequency <value,detection interval>​
start now​
#​
ip route-static <dst_ip_address> <mask> <interface_name> <nexthop> track nqa <admin-name> <nqa-name>​
​
H3C switch configuration​
​
# Configure physical interfaces​
interface <interface_name>​
description <description_info>​
port link-mode route​
undo shutdown​
​
# 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>​
type icmp-echo​
destination ip <peer_ip_address>​
frequency <value, detection interval>​
history-record enable​
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​
source ip <ip_address>​
#​
# 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​
​
​
Last updated: 2026.08.24 11:30:49