If-Match Interface - Huawei quidway s3526 series Getting Started

Hide thumbs Also See for quidway s3526 series:
Table of Contents

Advertisement

Command Manual - Routing Protocol
Quidway S3500 Series Ethernet Switches
View
Route policy view
Parameter
value: Specify the required route metric value, ranging from 0 to 4294967295.
Description
Using if-match cost command, you can configure one of the match rules of
route-policy to match the cost of the routing information. Using undo if-match cost
command, you can cancel the configuration of the match rule.
By default, no if-match sub-statement is defined.
For the related commands, see if-match interface, if-match acl, if-match ip-prefix,
if-match ip next-hop, if-match tag, route-policy, apply ip next-hop, apply
local-preference, apply cost, apply origin, apply tag.
Example
# A if-match sub-statement is defined, which allows the routing information with routing
cost 8 to pass this if-match sub-statement.
[Quidway-route-policy] if-match cost 8

5.1.17 if-match interface

Syntax
if-match interface { interface-name | interface-type interface-number }
undo if-match interface
View
Route policy view
Parameter
interface-type: Specify interface type.
interface-number: Specify interface number.
interface-name: Specify interface name.
Description
Using if-match interface command, you can configure to match the route whose next
hop is designated interface. Using undo if-match interface command, you can cancel
the setting of matching condition.
By default, no if-match sub-statement is defined.
It matches the corresponding interface of route next hop when filtering route.
Chapter 5 IP Routing Policy Configuration Commands
Huawei Technologies Proprietary
5-13

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents