Operation Manual – Auto Detect
H3C S3600 Series Ethernet Switches-Release 1510 Chapter 2
Auto Detect Implementation
2-2
Table 2-1 Configure the auto detect function for a static route
Operation Command Description
Enter system view
system-view
—
Bind a detecting
group to a static
route
ip route-static ip-address { mask |
mask-length } { interface-type
interface-number | 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.
<H3C> system-view
# Create detecting group 8.
[H3C] 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.