If-Match { Acl | Ip-Prefix; If-Match Cost - H3C s3600 series Command Manual

Hide thumbs Also See for s3600 series:
Table of Contents

Advertisement

Table 5-2 Description on the fields of the display route-policy command
Field
Route-policy
Permit 10

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
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
apply cost 100
Description
Matching conditions
Apply the cost 100 to the routes satisfying the
matching conditions.
5-4

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents