If-Match Cost; If-Match Interface - HP E4510-48G Command Reference Manual

4510g series
Table of Contents

Advertisement

Table 6-1 display route-policy command output description.
Field
Route-policy
Permit
if-match ip-prefix abc
apply cost 120

if-match cost

Syntax
if-match cost value
undo if-match cost
View
Route policy view
Default Level
2: System level
Parameters
cost: Cost in the range 0 to 4294967295.
Description
Use the if-match cost command to match routing information having the specified cost.
Use the undo if-match cost command to remove the match criterion.
The match criterion is not configured by default.
Related commands: if-match interface, if-match acl, if-match ip-prefix, if-match ip next-hop,
if-match tag, route-policy, apply ip-address next-hop, apply cost, apply tag.
Examples
# Configure node 10 in permit mode of route policy policy1: define an if-match clause to permit routing
information with a cost of 8.
<Sysname> system-view
[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy] if-match cost 8

if-match interface

Syntax
if-match interface { interface-type interface-number }&<1-16>
undo if-match interface [ interface-type interface-number ]&<1-16>
Route policy name
Match mode of route policy node 10
Match criterion
If the match criterion is satisfied, set a cost of 120 for routing information.
6-4
Description

Advertisement

Table of Contents
loading

Table of Contents