H3C S7500E Series Command Manual page 517

Hide thumbs Also See for S7500E Series:
Table of Contents

Advertisement

Command Manual – IPv4 Routing
H3C S7500E Series Ethernet Switches
No extended community list is defined by default.
Examples
# Define extended community list 1 to permit routing information with RT 200:200.
<Sysname> system-view
[Sysname] ip extcommunity-list 1 permit rt 200:200
6.1.27 route-policy
Syntax
route-policy route-policy-name { permit | deny } node node-number
undo route-policy route-policy-name [ node node-number ]
View
System view
Parameters
route-policy-name: Routing policy name, a string of 1 to 19 characters.
permit: Specifies the matching mode of the routing policy node as permit. If a route
satisfies all the if-match clauses of the node, it passes through the filtering of the node
and then is executed with the apply clauses of the node. If not, it goes to the next node
of the routing policy.
deny: Specifies the matching mode of the routing policy node as deny. If a route
satisfies all the if-match clauses of the node, it does not pass the filtering of the node
and will not go to the next node.
node node-number: Node number, in the range 0 to 65535. The node with a smaller
node-number will be tested first when the routing policy is used for filtering routing
information.
Description
Use the route-policy command to create a routing policy and enter its view.
Use the undo route-policy command to remove a routing policy.
No routing policy is created by default.
A routing policy is used for routing information filtering or policy routing. It contains
several nodes and each node comprises some if-match and apply clauses. The
if-match clauses define the matching criteria of the node and the apply clauses define
the actions performed after a packet passes the filtering of the node. The relation
among the if-match clauses of a node is logic AND, namely all the if-match clauses
must be satisfied. The filter relation among different route-policy nodes is logic OR,
namely a packet passing a node passes the routing policy.
Chapter 6 Routing Policy Configuration Commands
6-22

Advertisement

Table of Contents
loading

Table of Contents