Defining an Extended
Community List
Configuring a Routing
Policy
Prerequisites
Creating a Routing
Policy
You can define multiple items for an extended community list that is identified by
number. During matching, the relation between items is logic OR, that is, if
routing information matches one of these items, it passes the extended
community list.
Follow these steps to define an extended community list:
To do...
Enter system view
Define an extended
community list
A routing policy is used to filter routing information according to some attributes,
and modify some attributes of the routing information that matches the routing
policy. Match criteria can be configured using filters above mentioned.
A routing policy can comprise multiple nodes, each node contains:
if-match clauses: Define the match criteria that routing information must
■
satisfy. The matching objects are some attributes of routing information.
apply clauses: Specify the actions performed after specified match criteria are
■
satisfied, concerning attribute settings for passed routing information.
Before configuring this task, you have completed:
Filtering list configuration
■
Routing protocol configuration
■
You also need to decide on:
Name of the routing policy, node sequence numbers
■
Match criteria
■
Attributes to be modified
■
Follow these steps to create a routing policy:
To do...
Enter system view
Create a routing policy and
enter its view
n
If a node has the permit keyword specified, routing information meeting the
■
node's conditions will be handled using the apply clauses of this node, without
needing to match against the next node. If routing information does not meet
the node's conditions, it will go to the next node for a match.
If a node is specified as deny, the apply clauses of the node will not be
■
executed. When routing information matches all if-match clauses of the node,
it can neither pass the node, nor go to the next node. If route information
Use the command...
system-view
ip extcommunity-list
ext-comm-list-number { deny | permit } { rt
route-target }&<1-16>
Use the command...
system-view
route-policy route-policy-name
{ permit | deny } node node-number
Configuring a Routing Policy
Remarks
-
Required
Not defined by
default
Remarks
-
Required
419