3Com 3031 Command Reference Manual page 668

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

Advertisement

668
C
6: R
P
HAPTER
OUTING
apply cost
apply cost-type
ROTOCOL
Description
Using the apply community command, you can specify the set BGP community
attribute of route-policy. Using the undo apply community command, you can
cancel the set BGP community attribute.
By default, BGP community attribute is not set.
Configure BGP community attribute after matching the route-policy conditions.
For the related command, see ip community-list, if-match community-list,
route-policy, and display bgp routing-table community.
Example
Display how to configure one route-policy named setcommunity, whose node
serial number is 16 and match mode is permit, and enter route policy view to set
match conditions and attribute modification actions to be executed.
[3Com] route-policy setcommunity permit node 16
[3Com-route-policy] if-match as-path 8
[3Com-route-policy] apply community no-export
Syntax
apply cost value
undo apply cost
View
Routing policy view
Parameter
value: Specifies the route cost value of route information.
Description
Using the apply cost command, you can set the route cost value of route
information. Using the undo apply cost command, you can cancel the apply
clause.
For the related commands, see if-match interface, if-match acl, if-match ip-prefix,
if-match ip next-hop, if-match cost, if-match tag, route-policy, apply ip-address,
apply local-preference, apply origin, and apply tag.
Example
Display how to define one apply clause. When it is used for setting route
information attribute, it sets the route cost value of route information as 120.
[3Com-route-policy] apply cost 120
Syntax
apply cost-type [ internal | external ]
undo apply cost-type
View
Routing policy view

Advertisement

Table of Contents
loading

Table of Contents