Command Manual - Auto Detecting
Quidway S3500 Series Ethernet Switches
Chapter 1 Auto Detect Configuration Commands
Huawei Technologies Proprietary
1-4
1.1.4 option
Syntax
option
[
and
|
or
]
undo option
[
and
|
or
]
View
Detecting group views
Parameter
and
: Specifies the detecting result is
reachable
only when all the specified interfaces
can be successfully pinged.
or
: Specifies the detecting result is
reachable
if one of the specified interfaces can be
successfully pinged.
Description
Use the
option
command to specify how the detecting result is generated.
Use the
undo option
command to specify the detecting result is
reachable
only when
all the specified interfaces can be successfully pinged, which is the same as the
option
and
command.
When a detecting operation is being carried out, the switch detects each interface for
their reachability whose IP address is contained in the detecting group one by one from
those with smaller
list-number
value to those with larger
list-number
value.
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.
By default, the
and
keyword is specified.
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