Vyatta NOS documentation

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

policy route route-map <map-name> rule <rule-num> set add-extcommunity rt <community>

Adds a BGP extended community to an existing extended community.

set policy route route-map map-name rule rule-num set add-extcommunity rt { AA:NN | IPAddr-NN }
delete policy route route-map map-name rule rule-num set add-extcommunity rt { AA:NN | IPAddr-NN }
show policy route route-map map-name rule rule-num set add-extcommunity rt { AA:NN | IPAddr-NN }
map-name
The name of a defined route map.
rule-num
The number of a defined extended community list rule.
AA:NN
An extended community in 4-octet, AS-value format.
IPAddr-NN
An extended community in IP address-NN format.

Configuration mode


policy {
    route {
        route-map map-name {
            rule rule-num {
               set {
                     add-extcommunity {
                       rt {
                            AA:NN
                            IPAddr-NN
                               
                       }
                     }
               }
            }
         }
      }
}

Use the set form of this command to add a BGP extended community to an existing extended community.

Use the delete form of this command to delete the newly added BGP extended community from an existing extended community.

Use the show form of this command to display the configuration for route maps.