Cisco Cisco ASR 5700
ACL Configuration Mode Commands
redirect nexthop (by host IP address) ▀
Command Line Interface Reference, StarOS Release 17 ▄
363
no
Removes the rule which exactly matches the options specified.
nexthop nexthop_addr
The directly connected IP address to which the IP packets are forwarded.
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.
interface interface_name
The name of the logical interface to which the packets should be redirected.
interface_name
must be an
alphanumeric string from 1 to 79 characters.
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 next hop host at 192.168.10.4, the context
with the context ID of 23 and a host IP address of 192.168.200.11:
with the context ID of 23 and a host IP address of 192.168.200.11:
redirect nexthop 192.168.10.4 context 23 host 192.168.200.11
The following sets the insertion point before the rule defined above:
before redirect nexthop 192.168.10.4 context 23 host 192.168.200.11
The following command sets the insertion point after the first rule defined above: