Optional) Configuring The If-Match Clause - Huawei S6700 Series Configuration Manual

Ip routing
Hide thumbs Also See for S6700 Series:
Table of Contents

Advertisement

S6700 Series Ethernet Switches
Configuration Guide - IP Routing
l If a route does not match any node, it is denied by the Route-Policy.
l If all the nodes in the routing policy are in deny mode, all the routes are denied by the Route-
When a Route-Policy is used to filter the routing information, the node with the smaller value
of node is tested first.
Step 3 (Optional) Run:
description text
The description of the routing policy is configured.
----End

10.4.3 (Optional) Configuring the If-Match Clause

The if-match clauses define the rules for matching certain route attributes.
Context
Do as follows on the switch to which the Route-Policy is applied:
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
route-policy route-policy-name { permit | deny } node node
The Route-Policy view is displayed.
Step 3 Run the following command as required:
l Run:
l Run:
l Run:
l Run:
l Run:
Issue 01 (2012-03-15)
Policy.
if-match acl { acl-number | acl-name }
The ACL is configured to match the routes.
if-match cost cost
The cost is set to match the routes.
if-match interface interface-type interface-number
The outbound interface is configured to match the routes.
if-match ip { next-hop | route-source | group-address } { acl { acl-number | acl-
name } | ip-prefix ip-prefix-name }
The next hop, the source address or the multicast group address is configured to match the
routes.
if-match ip-prefix ip-prefix-name
The IP prefix list is configured to match the routes.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
10 Routing Policy Configuration
599

Advertisement

Table of Contents
loading

Table of Contents