User Manual
UMN:CLI
V8102
349
9.3.6.1
Creating Admin Flow for packet classification
To classify packets by a specific admin flow for the V8102, you need to open
Admin-Flow
Configuration
mode first. To open
Admin-Flow Configuration
mode, use the following
command.
Command
Mode
Description
flow
admin NAME
create
Global
Creates an admin flow and opens
Admin-Flow Configu-
ration
mode.
NAME: admin-flow name.
To display created admin flow, use the following command.
Command
Mode
Description
show flow admin
Global
Shows created admin flow.
show flow admin
{
NAME | detail
}
Shows specified admin flow.
After
opening
Admin-Flow
Configuration
mode,
the
prompt
changes
from
SWITCH(config)# to SWITCH(config-admin-flow[NAME])#.
To delete configured admin flow or all admin flows, use the following command.
Command
Mode
Description
no flow admin
NAME
Global
Deletes specified admin flow.
no flow admin all
Deletes all admin flows.
After opening
Admin-Flow Configuration
mode, an admin flow can be configured by user.
The packet classification can be configured for each admin-flow.
•
The admin-flow name must be unique. Its size is limited to 32 significant characters.
•
The admin-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 admin
command to display the configuration entered up
to now.
9.3.6.2
Configuring Admin Flow
You can classify the packets according to IP address, ICMP, TCP, UDP and IP header
length. To specify a packet-classifying pattern, 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]
Admin-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
i