In profile shaping mode, upstream/downstream data rate limitation is set for GEM ONT port.
After configuration, the shaping profile can be assigned to a specific template or directly in the ONT configuration.
shaping
This command allows to create a new profile and/or switch to its configuration mode.
The use of a negative form (no) of the command removes the profile.
Syntax
profile shaping <NAME>
[no] profile shaping <NAME>
Parameters
<NAME> – profile name, case sensitive.
Command mode
CONFIG
Example
ma4000(config)# profile shaping name ma4000(config-shaping)("name")#
name
The command changes the name of the configured profile.
Syntax
name <STRING>
Parameters
<STRING> – profile name, case sensitive.
Command mode
PROFILE SHAPING
Example
ma4000(config-shaping)("name")# name test
description
This command allows to add a description for the profile to be configured.
The use of a negative form (no) of the command removes description.
Syntax
description <STRING>
[no] description <STRING>
Parameters
<STRING> – text description.
Command mode
PROFILE SHAPING
Example
ma4000(config-shaping)("name")# description doc
downstream one-policer
The command allows to configure the bandwidth limit for all services simultaneously.
The use of the negative form (no) of the command sets a bandwidth limit for each service by a separate rule.
Syntax
[no] downstream one-policer
Parameters
The command contains no arguments.
Command mode
PROFILE SHAPING
Example
ma4000(config-shaping)("name")# downstream one-policer
downstream policer
The command allows to enable band limit for a particular service.
The use of a negative form (no) of the command sets the default parameter value.
Syntax
[no] downstream policer <SERVICE>
Parameters
<SERVICE> – service number, may take values [0..7].
Command mode
PROFILE SHAPING
Example
ma4000(config-shaping)("name")# downstream policer 0
downstream policer peak-rate
The command allows to set the peak bandwidth limit for a particular service.
The use of a negative form (no) of the command sets the default parameter value.
Syntax
downstream policer <SERVICE> peak-rate <RATE>
[no] downstream policer <SERVICE> peak-rate
Parameters
<SERVICE> – service number, may take values [0..7];
<RATE> – peak rate, may take values [0..2488320] kbps.
Command mode
PROFILE SHAPING
Example
ma4000(config-shaping)("name")# downstream policer 0 peak-rate 102400
upstream
The command allows to enable the general bandwidth limit for a particular service.
The use of a negative form (no) of the command sets the default parameter value.
Syntax
upstream <SERVICE>
[no] upstream <SERVICE>
Parameters
<SERVICE> – service number, may take values [0..7].
Command mode
PROFILE SHAPING
Example
ma4000(config-shaping)("name")# upstream 7
upstream commited-rate
The command allows to set the general bandwidth limit for a particular service.
The use of a negative form (no) of the command sets the default parameter value.
Syntax
upstream <SERVICE> commited-rate
[no] upstream <SERVICE> commited-rate <RATE>
Parameters
<SERVICE> – service number, may take values [0..7];
<RATE> – rate value, may take values [0..1244160] kbps.
Command mode
PROFILE SHAPING
Example
ma4000(config-shaping)("name")# upstream 7 commited-rate
upstream peak-rate
The command allows to set the peak bandwidth limit for a particular service.
The use of a negative form (no) of the command sets the default parameter value.
Syntax
upstream <SERVICE> peak-rate
[no] upstream <SERVICE> peak-rate
Parameters
<SERVICE> – service number, may take values [0..7];
<RATE> – peak rate, may take values [0..1244160] kbps.
Command mode
PROFILE SHAPING
Example
ma4000(config-shaping)("name")# upstream 7 peak-rate
upstream broadcast
The command allows to enable the bandwidth limit for a particular service broadcast traffic. Support for this feature should be implemented on ONT.
The use of a negative form (no) of the command sets the default parameter value.
Syntax
upstream broadcast <SERVICE>
[no] upstream broadcast <SERVICE>
Parameters
<SERVICE> – service number, may take values [0..7].
Command mode
PROFILE SHAPING
Example
ma4000(config-shaping)("name")# upstream broadcast 7
upstream broadcast commited-rate
The command allows to set the bandwidth limit for a particular service broadcast traffic. Support for this feature should be implemented on ONT.
The use of a negative form (no) of the command sets the default parameter value.
Syntax
upstream broadcast <SERVICE> commited-rate
[no] upstream broadcast <SERVICE> commited-rate <RATE>
Parameters
<SERVICE> – service number, may take values [0..7];
<RATE> – rate value, may take values [0..1244160] kbps.
Command mode
PROFILE SHAPING
Example
ma4000(config-shaping)("name")# upstream broadcast 7 commited-rate
upstream broadcast peak-rate
The command allows to set the peak bandwidth limit for a particular service broadcast traffic. Support for this feature should be implemented on ONT.
The use of a negative form (no) of the command sets the default parameter value.
Syntax
upstream broadcast <SERVICE> peak-rate
[no] upstream broadcast <SERVICE> peak-rate
Parameters
<SERVICE> – service number, may take values [0..7];
<RATE> – peak rate, may take values [0..1244160] kbps.
Command mode
PROFILE SHAPING
Example
ma4000(config-shaping)("name")# upstream broadcast 7 peak-rate
upstream multicast
The command allows to enable the bandwidth limit for a particular service multicast traffic. Support for this feature should be implemented on ONT.
The use of a negative form (no) of the command sets the default parameter value.
Syntax
upstream multicast <SERVICE>
[no] upstream multicast <SERVICE>
Parameters
<SERVICE> – service number, may take values [0..7].
Command mode
PROFILE SHAPING
Example
ma4000(config-shaping)("name")# upstream multicast 7
upstream multicast commited-rate
The command allows to set the bandwidth limit for a particular service multicast traffic. Support for this feature should be implemented on ONT.
The use of a negative form (no) of the command sets the default parameter value.
Syntax
upstream multicast <SERVICE> commited-rate
[no] upstream multicast <SERVICE> commited-rate <RATE>
Parameters
<SERVICE> – service number, may take values [0..7];
<RATE> – rate value, may take values [0..1244160] kbps.
Command mode
PROFILE SHAPING
Example
ma4000(config-shaping)("name")# upstreammulticast 7 commited-rate
upstream multicast peak-rate
The command allows to set the peak bandwidth limit for a particular service multicast traffic. Support for this feature should be implemented on ONT.
The use of a negative form (no) of the command sets the default parameter value.
Syntax
upstream multicast <SERVICE> peak-rate
[no] upstream multicast <SERVICE> peak-rate
Parameters
<SERVICE> – service number, may take values [0..7];
<RATE> – peak rate, may take values [0..1244160] kbps.
Command mode
PROFILE SHAPING
Example
ma4000(config-shaping)("name")# upstream multicast 7 peak-rate
upstream unicast
The command allows to enable the bandwidth limit for a particular service unicast traffic. Support for this feature should be implemented on ONT.
The use of a negative form (no) of the command sets the default parameter value.
Syntax
upstream unicast <SERVICE>
[no] upstream unicast <SERVICE>
Parameters
<SERVICE> – service number, may take values [0..7].
Command mode
PROFILE SHAPING
Example
ma4000(config-shaping)("name")# upstream unicast 7
upstream unicast commited-rate
The command allows to set the bandwidth limit for a particular service unicast traffic. Support for this feature should be implemented on ONT.
The use of a negative form (no) of the command sets the default parameter value.
Syntax
upstream unicast <SERVICE> commited-rate
[no] upstream unicast <SERVICE> commited-rate <RATE>
Parameters
<SERVICE> – service number, may take values [0..7];
<RATE> – rate value, may take values [0..1244160] kbps.
Command mode
PROFILE SHAPING
Example
ma4000(config-shaping)("name")# upstreamunicast 7 commited-rate
upstream unicast peak-rate
The command allows to set the peak bandwidth limit for a particular service unicast traffic. Support for this feature should be implemented on ONT.
The use of a negative form (no) of the command sets the default parameter value.
Syntax
upstream unicast <SERVICE> peak-rate
[no] upstream unicast <SERVICE> peak-rate
Parameters
<SERVICE> – service number, may take values [0..7];
<RATE> – rate value, may take values [0..1244160] kbps.
Command mode
PROFILE SHAPING
Example
ma4000(config-shaping)("name")# upstream unicast 7 peak-rate
storm-control
The command enables storm-control in upstream or downstream direction. The limit is set for broadcast or multicast.
Syntax
<DIRECTION> <TYPE> rate-limit <RATE> <shutdown> <logging>
Parameters
<DIRECTION> – traffic direction [upstream \ downstream];
<RATE> – limiting (packets per second) <1-1000000>;
<shutdown> – to block ONT when <RATE> is exceeded;
<logging> – to log ONT blocking caused by storm-control.
Example
ma4000(config-shaping)("name")# upstream multicast storm-control rate-limit 300 shutdown logging
show profile shaping
This command allows to view the existing profiles, view the configuration of the specified profile.
Syntax
show profile shaping <NAME>
Parameters
<NAME> – profile name, optional parameter.
If no profile name is specified – the list of all profiles of this type is displayed, if the name is specified – the configuration of this profile is displayed.
Command mode
ROOT
Example 1
ma4000# show profile shaping ## Name Description 1 shaping-00 ONT Profile Shaping 0
Example 2
ma4000# show profile shaping shaping-00 Name: 'shaping-00' Description: 'ONT Profile Shaping 0' Downstream: One policer: true Policer [0]: Enable: false Peak rate: 2488320 Policer [1]: Enable: false Peak rate: 2488320 Policer [2]: Enable: false Peak rate: 2488320 Policer [3]: Enable: false Peak rate: 2488320 Policer [4]: Enable: false Peak rate: 2488320 Policer [5]: Enable: false Peak rate: 2488320 Policer [6]: Enable: false Peak rate: 2488320 Policer [7]: Enable: false Peak rate: 2488320 Upstream: Shaper [0]: Enable: true Commited rate: 1244160 Peak rate: 1244160 Shaper [1]: Enable: true Commited rate: 1244160 Peak rate: 1244160 Shaper [2]: Enable: true Commited rate: 1244160 Peak rate: 1244160 Shaper [3]: Enable: true Commited rate: 1244160 Peak rate: 1244160 Shaper [4]: Enable: true Commited rate: 1244160 Peak rate: 1244160 Shaper [5]: Enable: true Commited rate: 1244160 Peak rate: 1244160 Shaper [6]: Enable: true Commited rate: 1244160 Peak rate: 1244160 Shaper [7]: Enable: true Commited rate: 1244160 Peak rate: 1244160 Shaper unicast [0]: Enable: true Commited rate: 1244160 Peak rate: 1244160 Shaper unicast [1]: Enable: true Commited rate: 1244160 Peak rate: 1244160 Shaper unicast [2]: Enable: true Commited rate: 1244160 Peak rate: 1244160 Shaper unicast [3]: Enable: true Commited rate: 1244160 Peak rate: 1244160 Shaper unicast [4]: Enable: true Commited rate: 1244160 Peak rate: 1244160 Shaper unicast [5]: Enable: true Commited rate: 1244160 Peak rate: 1244160 Shaper unicast [6]: Enable: true Commited rate: 1244160 Peak rate: 1244160 Shaper unicast [7]: Enable: true Commited rate: 1244160 Peak rate: 1244160 Shaper multicast [0]: Enable: true Commited rate: 1244160 Peak rate: 1244160 Shaper multicast [1]: Enable: true Commited rate: 1244160 Peak rate: 1244160 Shaper multicast [2]: Enable: true Commited rate: 1244160 Peak rate: 1244160 Shaper multicast [3]: Enable: true Commited rate: 1244160 Peak rate: 1244160 Shaper multicast [4]: Enable: true Commited rate: 1244160 Peak rate: 1244160 Shaper multicast [5]: Enable: true Commited rate: 1244160 Peak rate: 1244160 Shaper multicast [6]: Enable: true Commited rate: 1244160 Peak rate: 1244160 Shaper multicast [7]: Enable: true Commited rate: 1244160 Peak rate: 1244160 Shaper broadcast [0]: Enable: true Commited rate: 1244160 Peak rate: 1244160 Shaper broadcast [1]: Enable: true Commited rate: 1244160 Peak rate: 1244160 Shaper broadcast [2]: Enable: true Commited rate: 1244160 Peak rate: 1244160 Shaper broadcast [3]: Enable: true Commited rate: 1244160 Peak rate: 1244160 Shaper broadcast [4]: Enable: true Commited rate: 1244160 Peak rate: 1244160 Shaper broadcast [5]: Enable: true Commited rate: 1244160 Peak rate: 1244160 Shaper broadcast [6]: Enable: true Commited rate: 1244160 Peak rate: 1244160 Shaper broadcast [7]: Enable: true Commited rate: 1244160 Peak rate: 1244160