Cisco Cisco ASR 5700
ACL Configuration Mode Commands
▀ redirect context (by host IP address)
▄ Command Line Interface Reference, StarOS Release 17
284
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.
host
Specifies that the rule applies to a specific host as determined by its IP address.
source_ipv4_address
The IP address of the source host to filter against expressed in IPv4 dotted-decimal notation.
Usage
Define a rule when a very specific remote host is to be blocked. In simplified networks where the access
controls need only block a few hosts, this command allows the rules to be very clear and concise.
controls need only block a few hosts, this command allows the rules to be very clear and concise.
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 a
host IP address of 192.168.200.11:
host IP address of 192.168.200.11:
redirect context 23 host 192.168.200.11
The following sets the insertion point before the rule defined above:
before redirect context 23 host 192.168.200.11
The following command sets the insertion point after first the rule defined above:
after redirect context 23 host 192.168.200.11
The following deletes the first rule defined above:
no redirect context 23 host 192.168.200.11