policy route access-list <list-num> rule <rule-num> destination
Defines match criteria for an access list rule based on destination.
- list-num
- The number of a defined access list.
- rule-num
- The number of a defined access list.
- any
- Match packets destined for any destination. Exactly one of any, host, inverse-mask, and network is mandatory.
- host ipv4
- Match packets destined for the specified IPv4 host. Exactly one of any, host, inverse-mask, and network is mandatory.
- inverse-mask ipv4
- Match packets destined for the network specified by the mask. Exactly one of any, host, inverse-mask, and network is mandatory.
- network ipv4net
- Match packets destined for the specified network. The format is ip-address/prefix. Exactly one of any, host, inverse-mask, and network is mandatory.
Configuration mode
policy {
route {
access-list list-num {
rule rule-num {
destination {
any
host ipv4
inverse-mask ipv4
network ipv4net
}
}
}
}
}
Use the set form of this command to specify the destination match criteria for this access list rule.
Use the delete form of this command to remove configured destination match criteria for this rule. If no match criteria are specified, no packet filtering on destination will take place; that is, packets to all destinations are permitted.
Use the show form of this command to display configuration settings for access list rule destination packet filtering.