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 extcommunity-list [ standard | expanded ] { <list-num> | <list-name> } rule <rule-num> action

Specifies the action to take when packets match an extended community list rule.

set policy route extcommunity-list [ standard | expanded ] { list-num | list-name } rule rule-num action { deny | permit }
delete policy route extcommunity-list [ standard | expanded ] { list-num | list-name } rule rule-num action
show policy route extcommunity-list [ standard | expanded ] { list-num | list-name } rule rule-num action

Packets that match this rule are forwarded.

list-num
The number of a defined community list.

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

list-name
A string identifier for the community list.

The string is a set of characters.

rule-num
The rule number for a defined community list.
deny
Silently drops the packets that match.
permit
Forward packets that match the rule.

Configuration mode


policy {
    route {
        extcommunity-list {
                standard [list-num | list-name ]
                expanded [list-num | list-name ]
                    {
                         rule rule-num {
                            action {
                                deny
                                permit
                                }
                         }    
                    } 
              }
       }
}

Use the set form of this command to define the action to specify the action to take when packets match an extended community list rule.

If the action for a rule is deny, packets that match the criteria of the rule are silently dropped. If the action for the rule is permit, destination-based routing is performed; that is, packets are sent by using the normal forwarding channels.

Use the delete form of this command to restore the default action to take for packets that match the criteria for a rule.

Use the show form of this command to display the action to take for a rule.

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