3Com 3031 Command Reference Manual page 676

3com 3031: reference guide
Hide thumbs Also See for 3031:
Table of Contents

Advertisement

676
C
6: R
P
HAPTER
OUTING
if-match cost
ROTOCOL
Parameter
standard-community-list-number: Standard community list number, ranging
from 1 to 99.
extended-community-list-number: Extended community list number, ranging
from 100 to 199.
whole-match: Fully matching, i.e., all the communities must appear.
Description
Using the if-match community command, you can configure the community list
number to be matched in route-policy. Using the undo if-match community
command, you can cancel the configuration of the matched community list
number.
By default, community list is not matched.
The if-match clause of route-policy is used to filter BGP routing information. The
match condition is specified according to the community attributes of the routing
information.
For the related commands, see route-policy and ip community-list.
Example
Define a community-list numbered as 1, and allow the autonomous system
number to contain the routing information of 100 and 200. Then, the
route-policy named test is defined. The node No.10 of the route-policy defines a
if-match clause, which quotes the definition of the community-list.
[3Com] ip community-list 1 permit 100:200
[3Com] route-policy test permit node 10
[3Com-route-policy] if-match community 1
Syntax
if-match cost value
undo if-match cost
View
Routing policy view
Parameter
value: Specifies the required route cost value, ranging from 0 to 4294967295.
Description
Using the if-match cost command, you can configure one of the matching rules of
route-policy to match the cost of the routing information. Using the undo if-match
cost command, you can cancel the configuration of the matching rule.
By default, no if-match clause is defined.
This if-match clause of route-policy is used to specify the route cost value of the
matched routing information.
For the related command, see if-match interface, if-match acl, if-match ip-prefix,
if-match ip next-hop, if-match tag, route-policy, apply ip-address, apply
local-preference, apply cost, apply origin, and apply tag.

Advertisement

Table of Contents
loading

Table of Contents