Cisco Cisco ASR 5700

Page of 8994
  IPv6 ACL Configuration Mode Commands 
redirect nexthop (by TCP/UDP packets)  ▀   
 
Command Line Interface Reference, StarOS Release 17  ▄  
 
   
6721 
Important:
  The mask must contain a contiguous set of one-bits from the least significant bit (LSB). Therefore, 
allowed masks are 0, 1, 3, 7, 15, 31, 63, 127, and 255. For example, acceptable wildcards are 0.0.0.3, 0.0.0.255, and 
0.0.15.255. A wildcard of 0.0.7.15 is not acceptable since the one-bits are not contiguous. 
eq dest_port
 
Specifies a single, specific destination TCP port number to be filtered. 
dest_port
 must be configured to an integer value from 0 to 65535. 
gt dest_port
 
Specifies that all destination TCP port numbers greater than the one specified are to be filtered. 
dest_port
 must be configured to an integer value from 0 to 65535. 
lt dest_port
 
Specifies that all destination TCP port numbers less than the one specified are to be filtered. 
dest_port
 must be configured to an integer value from 0 to 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 configured to an integer value from 0 to 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. 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 
fe80::c0a8:a04
, the 
context with the context ID of 
23
, and UDP packets coming from any host are matched:  
redirect nexthop fe80::c0a8:a04 context 23 udp any 
The following sets the insertion point to before the rule defined above:  
before redirect nexthop fe80::c0a8:a04 context 23 udp any 
The following command sets the insertion point after the rule defined above:  
after redirect nexthop fe80::c0a8:a04 context 23 udp any 
The following command deletes the first rule defined above:  
no redirect nexthop fe80::c0a8:a04 context 23 udp any