Operation Manual – Auto Detect 
Quidway S3900 Series Ethernet Switches-Release 1510  Chapter 2  Auto Detect Implementation
 
Huawei Technologies Proprietary 
2-2 
Operation  Command  Description 
Bind a detecting 
group to a static 
route 
ip route-static  ip-address 
{  mask | mask-length } 
next-hop [ preference 
preference-value ] [ reject | 
blackhole ] detect-group 
group-number 
Required 
 
2.2.2  Configuration Example 
I. Network requirements 
z  Create detecting group 8 on Switch A. to detect the reachability of the IP address 
10.1.1.4/24, with 192.168.1.2/24 as the next hop, and the detecting number set 
to 1. 
z  Configure a static route between Switch A and Switch B. 
z  Enable the static route when the result of detecting group 8 is reachable. 
II. Network diagram 
192.168.1.1
192.168.2.1
192.168.1.2
192.168.2.2 20.1.1.2
10.1.1.3
Ethernet 1/0/1
10.1.1.4
Ethernet 2/0/1
Switch A
Switch B
Switch C
Switch D
192.168.1.1/24
192.168.2.1/24
192.168.1.2/24
192.168.2.2/24 20.1.1.2/24
10.1.1.3/24
Ethernet 1/0/1
10.1.1.4/24
Ethernet 2/0/1
Switch A
Switch B
Switch C
Switch D
VLAN 1
VLAN 2
192.168.1.1
192.168.2.1
192.168.1.2
192.168.2.2 20.1.1.2
10.1.1.3
Ethernet 1/0/1
10.1.1.4
Ethernet 2/0/1
Switch A
Switch B
Switch C
Switch D
192.168.1.1/24
192.168.2.1/24
192.168.1.2/24
192.168.2.2/24 20.1.1.2/24
10.1.1.3/24
Ethernet 1/0/1
10.1.1.4/24
Ethernet 2/0/1
Switch A
Switch B
Switch C
Switch D
VLAN 1
VLAN 2
 
Figure 2-1 Network diagram for implementing the auto detect function in static 
routing 
III. Configuration procedure 
z  Configure Switch A. 
# Enter system view. 
<Quidway A> system-view 
# Create detecting group 8. 
[Quidway A] detect-group 8 
# Detect the reachability of 10.1.1.4/24, with 192.168.1.2/24 as the next hop, and the 
detecting number set to 1.