UMN:CLI
User Manual
V8102
332
classifies the packets corresponding to the parameters.
9.3.2.1
Flow Creation
The packet classification involves a traffic descriptor to categorize a packet within a spe-
cific flow for QoS handling in the network. You need to open
Flow Configuration
mode first
to classify the packets. To open
Flow Configuration
mode, use the following command.
Command
Mode
Description
flow
NAME
create
Global
Creates a flow and opens
Flow Configuration
mode.
NAME: flow name.
After opening
Flow Configuration
mode, the prompt changes from SWITCH(config)# to
SWITCH(config-flow[NAME])#.
To delete the configured Flow or all Flows, use the following command.
Command
Mode
Description
no flow
NAME
Global
Deletes a specified flow.
no flow all
Deletes all flows.
After opening
Flow Configuration
mode, a flow can be configured by user. The packet
classification can be configured for each flow.
•
The flow name must be unique. Its size is limited to 32 significant characters.
•
The flow name cannot start with the alphabet
“a” or “A”.
•
The order in which the following configuration commands are entered is arbitrary.
•
The configuration of a flow being configured can be changed as often as wanted
until the
apply
command is entered.
•
Use the
show flow-profile
command to display the configuration entered up to now.
You cannot create the flow name which started with alphabet
‘a’ If you try to make a flow
name started with alphabet
‘a’, the error message will display.
9.3.2.2
Configuring Flow
The packet classification condition needs to be defined. You can classify the packets via
MAC address, IP address, Ethernet type, CoS, DSCP etc. To specify a packet-classifying
pattern with source/destination IP address or MAC address, use the following command.
Command
Mode
Description
ip
{
A.B.C.D
|
A.B.C.D/M
|
any
}
{
A.B.C.D
|
A.B.C.D/M
|
any
} [<0-
255>]
Flow
Classifies an IP address.
A.B.C.D: source/destination IP address
A.B.C.D/M: source/destination IP address with mask
any: any source/destination IP address
0-255: IP protocol number
ip
{
A.B.C.D
|
A.B.C.D/M
|
any
}
{
A.B.C.D
|
A.B.C.D/M
|
any
}
icmp
Classifies an IP protocol (ICMP).
A.B.C.D: source/destination IP address
i
!