Cisco Cisco ASR 5700

Page of 8994
  ACS Ruledef Configuration Mode Commands 
tcp either-port  ▀   
 
Command Line Interface Reference, StarOS Release 17  ▄  
 
   
1145 
port-map port_map_name
 
Specifies the port map for the port range. 
port_map_name
 must be an alphanumeric string of 1 through 63 
characters. 
Usage 
Use this command to define rule expressions to match either a destination or source port number in TCP 
headers. 
This command expression allows you to create a single ruledef using either-port, rather than needing two 
ruledefs (one with dst-port and one with src-port). 
Example
 
The following command defines a rule expression to match destination/source port number 
10
 in TCP 
header: 
tcp either-port = 10