
5-6
[Sysname] route-policy policy permit node 1
%New sequence of this list
[Sysname-route-policy] if-match interface Vlan-interface 1
if-match ip next-hop
Syntax
if-match ip next-hop
{
acl
acl-number
|
ip-prefix
ip-prefix-name
}
undo if-match ip next-hop
[
ip-prefix
]
View
Route policy view
Parameters
acl
acl-number
: Number of a basic ACL used for filtering, in the range of 2000 to 2999.
ip-prefix
ip-prefix-name
: Name of the IP address prefix list used for filtering, a string of 1 to 19
characters.
Description
Use the
if-match ip next-hop
command to match routes with next hops specified in an ACL or IP prefix
list.
Use the
undo if-match ip next-hop
command to remove the matching rule with an ACL.
Use the
undo if-match ip next-hop
ip-prefix
command to remove the matching rule with an IP prefix
list.
By default, no next hop matching rule is defined.
Related commands:
if-match interface
,
if-match acl
,
if-match ip-prefix
,
if-match cost
,
if-match tag
,
route-policy
,
apply cost
,
apply tag
.
Examples
# Define an if-match clause to match routes with next hops specified in the IP address prefix list
p1
.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] route-policy policy permit node 1
%New sequence of this list
[Sysname-route-policy] if-match ip next-hop ip-prefix p1
if-match tag
Syntax
if-match tag
value
undo if-match tag
View
Route policy view
Содержание H3C S3600 Series
Страница 502: ...2 3 System View return to User View with Ctrl Z Sysname dot1x url http 192 168 19 23 ...
Страница 507: ...3 5 Sysname habp timer 50 ...
Страница 650: ...iii display bootp client 5 3 ip address bootp alloc 5 4 ...
Страница 1085: ...ii schedule reboot delay 3 18 schedule reboot regularity 3 19 system monitor enable 3 20 update fabric 3 21 xmodem get 3 22 ...