Page 736 / 998 Scroll up to view Page 731 - 735
QOS
Classifier command reference
iMG/RG Software Reference Manual (Quality of Service)
7-40
7.1.5.1.27 CLASSIFIER PROFILE SET RULE VLANID
Syntax
CLASSIFIER PROFILE <profilename> SET RULE <rule name> VLANID
<vlanidmin> <vlanidmax>
Description
This command classifies packet based on the vlanid range specified.
Options
The following table gives the range of values for each option that can be specified with
this command and a default value for each option (if applicable).
Example
--> classifier profile pr1 set rule r1 vlanid 2 4091
See also
CLASSIFIER LIST PROFILES
CLASSIFIER PROFILE LIST RULES
7.1.5.1.28 CLASSIFIER PROFILE SET RULE VLANPRI
Syntax
CLASSIFIER PROFILE <profilename> SET RULE <rule name> VLAN-
PRI <vlanpri>
Description
This command classifies packet based on the 802.1p priority.
Options
The following table gives the range of values for each option that can be specified with
this command and a default value for each option (if applicable).
Option
Description
Default Value
profilename
A name that identifies an existing profile. To
display profile names, use the classifier list
profiles command.
N/A
rule name
A name that identifies an existing rule. To
display rule names, use the classifier profile
list rules command.
N/A
vlanidmin
Lower range to be matched, valid values 1 to 4094
N/A
vlanidmax
Upper range to be matched, valid values 1 to 4094
N/A
Page 737 / 998
Classifier command reference
QOS
7-41
iMG/RG Software Reference Manual (Quality of Service)
Example
--> classifier profile pr1 set rule r1 vlanpri 2
See also
CLASSIFIER LIST PROFILES
CLASSIFIER PROFILE LIST RULES
7.1.5.1.29 CLASSIFIER SHOW PROFILE
Syntax
CLASSIFIER SHOW PROFILE {<name>|<number>}
Description
This command displays the following information about the rules previously added to an
existing profile:
Rule ID number
Rule name
Test details; each packet is tested against the following configurable fields:
The source IP address and netmask
The destination IP address and netmask
The Differentiated Services Code Point (DSCP)
The protocol name or number
The source port range
The destination port range
If a packet matches the configured fields, the packet is assigned a specific QoSC. If a DSCP
is specified by the classifier profile set rule mark command, a DSCP is also assigned. The
assigned fields are also displayed in the
Test details
column.
Option
Description
Default Value
profilename
A name that identifies an existing profile. To
display profile names, use the classifier list
profiles command.
N/A
rule name
A name that identifies an existing rule. To
display rule names, use the classifier profile
list rules command.
N/A
vlanpri
The vlan priority to be matched , valid values 0 to 7
N/A
Page 738 / 998
QOS
Meter command reference
iMG/RG Software Reference Manual (Quality of Service)
7-42
Options
The following table gives the range of values for each option that can be specified with
this command and a default value for each option (if applicable)
Example
--> classifier show profile pr1
C
lassifier profile: pr1
ID | Name | Test details
----|-----------------------------------------------------
1
| r1
| Set QOSC 1
Mark DSCP none
|
| Src Addr 1.1.1.1
Src Mask
255.255.255.0
|
| Dst Addr 2.2.2.2
Dst Mask
255.255.255.255
|
| DSCP
any
Protocol
UDP
|
| Src Port 2727-2727 Dst Port
0
-
0
----------------------------------------------------------
See also
CLASSIFIER LIST PROFILES
CLASSIFIER PROFILE LIST RULES
CLASSIFIER PROFILE SET RULE PROTOCOL
7.1.6
Meter command reference
7.1.6.1 Meter CLI commands
The table below lists the
meter
commands provided by the CLI:
Option
Description
Default Value
name
An existing profile. To display profile names, use
the
CLASSIFIER LIST PROFILES
command.
N/A
number
An existing profile. To display profile numbers,
use the
CLASSIFIER LIST PROFILES
command.
N/A
TABLE 7-2
Meter
commands
Commands
Fiber
A
Fiber
B
Fiber
C
Fiber
D
Fiber
E
Modular
ADSL
A
ADSL
B
ADSL
C
METER ADD PROFILE SRTCM
X
X
X
X
X
X
X
X
X
METER ADD PROFILE TOKENBUCKET
X
X
X
X
X
X
X
X
X
Page 739 / 998
Meter command reference
QOS
7-43
iMG/RG Software Reference Manual (Quality of Service)
7.1.6.1.1 METER ADD PROFILE SRTCM
Syntax
METER ADD PROFILe <name> SRTCM <cir> <cbs> <ebs>
Description
This command creates a meter profile that uses srTCM algorithm for metering.
If a packet stream’s average rate is within CIR and the burst size is within CBS, then that
packet is in-profile (green).
If a packet stream’s average rate is within CIR and the burst size is not within CBS but is
within CBS+EBS, then that packet is partially in profile (yellow).
All other packets are out of profile (red).
Note that only IP packet size (IP header and payload) is considered for calculations.
You can specify the treatment or actions for green, yellow and red packets using the
meter set profile action commands. You can then set the profile to create meter instance
on a transport using the
TRANSPORTS SET METER INSTANCE PROFILE
com-
mand.
Options
The following table gives the range of values for each option that can be specified with
this command and a default value (if applicable).
METER ADD PROFILE TRTCM
X
X
X
X
X
X
X
X
X
METER CLEAR PROFILES
X
X
X
X
X
X
X
X
X
METER DELETE PROFILE
X
X
X
X
X
X
X
X
X
METER LIST PROFILES
X
X
X
X
X
X
X
X
X
METER SET PROFILE ACTION DROP
X
X
X
X
X
X
X
X
X
METER SET PROFILE ACTION MARK DSCP
X
X
X
X
X
X
X
X
X
METER SET PROFILE ACTION PASS
X
X
X
X
X
X
X
X
X
METER SHOW PROFILE
X
X
X
X
X
X
X
X
X
TABLE 7-2
Meter
commands
(Continued)
Commands
Fiber
A
Fiber
B
Fiber
C
Fiber
D
Fiber
E
Modular
ADSL
A
ADSL
B
ADSL
C
Page 740 / 998
QOS
Meter command reference
iMG/RG Software Reference Manual (Quality of Service)
7-44
Example
--> meter add profile mp1 srtcm 80 10000 25000
See also
METER ADD PROFILE TOKENBUCKET
METER ADD PROFILE TRTCM
METER LIST PROFILES
7.1.6.1.2 METER ADD PROFILE TOKENBUCKET
Syntax
METER ADD PROFILE <name> TOKENBUCKET <cir> <cbs>
<scalar>
Description
This command creates a meter profile that uses the token-bucket algorithm for meter-
ing.
Allows for a larger <cbs> while retaining the committed <cir> – this is especially helpful
managing packet loss with bursty TCP/IP traffic. Possible values are from 1 to 15, with 1
resulting in no change to the cbs and 15 resulting in a cbs that is 15 times the configured
value.
If a packet stream’s average rate is within CIR and the burst size is within CBS, then the
packet is in profile (green).
All other packets are out of profile (red).
Note that only IP packet size (IP header and payload) is considered for calculations.
You can specify the treatment or actions for green, yellow and red packets using the
meter set profile action commands. You can then set the profile to create meter instance
on a transport using the
TRANSPORTS SET METER INSTANCE PROFILE
com-
mand.
Options
The following table gives the range of values for each option that can be specified with
this command and a default value (if applicable).
Option
Description
Default Value
name
An arbitrary name that identifies the profile. It can be
made up of one or more letters or a combination of let-
ters and digits, but it cannot start with a digit.
N/A
cir
Committed Information Rate
in kbps.
N/A
cbs
Committed Burst Size
in bytes.
N/A
ebs
Excess Burst Size
in bytes.
N/A

Rate

4 / 5 based on 3 votes.

Popular Allied-Telesis Models

Bookmark Our Site

Press Ctrl + D to add this site to your favorites!

Share
Top