If-Match Ip Next-Hop - 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
[Quidway] route-policy policy permit node 1
%New sequence of this list
[Quidway-route-policy] if-match interface Vlan-interface 1

4.1.8 if-match ip next-hop

Syntax
if-match ip next-hop { acl acl-number | ip-prefix ip-prefix-name }
undo if-match ip next-hop [ ip-prefix ]
View
Route policy view
Parameter
acl-number: Number of the ACL used for filter. It ranges from 2,000 to 2,999.
ip-prefix-name: Name of the prefix address list used for filter.
Description
Use the if-match ip next-hop command to configure one of the match rules of
route-policy on the next hop address of the routing information.
Use the undo if-match ip next-hop command to cancel the setting of ACL matching
condition.
Use the undo if-match ip next-hop ip-prefix command to cancel the setting of
address prefix list matching condition.
By default, no if-match clause is defined.
An if-match clause of route-policy is used to specify the next hop matching the routing
information when filtering the routes. It performs filter by referencing an ACL or an
address prefix list.
Related command: if-match interface, if-match acl, if-match ip-prefix, if-match
cost, if-match tag, route-policy, apply cost, and apply tag.
Example
# Define an if-match clause. It permits the routing information whose route next hop
address filtered through prefix address list p1 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 ip next-hop ip-prefix p1
Huawei Technologies Proprietary
4-7
Chapter 4 IP Routing Policy Configuration
Commands

Hide quick links:

Advertisement

Chapters

Table of Contents
loading

Table of Contents