1-2
detect-list
Syntax
detect-list
list-number
ip address ip-address
[
nexthop ip-address
]
undo
detect-list
list-number
View
Detected group view
Parameters
list-number
: Sequence number of the IP address to be detected. This argument ranges from 1 to 10.
ip address ip-address
: Specifies the destination IP address (in dotted decimal notation) to be detected.
nexthop ip-address
: Specifies the next hop IP address for Auto Detect.
Description
Use the
detect-list
command to add a detected object to a detected group and specify the detection
sequence number of the detected object.
Use the
undo detect-list
command to remove a specified detected object.
When performing Auto Detect, a switch detects the configured detected objects in the order specified by
their sequence numbers.
If you have configured multiple detected objects, you can use the
option
command to set the logical
relationships between the detected objects.
Related commands:
option
.
Examples
# Add the detected object 202.13.1.55 to detected group 10, with the detection sequence number set to
1, and the next hop IP address set to 1.2.3.4.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] detect-group 10
[Sysname-detect-group-10] detect-list 1 ip address 202.13.1.55 nexthop 1.2.3.4
display detect-group
Syntax
display detect-group
[
group-number
]
View
Any view
Parameters
group-number
: Detected group number ranging from 1 to 25.