1-5
<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.
z
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.
z
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.
Содержание 5500-EI PWR
Страница 43: ...2 6...
Страница 76: ...1 17...
Страница 228: ...ii stp transmit limit 1 44 vlan mapping modulo 1 45 vlan vpn tunnel 1 46...
Страница 477: ...5 24 Sysname vlan 2 Sysname vlan2 service type multicast...
Страница 503: ...2 3 System View return to User View with Ctrl Z Sysname dot1x url http 192 168 19 23...
Страница 519: ...iii...
Страница 597: ...2 2 security policy server 192 168 0 1 user name format without domain...
Страница 648: ...1 9 Examples Clear static ARP entries Sysname reset arp static...
Страница 663: ...4 3 Sysname resilient arp interface vlan interface 2...
Страница 767: ...1 28 From 12 00 Jan 1 2008 to 12 00 Jun 1 2008...
Страница 1111: ...ii xmodem get 3 18...
Страница 1314: ...A 44 Z...