Cisco Cisco ASR 5000
ACL Configuration Mode Commands
▀ redirect context (any)
▄ Command Line Interface Reference, StarOS Release 18
286
context context_id
The context identification number of the context to which packets are redirected. At the executive mode
prompt, use the
prompt, use the
show context all
command to display context names and context IDs.
log
Default: packets are not logged.
Indicates all packets which match the redirect are to be logged.
Indicates all packets which match the redirect are to be logged.
any
Indicates all packets will match the redirect regardless of source and/or destination.
Usage
Define a catch all rule to place at the end of the list of rules to provide explicit handling of rules which do not
fit any other criteria.
fit any other criteria.
Important:
Any rule which is added as a catch all should also have the log option specified. The logged packets
may be used to determine if the current list of rules is adequate or needs modification to ensure proper security.
Important:
The maximum number of rules that can be configured per ACL varies depending on how the ACL is
to be used. For more information, refer to the Engineering Rules appendix in the System Administration Guide.
Important:
Also note that “redirect” rules are ignored for ACLs applied to specific subscribers or all subscribers
facilitated by a specific context.
Example
The following command defines a rule that redirects packets to the context with the context ID of 23 and any
source IP:
source IP:
redirect context 23 any
The following sets the insertion point before the rule defined above:
before redirect context 23 any
The following command sets the insertion point after the first rule defined above:
after redirect context 23 any
The following deletes the first rule defined above:
no redirect context 23 any