478
C
HAPTER
5: N
ETWORK
P
ROTOCOL
Example
Enable multicast policy routing named map1 on interface Ethernet 2/0/0.
[3Com-Ethernet2/0/0] ip multicast-policy route-policy map1
route-policy
Syntax
route-policy policy-name { permit | deny } node sequence-number
undo route-policy policy-name [ permit | deny ] [ node sequence-number ]
View
System view
Parameter
■
policy-name: Specifies the name of a route-policy, which uniquely identifies
one route-policy.
■
permit: Specifies the match mode of the route-policy node defined as permit.
When a route entry meets the if-match clause of the node, the entry is
permitted to pass the filter of the node and the apply clause of the node will be
performed. If a route entry does not meet the if-match clause of the node, the
next node of the route-policy will be tested. For multicast policy routing
configuration, all the if-match clauses except the if-match acl clause are invalid.
■
deny: Specifies the match mode of the route-policy node defined as deny.
When a route entry meets the if-match clause of the node, the entry is denied
to pass the filter of the node and the next node will not be tested. For multicast
policy routing configuration, all the if-match clauses except the if-match acl
clause are invalid.
■
sequence-number: Identifies a node in the route-policy. When the route-policy
is used for routing information filtering, the node with a smaller
sequence-number is tested first. This parameter ranges from 0 to 65535.
Description
Using the route-policy command, you can configure a route-policy node and enter
the route-policy view. Using the undo route-policy command, you can remove a
route-policy or a node.
By default, no route-policy is defined.
The policy of IP multicast policy routing is implemented by configuring
route-policies. Multiple route-policies can be configured on a router. Each
route-policy may contain multiple route-nodes. Different route-nodes in a
route-policy are identified by different integer sequence-numbers. In each
route-node, set the conditions that packets should match (i.e., the match rule)
with the if-match command and configure the forwarding actions to be executed
to packets that meet the match conditions with the apply command.
The logical relation that filter the if-match clauses is “and”. This means that any
if-match clause passing the filter will cause others to be ignored.
Only the if-match acl clause is effective for multicast policy routing. The logical
relation between route-policy nodes is “or”. That is, one packet forwarded in one
policy node results in all the following nodes being ignored. If all permit nodes can
Summary of Contents for Router 3031
Page 6: ......
Page 686: ...686 CHAPTER 6 ROUTING PROTOCOL...
Page 758: ...758 CHAPTER 7 MULTICAST COMMON CONFIGURATION COMMANDS...