Auto Detect
Implementation in
Static Routing
Configuring the Auto
Detect Function for a
Static Route
Configuration Example
You can utilize a single detecting group simultaneously in multiple implementations
mentioned above.
Refer to the Routing Protocol part in Switch 5500 Series Switch Operation Manual for
information about static routing.
Refer to the Reliability part in Switch 5500 Series Switch Operation Manual for
information about VRRP.
By binding a detecting group to a static route, you can control the validity of a static
route according to auto detect results as follows:
Enable the static route when the result of the detecting group is reachable.
■
Disable the static route when the result of the detecting group is unreachable.
■
You need to create a detecting group before performing the following operations.
Table 592 Configure the auto detect function for a static route
Operation
Command
Enter system view
system-view
Bind a detecting group
ip route-static ip-address { mask |
to a static route
mask-length } next-hop [ preference
preference-value ] [ reject | blackhole
] detect-group group-number
Network requirements
Create detecting group 8 on Switch A.
■
Configure a static route between Switch A and Switch B.
■
Enable the static route when the result of detecting group 8 is reachable.
■
Network diagram
Figure 156 Network diagram for static routing
V L A N 1
V L A N 1
E th e r n e t 1 / 0 / 1
E th e r n e t 1 / 0 / 1
E t h e r n e t 1 / 0 /1
E t h e r n e t 1 / 0 /1
1 9 2 . 1 6 8 . 1 . 1
1 9 2 . 1 6 8 . 1 . 1
1 9 2 . 1 6 8 . 1 . 1 /2 4
1 9 2 . 1 6 8 . 1 . 1 /2 4
S w it c h A
S w it c h A
S w it c h A
S w it c h A
V L A N 2
V L A N 2
E t h e r n e t 2 / 0 / 1
E t h e r n e t 2 / 0 / 1
E t h e r n e t 2 /0 / 1
E t h e r n e t 2 /0 / 1
1 9 2 . 1 6 8 . 2 . 1
1 9 2 . 1 6 8 . 2 . 1
1 9 2 . 1 6 8 . 2 . 1 /2 4
1 9 2 . 1 6 8 . 2 . 1 /2 4
Auto Detect Implementation in Static Routing 533
1 9 2 . 1 6 8 . 1 . 2 / 2 4
1 9 2 . 1 6 8 . 1 . 2
1 9 2 . 1 6 8 . 1 . 2 / 2 4
1 9 2 . 1 6 8 . 1 . 2
S w it c h B
S w it c h B
S w it c h B
S w it c h B
S w it c h D
S w it c h D
S w it c h D
S w it c h D
1 9 2 .1 6 8 . 2 . 2
1 9 2 .1 6 8 . 2 . 2
1 9 2 .1 6 8 . 2 . 2 / 2 4
1 9 2 .1 6 8 . 2 . 2 / 2 4
Description
Required
1 0 . 1 . 1 . 3 / 2 4
1 0 . 1 . 1 . 3
1 0 . 1 . 1 . 3 / 2 4
1 0 . 1 . 1 . 3
1 0 . 1 . 1 . 4 / 2 4
1 0 . 1 . 1 . 4
1 0 . 1 . 1 . 4
1 0 . 1 . 1 . 4 / 2 4
S w it c h C
S w it c h C
S w it c h C
S w it c h C
2 0 . 1 . 1 . 2
2 0 . 1 . 1 . 2 / 2 4
2 0 . 1 . 1 . 2
2 0 . 1 . 1 . 2 / 2 4