Cisco Cisco ASR 5700

Page of 8994
  Class-Map Configuration Mode Commands 
match src-port-range  ▀   
 
Command Line Interface Reference, StarOS Release 17  ▄  
 
   
2217 
match src-port-range 
Specifies a traffic classification rule based on the range of source ports of L4 packets. 
Product
 
PDSN 
HA 
ASN-GW 
HSGW 
P-GW 
SAEGW 
SCM 
Privilege
 
Security Administrator, Administrator 
Mode
 
Exec > Global Configuration > Context Configuration > Class-Map Configuration 
configure > context context_name > class-map class_map_name
 
Entering the above command sequence results in the following prompt: 
[context_name]host_name(config-class-map)# 
Syntax
 
match src-port-range initial_port_number [ to last_port_number ] 
initial_port_number [ to last_port_number ]
 
Specifies the source port or range of ports of the L4 packets. 
initial_port_number
 is the starting port number and must be an integer from 1 to 65535 but less than 
last_port_number
, if specified. 
last_port_number
 is the end port number and must be an integer from 1 to 65535 but more than 
initial_port_number
Usage 
Sets the match rule based on source port number or range of ports of L4 packets for specific Class Map. 
Example
 
The following command specifies the rule for packets having source port number from 
23
 to 
88
match src-port-range 23 to 88