5-4
Table 5-2
Description on the fields of the
display route-policy
command
Field
Description
Route-policy
Name of a routing policy
Information about the routing policy with the matching mode configured as
permit
and the node as
10
.
if-match (ip-prefix) p1
Matching conditions
Permit 10
apply cost 100
Apply the cost 100 to the routes satisfying the
matching conditions.
if-match { acl | ip-prefix }
Syntax
if-match
{
acl acl-number
|
ip-prefix
ip-prefix-name
}
undo if-match
{
acl
|
ip-prefix
}
View
Route policy view
Parameters
acl-number
: Number of the ACL used for filtering, in the range of 2000 to 3999.
ip-prefix-name
: Name of the IP prefix list used for filtering, a string of up to 19 characters.
Description
Use the
if-match
command to match routes permitted by an ACL or IP prefix list.
Use the
undo if-match
command to remove the configuration.
By default, the if-match clause is not configured.
Related commands:
if-match interface
,
if-match ip next-hop
,
if-match cost, if-match tag
,
route-policy
,
apply cost
,
apply tag
.
Examples
# Define an if-match clause to match routing information permitted by IP-prefix
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-prefix p1
if-match cost
Syntax
if-match cost
value
undo if-match cost
Summary of Contents for 5500-EI PWR
Page 43: ...2 6...
Page 76: ...1 17...
Page 228: ...ii stp transmit limit 1 44 vlan mapping modulo 1 45 vlan vpn tunnel 1 46...
Page 477: ...5 24 Sysname vlan 2 Sysname vlan2 service type multicast...
Page 503: ...2 3 System View return to User View with Ctrl Z Sysname dot1x url http 192 168 19 23...
Page 519: ...iii...
Page 597: ...2 2 security policy server 192 168 0 1 user name format without domain...
Page 648: ...1 9 Examples Clear static ARP entries Sysname reset arp static...
Page 663: ...4 3 Sysname resilient arp interface vlan interface 2...
Page 767: ...1 28 From 12 00 Jan 1 2008 to 12 00 Jun 1 2008...
Page 1111: ...ii xmodem get 3 18...
Page 1314: ...A 44 Z...