H3C S6550X-HI Series Command Reference Manual page 2055

Table of Contents

Advertisement

community-number&<1-32>
4294967295.
numbers.
aa:nn&<1-32>
indicates that you can specify a maximum of 32 community numbers.
&<1-32>
: Sets the INTERNET community attribute for BGP routes. Routes with this attribute can
internet
be advertised to all BGP peers. By default, all routes have this attribute.
no-advertise
attribute cannot be advertised to any peers.
no-export
cannot be advertised out of the AS or confederation, but can be advertised to other sub-ASs in the
confederation.
no-export-subconfed
routes. Routes with this attribute cannot be advertised out of the local AS or to other sub-ASs in the
confederation.
additive
: Adds the specified COMMUNITY attribute to the original COMMUNITY attribute of BGP
routes.
Examples
# Configure node 16 in permit mode for routing policy setcommunity to set the NO_EXPORT
community attribute for BGP routes.
<Sysname> system-view
[Sysname] route-policy setcommunity permit node 16
[Sysname-route-policy-setcommunity-16] apply community no-export
Related commands
if-match community
ip community-list
apply cost
Use
apply cost
Use
undo apply cost
Syntax
apply cost [ + | - ] cost-value
undo apply cost
Default
No cost is set for routes.
Views
Routing policy node view
Predefined user roles
network-admin
Parameters
+
: Increases a cost value.
: Decreases a cost value.
-
: Specifies a community sequence number in the range of 1 to
indicates that you can specify a maximum of 32 community sequence
&<1-32>
: Specifies a community number. Both
: Sets the NO_ADVERTISE community attribute for BGP routes. Routes with this
: Sets the NO_EXPORT community attribute for BGP routes. Routes with this attribute
: Sets the NO_EXPORT_SUBCONFED community attribute for BGP
to set a cost for routes.
to restore the default.
and
aa
nn
3
are in the range of 0 to 65535.

Advertisement

Table of Contents
loading

Table of Contents