Cisco Cisco Packet Data Gateway (PDG)
IPv6 ACL Configuration Mode Commands
▀ redirect context (by IP address masking)
▄ Command Line Interface Reference, StarOS Release 17
6628
context context_id
Specifies the context identification number of the context to which packets are redirected. At the executive
mode prompt, use the
mode 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.
source_address
Filters by the IP address(es) from which the packet originated. This option filters all packets from a specific
IP address or a group of IP addresses.
When specifying a group of addresses, the initial address is configured using this option. The range can then
be configured using the
IP address or a group of IP addresses.
When specifying a group of addresses, the initial address is configured using this option. The range can then
be configured using the
source_wildcard
parameter.
source_wildcard
Filters packets for a group of addresses specified in conjunction with the
source_address
option.
The mask must be entered as a complement:
Zero-bits in this parameter mean that the corresponding bits configured for the
source_address
parameter must be identical.
One-bits in this parameter mean that the corresponding bits configured for the
source_address
parameter must be ignored.
Important:
The mask must contain a contiguous set of one-bits from the least significant bit (LSB).
Usage
Define a rule when any packet from the IP addresses which fall into the group of addresses matching the IP
address masking. This allows the reduction of redirect rules as it does not require a rule for each source and
destination pair.
address masking. This allows the reduction of redirect rules as it does not require a rule for each source and
destination pair.
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. Also
note that “redirect” rules are ignored for ACLs applied to specific subscribers or all subscribers facilitated by a specific
context.
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 the
source IP and wildcard of
2002::c6a2:1600
and
2002::c6a2:1600
:
redirect context 23 2002::c6a2:1600 2002::c6a2:1600
The following sets the insertion point to before the first rule defined above:
before redirect context 23 2002::c6a2:1600 2002::c6a2:1600
The following command sets the insertion point after the second rule defined above:
after redirect context 23 2002::c6a2:1600 2002::c6a2:1600