676
C
HAPTER
6: R
OUTING
P
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
if-match cost
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.
Содержание Router 3031
Страница 6: ......
Страница 396: ...396 CHAPTER 4 LINK LAYER PROTOCOL Example Set the parameter of X 29 to 10 seconds 3Com x29 timer inviteclear time 10...
Страница 686: ...686 CHAPTER 6 ROUTING PROTOCOL...
Страница 758: ...758 CHAPTER 7 MULTICAST COMMON CONFIGURATION COMMANDS...