Cisco Cisco ASR 5700
ACL Configuration Mode Commands
▀ redirect context (by TCP/UDP packets)
▄ Command Line Interface Reference, StarOS Release 17
296
eq dest_port
Specifies a single, specific destination TCP port number to be filtered.
dest_port
must be an integer from 0 through 65535.
gt dest_port
Specifies that all destination TCP port numbers greater than the one specified are to be filtered.
dest_port
must be an integer from 0 through 65535.
lt dest_port
Specifies that all destination TCP port numbers less than the one specified are to be filtered.
dest_port
must be an integer from 0 through 65535.
neq dest_port
Specifies that all destination TCP port numbers not equal to the one specified are to be filtered.
dest_port
must be an integer from 0 through 65535.
Usage
Block IP packets when the source and destination are of interest but for only a limited set of ports.
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
UDP packets coming from any host are matched:
UDP packets coming from any host are matched:
redirect context 23 udp any
The following sets the insertion point before the rule defined above:
before redirect context 23 udp any
The following command sets the insertion point after the first rule defined above:
after redirect context 23 udp any
The following deletes the rule defined above:
no redirect context 23 udp any