[Contents] [Prev] [Next] [Index] [Report an Error]


community

Syntax

community ([ community-ids ] | no-advertise | no-export | no-export-subconfed | none); 

Hierarchy Level

[edit routing-instances routing-instance-name routing-options 

    aggregate | generate | static) (defaults | route)],

[edit routing-instances routing-instance-name routing-options rib routing-table-name

    (aggregate | generate | static) (defaults | route)],
[edit routing-options (aggregate | generate | static) (defaults | route)],

[edit routing-options rib routing-table-name (aggregate | generate | static) 

    (defaults | route)],
[edit logical-routers logical-router-name routing-instances routing-instance-name

    routing-options (aggregate | generate | static) (defaults | route)],

[edit logical-routers logical-router-name routing-instances routing-instance-name

    routing-options rib routing-table-name (aggregate | generate | static) 

    (defaults | route)],
[edit logical-routers logical-router-name routing-options (aggregate | generate | static) 

    (defaults | route)],

[edit logical-routers logical-router-name routing-options rib routing-table-name 

    (aggregate | generate | static) (defaults | route)]

Description

Associate BGP community information with a static, aggregate, or generated route.

Options

community-ids—One or more community identifiers. The community-ids format varies according to the type of attribute that you use.

The BGP community attribute format is as-number:community-value:

For more information about BGP community attributes, see the JUNOS Policy Framework Configuration Guide.

For specifying the BGP community attribute only, you also can specify community-ids as one of the following well-known community names defined in RFC 1997:

The BGP extended communities attribute format is type:administrator:assigned-number:

For more information about the BGP extended communities attribute, see the JUNOS Policy Framework Configuration Guide.

Usage Guidelines

See Configuring Static Routes, Configuring Aggregate Routes, and Configuring Generated Routes.

Required Privilege Level

routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.

See Also

aggregate, generate, static


[Contents] [Prev] [Next] [Index] [Report an Error]