home

Supported platforms

Vyatta documentation

Learn how to install, configure, and operate the Vyatta Network Operating System (Vyatta NOS) and Orchestrator, which help drive our virtual networking and physical platforms portfolio.

policy route community-list standard { <list-num> | <list-name> } rule <rule-num> community <community>

Creates multiple rules for a single community list with different community values.

set policy route community-list standard { list-num | list-name } rule rule-num1 community { AA:NN | local-AS | no-advertise | no-export | internet | none }
set policy route community-list standard { list-num | list-name } rule rule-num2 community { AA:NN | local-AS | no-advertise | no-export | internet | none }
list-num
The number of a defined community list.

A standard community lists number ranges from 1 through 99 and list name and an expanded community list ranges from 100 through 199.

list-name
A name, which is a character string, for the community list.

The string is a set of characters.

rule-num
Multinode. A numeric identifier for the rule that is being created. The identifier ranges from 1 through 4294967295.

You can define multiple rules by creating multiple rule configuration nodes.

AA:NN
A community in 4-octet, AS-value format.
local-AS
Advertises communities in local AS only. (NO_EXPORT_SUBCONFED).
no-advertise
Does not advertise this route to any peer (NO_ADVERTISE).
no-export
Does not advertise outside of this AS of confederation boundary (NO_EXPORT).
internet
Specifies the 0 symbolic Internet community.
none
Specifies no communities.

policy {
    route {
    community-list { 
              standard [list-num | list-name ] 
              {
                 rule rule-num1 {
                        AA:NN
                        local-AS 
                        no-advertise 
                        no-export 
                        internet
                        none
                    rule rule-num2 {
                        AA:NN
                        local-AS 
                        no-advertise 
                        no-export 
                        internet
                        none
                    }
                }
            }
        }
    }
}

Use the set form of this command to create a rule for a community list.

Use the delete form of this command to delete a rule for a community list.

Use the show form of this command to display a rule for a community list.

Note: For more information about BGP community-list, see the “BGP Communities” section in Ciena Vyatta Network OS BGP Configuration Guide.