Command Manual – Auto Detect 
Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1  Auto Detect Configuration Commands
 
Huawei Technologies Proprietary 
1-4 
1.1.4  option 
Syntax 
option [ and | or ] 
undo option 
View 
Detecting group view 
Parameter 
and: Specifies the detecting result is reachable only when all the IP addresses 
contained in the detecting group are reachable. 
or: Specifies the detecting result is reachable if one of the IP addresses contained in 
the detecting group is reachable. 
Description 
Use the option command to specify the way to generate detecting results. 
Use the undo option command to restore the default way to generate detecting 
results. 
By default, the and keyword is specified. 
When a detecting operation is being carried out, the switch detects each IP address 
contained in the detecting group in an ascending order by the list-number values of 
the IP addresses. 
z  If you specify the and keyword, the switch returns unreachable as the detecting 
result when the switch fails to ping an IP address contained in the detecting 
group and stops detecting. 
z  If you specify the or keyword, the switch returns reachable as the detecting 
result if the switch succeeds in pinging an IP address contained in the detecting 
group and stops detecting. 
Example 
# Specify the or keyword for detecting group 10. 
<Quidway> system-view 
System View: return to User View with Ctrl+Z. 
[Quidway] detect-group 10 
[Quidway-detect-group-10] option or