If-Match Cost - Huawei Quidway S3900 series Command Manual

Hide thumbs Also See for Quidway S3900 series:
Table of Contents

Advertisement

Command Manual – Routing Protocol
Quidway S3900 Series Ethernet Switches-Release 1510
ip-prefix-name: Name of the prefix address list used for filter
Description
Use the if-match { acl | ip-prefix } command to configure a rule for the route-policy and
specify an matching IP address range.
Use the undo if-match { acl | ip-prefix } command to cancel the setting of the rule.
The if-match { acl | ip-prefix } command implements a filter by referencing an ACL or a
prefix address list.
Related command: if-match interface, if-match ip next-hop, if-match cost, if-match
tag, route-policy, apply cost, and apply tag.
Example
# Define an if-match clause. When the clause is used for filtering route information, the
route information filtered by route destination address through address prefix list p1 is
permitted to pass the if-match clause.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] route-policy policy permit node 1
%New sequence of this list
[Quidway-route-policy] if-match ip-prefix p1

4.1.6 if-match cost

Syntax
if-match cost value
undo if-match cost
View
Route policy view
Parameter
value: Route cost value, ranging from 0 to 4,294,967,295.
Description
Use the if-match cost command to configure one of the match rules of the route-policy
to match the cost of routing information.
Use the undo if-match cost command to cancel the configuration of the match rule.
By default, no if-match clause is defined.
An if-match clause of the route-policy specifies the route cost of the routing information
meeting the condition.
Huawei Technologies Proprietary
4-5
Chapter 4 IP Routing Policy Configuration
Commands

Hide quick links:

Advertisement

Chapters

Table of Contents
loading

Table of Contents