6-9
Default Level
2: System level
Parameters
acl-number
: ACL number from 2000 to 3999.
Description
Use the
if-match
acl
command to configure an ACL match criterion.
Use the
undo if-match acl
command to remove the match criterion.
No ACL match criterion is configured by default.
Related commands:
if-match interface
,
if-match ip next-hop
,
if-match cost
,
if-match tag
,
route-policy
,
apply ip-address next-hop
,
apply cost
,
apply tag
.
Examples
# Configure node 10 of route policy
policy1
to permit routes matching ACL 2000.
<Sysname> system-view
[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy] if-match acl 2000
if-match ip
Syntax
if-match ip
{
next-hop
|
route-source
} {
acl
acl-number
|
ip-prefix
ip-prefix-name
}
undo if-match ip
{
next-hop | route-source
} [
acl
|
ip-prefix
]
View
Route policy view
Default Level
2: System level
Parameters
next-hop
: Matches the next hop of routing information to the filter.
route-source
: Matches the source address of routing information to the filter.
acl acl-number
: Matches an ACL with a number from 2000 to 2999.
ip-prefix
ip-prefix-name
: Matches an IP prefix list with a name being a string of 1 to 19 characters.
Description
Use the
if-match ip
command to configure a next hop or source address match criterion for IPv4
routes.
Use the
undo if-match ip
command to remove the match criterion.
The match criterion is not configured by default.
Related commands:
route-policy
.
Summary of Contents for E4510-48G
Page 109: ...2 18 Sysname interface bridge aggregation 1 Sysname Bridge Aggregation1 shutdown ...
Page 309: ...6 4 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address dhcp alloc ...
Page 324: ...8 3 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address bootp alloc ...
Page 530: ...2 5 Sysname mvlan 100 subvlan 10 to 15 ...
Page 739: ...8 15 Sysname system view Sysname port security trap addresslearned ...
Page 819: ...13 11 Sysname system view Sysname public key peer key2 import sshkey key pub ...
Page 914: ...5 17 Sysname reset oam ...
Page 1064: ...5 30 Slot 2 Set next configuration file successfully ...
Page 1325: ...21 13 Examples Redirect to member 2 Sysname irf switch to 2 Sysname Slave 2 ...