policy route community-list [ standard | expanded ] { <list-num> | <list-name> } rule <rule-num>
Creates a rule for a community list.
- 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
- 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.
Configuration mode
policy {
route {
community-list {
standard [list-num | list-name ]
expanded [list-num | list-name ]
{
rule rule-num
}
}
}
}
Use the set form of this command to create a rule for community list.
Use the delete form of this command to delete a rule for community list.
Use the show form of this command to display the configuration of a rule for a community list.