Creating A Route-Policy - 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
Pre-configuration Tasks
To configure a Route-Policy, complete the following tasks:
l
l
Data Preparation
To configure a Route-Policy, you need the following data.
No.
1
2
3

10.4.2 Creating a Route-Policy

By applying a Route-Policy, you can set attributes for the imported routes according to
networking requirements.
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
A node of the Route-Policy is created and the Route-Policy view is displayed.
l The parameter permit specifies a node in a Route-Policy in permit mode. If a route matches
l The parameter deny specifies a node in a Route-Policy in deny mode. In deny mode, the
When the parameter route-policy is used to filter routes, note the following:
Issue 01 (2012-03-15)
10.3 Configuring the IP-Prefix List
Configuring routing protocols
Data
Name and node number of the Route-Policy
Matching rule
Route attributes to be modified
the node, the switch performs actions defined by the apply clauses and the matching is
complete. Otherwise, the route continues to match the next nod.
apply clauses are not used. If a route entry matches all the if-match clauses of the node, the
route is denied by the node and the next node is not matched. If the entry does not match all
the clauses, the next node is matched.
NOTE
In the S6700, by default, the unmatched routes are denied. If multiple nodes are defined in a Route-Policy,
at least one of them should be in permit mode.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
10 Routing Policy Configuration
598

Advertisement

Table of Contents
loading

Table of Contents