If-Match Interface - 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
Related command: if-match interface, if-match acl, if-match ip-prefix, if-match ip
next-hop, if-match tag, route-policy, apply cost, and apply tag.
Example
# Define an if-match clause and allow the routing information with a routing cost of 8 to
pass this 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 cost 8

4.1.7 if-match interface

Syntax
if-match interface { interface-type interface-number }
undo if-match interface
View
Route policy view
Parameter
interface-type: Interface type.
interface-number: Interface number.
Description
Use the if-match interface command to configure to match the route whose next hop
is the designated interface.
Use the undo if-match interface command to cancel the setting of matching condition.
By default, no if-match clause is defined.
As an if-match clause of route-policy, it matches the corresponding interface of route
next hop when filtering route.
Related command: if-match acl, if-match ip-prefix, if-match ip next-hop, if-match
cost, if-match tag, route-policy, apply cost, and apply tag.
Example
# Define an if-match clause to match the route whose next hop interface is
Vlan-interface 1
<Quidway> system-view
System View: return to User View with Ctrl+Z.
Huawei Technologies Proprietary
4-6
Chapter 4 IP Routing Policy Configuration
Commands

Hide quick links:

Advertisement

Chapters

Table of Contents
loading

Table of Contents