3Com 4500 50-PORT manual If-match acl ip-prefix Syntax, Route policy view, If-match cost Syntax

Models: 4500 26-PORT 4500 PWR 26-PORT 4500 PWR 50-PORT 4500 50-PORT

1 466
Download 466 pages 21.69 Kb
Page 174
Image 174

168CHAPTER 6: USING ROUTING PROTOCOL COMMANDS

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

Parameter

acl_number Enter the number of the access control list used for filtration

ip_prefix_name Enter the prefix address list used for filtration

Description

Use the if-match { acl ip-prefix } command to configure the IP address range to match the Route-policy.

Use the undo if-match { acl ip-prefix } command to cancel the setting of the match rule.

Filtration is performed by quoting an ACL or a prefix address list.

Related command: if-match interface, if-match ip next-hop,if-match cost, route-policy,apply cost.

Example

Define one if-matchsub-statement. When the sub-statement is used for filtering route information, the route information filtered by the route destination address through address prefix list p1 can pass the if-matchsub-statement.

<4500>system-view

System View: return to User View with Ctrl+Z. [4500]route-policy permit node 1

% New sequence of this list [4500-route-policy]if-matchip-prefix p1

if-match cost Syntax

if-match cost value

undo if-match cost

View

Route policy view

Parameter

value Specify the required route metric value, ranging from 0 to 4294967295.

Description

Use the if-match cost command to configure one of the match rules of route-policy to match the cost of the routing information.

Use the undo if-match cost command to cancel the configuration of the match rule.

Page 174
Image 174
3Com 4500 50-PORT, 4500 PWR 50-PORT, 4500 26-PORT If-match acl ip-prefix Syntax, Route policy view, If-match cost Syntax