25 AUTO DETECT CONFIGURATION
Introduction to the
Auto Detect Function
The auto detect function uses ICMP request/reply packets to test the connectivity of a
network regularly.
The auto detect function is carried out through detecting groups. A detecting group
comprises of a group of the IP addresses to be detected. You can examine the
connectivity of a network by checking the results of detecting groups, which in turn
enables you to locate network problems in time and take proper measures.
Configuring the auto
detect function
Auto Detect
Configuration Example
Network requirements
■Create detecting group 10 on Switch A and add two IP addresses, 10.1.1.4 and
192.168.2.2, to it to test the reachability to the two IP address.
■Specify to return reachable as the detecting result if one of the two IP addresses is
reachable, that is, specify the or keyword for the option command.
■Set the detecting interval to 60 seconds; the maximum number of retries to 3, and
the timeout time to 3 seconds.
Table591 Configure the auto detect function
Operation Command Description
Enter system view system-view
Create a detecting group
and enter detecting group
view
detect-group
group-number
Required
Add an IP address to be
detected to the detecting
group
detect-list list-number ip
address ip-address [
nexthop ip-address ]
Required
Specify how the detecting
result is generated
option [ and | or ]Optional
By default, the and keyword is
specified.
Set the detecting interval timer loop seconds Optional
By default, the detecting interval is 15
seconds.
Set the maximum number
of retries during a
detecting operation
retry retry-times Optional
By default, the maximum number of
retries is 2.
Set the detecting timeout
time
timer wait seconds Optional
By default, the detecting timeout time
is 2 seconds.
Display the configuration
of a specified detecting
group or all detecting
groups
display detect-group [
group-number ]
Optional
You can execute this command in any
view.