Operation Manual - Auto Detecting
Quidway S3500 Series Ethernet Switches Chapter 2 Implementations of Auto Detect
Huawei Technologies Proprietary
2-2
Table 2-1 Configure auto detect for a static route
Operation Command Remarks
Enter system view <Quidway> system-view -
Bind a detecting group
to a static route
[Quidway] ip route-static ip-address
{ mask | mask-length } { interface-type
interface-number | nexthop }
[ preference preference-value ] [ reject
| blackhole ] detect-group
group-number
Required
Refer to the corresponding command manual for more information about the
parameters listed in the above table and the related undo commands.
2.2.2 Implementation Example
I. Network requirements
z Create a detecting group numbered 8 on Switch A.
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 static routing
III. Configuration procedure
Configure Switch A as follows:
# Enter system view.
<Quidway A> system-view
# Create a detecting group numbered 8 and enter its view.
[Quidway A] detect-group 8