Cisco Cisco ASR 5700
ACL Configuration Mode Commands
▀ redirect nexthop (any)
▄ Command Line Interface Reference, StarOS Release 17
360
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.
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 to be 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 next hop host at 192.168.10.4, the context
with the context ID of 23 and any source IP:
with the context ID of 23 and any source IP:
redirect nexthop 192.168.10.4 context 23 any
The following sets the insertion point before the rule defined above:
before redirect nexthop 192.168.10.4 context 23 any
The following command sets the insertion point after the first rule defined above: