3Com 5500-EI PWR Reference Manual page 222

Hide thumbs Also See for 5500-EI PWR:
Table of Contents

Advertisement

<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] ip route-static 192.168.1.5 24 192.168.0.2 detect-group 10
After the configuration, if detected group 10 is reachable, the static route is valid; if detected group 10 is
unreachable, the static route is invalid.
option
Syntax
option [ and | or ]
undo option
View
Detected group view
Parameters
and: Specifies the relationship between detected objects as logic AND, which means that the detecting
result is reachable only when all the detected objects contained in the detected group are reachable.
or: Specifies the relationship between detected objects as logic OR, which means that the detecting
result is reachable if one of the detected objects contained in the detected 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 relationship between the detected objects is and.
When a detecting operation is being carried out, the switch detects each detected object contained in
the detected group in turn by their sequence number.
If you specify the and keyword, the switch returns reachable as the detecting result only if all the
detected objects in the detected group are detected reachable.
If you specify the or keyword, the switch returns reachable as the detecting result only if one of the
detected objects in the detected group is detected reachable and the remaining detected objects
will not be detected any more.
Examples
# Specify the relationship between the three detected objects in detected group 10 as or.
<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
[Sysname-detect-group-10] detect-list 2 ip address 202.13.1.56 nexthop 1.2.3.4
[Sysname-detect-group-10] detect-list 3 ip address 202.13.1.57 nexthop 1.2.3.4
[Sysname-detect-group-10] option or
After the configuration, if one of the three detected objects is reachable, the system will consider
detected group 10 reachable.
1-5

Advertisement

Chapters

Table of Contents
loading

This manual is also suitable for:

5500-ei series

Table of Contents