Cisco Cisco Packet Data Gateway (PDG)
Class-Map Configuration Mode Commands
match packet-size ▀
Command Line Interface Reference, StarOS Release 17 ▄
2213
match packet-size
Specifies a traffic classification rule based on the size of packet.
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 packet-size [ gt | lt ] size
[ gt | lt ]
size
Specifies the packet length in bytes.
gt
: indicates a packet size greater than the specified size.
lt
: indicates a packet size less than the specified size.
size
must be an integer from 1 to 65535.
Usage
Sets the match rule based on the size of packets for specific Class Map. This command is only applicable for
static policies; it is not available for dynamic policies.
static policies; it is not available for dynamic policies.
Example
The following command specifies the packet length to be
1024
bytes.
match packet-size 1024