Cisco Cisco ASR 5000

Page of 9109
  Firewall-and-NAT Access Ruledef Configuration Mode Commands 
tcp either-port  ▀   
 
Command Line Interface Reference, StarOS Release 18  ▄  
 
   
5179 
tcp either-port 
This command configures an access ruledef to analyze user traffic based on either (destination or source) TCP ports. 
Product
 
PSF 
NAT 
Privilege
 
Security Administrator, Administrator 
Mode
 
Exec > ACS Configuration > Firewall-and-NAT Access Ruledef Configuration 
active-charging service service_name > access-ruledef access_ruledef_name
 
Entering the above command sequence results in the following prompt: 
[local]host_name(config-acs-fw-ruledef)# 
Syntax
 
[ no ] tcp either-port { operator port_number | { !range | range } { start_range to 
end_range | port-map port_map } } 
no
 
Removes previously configured TCP either-port (destination or source) ruledef. 
operator
 
Specifies how to logically match the port number. 
operator
 must be one of the following: 
 
!=
: Does not equal 
 
<=
: Less than or equals 
 
=
: Equals 
 
>=
: Greater than or equals 
port_number
 
Specifies the port number to match. 
port_number
 must be an integer from 1 through 65535. 
range | !range
 
Specifies the range criteria: 
 
!range
: Not in the range 
 
range
: In the range 
start_range to end_range
 
Specifies the starting and ending port numbers for the port range. 
start_range
 must be an integer from 1 through 65535. 
end_range
 must be an integer from 1 through 65535 that is greater than 
start_range