Optional) Configuring The Apply 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 Run:
l Perform as follows to match the type of the route:
l Run:
The commands in Step 3 can be used regardless of the order. A node can have multiple or no
if-match clauses.
----End

10.4.4 (Optional) Configuring the Apply Clause

The apply clauses specify actions to set 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.
Issue 01 (2012-03-15)
NOTE
For the same Route-Policy node, you cannot run the if-match acl command and the if-match ip-
prefix command at the same time. This is because the latest configuration overrides the previous
configuration.
if-match ipv6 { address | next-hop | route-source } prefix-list ipv6-prefix-name
The next hop or the source address is configured to match the routes.
– Run:
if-match route-type { external-type1 | external-type1or2 | external-type2 |
internal | nssa-external-type1 | nssa-external-type1or2 | nssa-external-
type2 }
The route type, OSPF in this case, is set to match the routes.
– Run:
if-match route-type { is-is-level-1 | is-is-level-2 }
The route type, IS-IS in this case, is set to match the routes.
if-match tag tag
The tag is set to match the routes.
NOTE
l For the same node in a route-policy, the relationship between if-match clauses is "AND". The route
must meet all the matching rules before the actions defined by the apply clauses are performed. In the
if-match route-type and if-match interface commands, the relationship between the if-match clauses
is "OR". In other commands, the relationship between if-match clauses is "AND".
l If no if-match clause is specified, all the routes meet the matching rules.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
10 Routing Policy Configuration
600

Advertisement

Table of Contents
loading

Table of Contents