532 CHAPTER 25: AUTO DETECT CONFIGURATION
Network diagram
Figure155 Network diagram for auto detect configuration
Configuration procedure
1Enter system view.
<S5500> system-view
2Create detecting group 10.
[S5500] detect-group 10
3Specify to detect the IP address of 10.1.1.4, taking the IP address of 192.168.1.2 as
the next hop and setting the detecting number to 1.
[S5500-detect-group-10] detect-list 1 ip address 10.1.1.4 nexthop
192.168.1.2
4Specify to detect the IP address of 192.168.2.2, setting the detecting number to 2.
[S5500-detect-group-10] detect-list 2 ip address 192.168.2.2
5Specify to return reachable as the detecting result if one of the two IP addresses is
reachable.
[S5500-detect-group-10] option or
6Set the detecting interval to 60 seconds.
[S5500-detect-group-10] timer loop 60
7Set the maximum number of retries during a detecting operation to 3.
[S5500-detect-group-10] retry 3
8Set the detecting timeout time to 3 seconds.
[S5500-detect-group-10] timer wait 3
[S5500-detect-group-10] quit
Auto Detect Implementation
The results of auto detect operations (reachable or unreachable) can be used to
determine whether or not to enable some functions. The auto detect function can be
utilized in:
Static routing
Virtual router redundancy protocol (VRRP)
Interface backup
192.168.1. 1
192.168.2. 1
192.168.1. 2
192.168.2. 2 20.1.1.2
10.1.1. 3
Ether net 1/0/ 1
10.1.1. 4
Ether net 2/0/ 1
Swit c h A
Swit c h B
Swit c h C
Swit c h 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
Ether net 1/0/ 1
10.1.1. 4/24
Ether net 2/0/ 1
Swit c h A
Swit c h B
Swit c h C
Swit c h 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
Ether net 1/0/ 1
10.1.1. 4
Ether net 2/0/ 1
Swit c h A
Swit c h B
Swit c h C
Swit c h 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
Ether net 1/0/ 1
10.1.1. 4/24
Ether net 2/0/ 1
Swit c h A
Swit c h B
Swit c h C
Swit c h D
VLAN 1
VLAN 2