1189

no-export: Sets the no-exportcommunity attribute for matched BGP routes. Routes with this attribute are not advertised out the autonomous system or confederation, but can be advertised to other sub ASs in the confederation.

additive: Adds the specified community attributes to the original community attribute of a matched BGP route.

Description Use the apply community command to set the specified community attribute for BGP routes.

Use the undo apply community command to remove the apply clause.

No community attribute is set by default.

Related commands: ip community-list,if-match community, route-policy.

Examples # Create routing policy setcommunity with node 16 and matching mode as permit. Set the no-export community attribute for BGP routes passing AS-path-ACL 8.

<Sysname> system-view

[Sysname] route-policy setcommunity permit node 16

[Sysname-route-policy] if-match as-path 8

[Sysname-route-policy] apply community no-export

apply cost

Syntax apply cost [ + - ] value

undo apply cost

View Routing policy view

Parameters +: Increases cost value. +: Decreases cost value.

cost: Specifies a cost from 0 to 4294967295.

Description Use the apply cost command to set a cost for routing information.

Use the undo apply cost command to remove the clause configuration.

No cost is set for routing information by default.

Related commands: if-match interface, if-match acl, if-matchip-prefix,if-match ip next-hop,if-match cost, if-match tag, route-policy,apply ip-addressnext-hop,apply local-preference,apply origin and apply tag.

Examples # Create routing policy policy1 with node 10, matching mode as permit. If a route matches the outbound interface Serial 2/0, set the cost for the route to 120.

Page 1189
Image 1189
3Com MSR 50, MSR 30 manual Apply cost, Syntax apply cost + value Undo apply cost, View Routing policy view, 1189