Cisco Cisco Packet Data Gateway (PDG)

下载
页码 8770
IPv6 ACL Configuration Mode Commands   
▀  redirect context (by IP packets) 
 
 
▄  Command Line Interface Reference, StarOS Release 16 
6532 
   
dest_address
 
The IP address(es) to which the packet is to be sent. 
This option is used to filter all packets to a specific IP address or a group of IP addresses. 
When specifying a group of addresses, the initial address is configured using this parameter. The range can 
then be configured using the 
dest_wildcard
 parameter. 
dest_wildcard
 
This option is used in conjunction with the 
dest_address
 option to specify a group of addresses for which 
packets are to be filtered. 
The mask must be entered as a complement: 
 
Zero-bits in this parameter mean that the corresponding bits configured for the 
dest_address
 
parameter must be identical. 
 
One-bits in this parameter mean that the corresponding bits configured for the 
dest_address
 
parameter must be ignored. 
Important:
  The mask must contain a contiguous set of one-bits from the least significant bit (LSB). 
fragment
 
Indicates packet redirection is to be applied to IP packet fragments only. 
protocol num
 
Indicates that the packet filtering is to be applied to a specific protocol number. 
num
 is an integer from 0 through 255. 
Usage 
Block IP packets when the source and destination are of interest. 
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. 
Example
 
The following command defines a rule that redirects packets to the context with the context ID of 
23
, and IP 
packets coming from the host with the IP address 
2002::c6a2:6419
, and fragmented packets for any 
destination are matched:  
redirect context 23 ip host 2002::c6a2:6419 any fragment 
The following sets the insertion point to before the first rule defined above:  
before redirect context 23 ip host 198.162.100.25 any fragment 
The following command sets the insertion point after the second rule defined above:  
after redirect context 23 ip host 2002::c6a2:6419 any fragment