118
Examples
# Configure GTS parameters for forwarding profile
testfp
: set the CIR to 16000 kbps and CBS to
2400000 bytes.
<Sysname> system-view
[Sysname] qos forwarding-profile testfp
[Sysname-hqos-fp-testfp] gts cir 16000 cbs 2400000
layer
Syntax
layer
{
1
|
2
}
View
Scheduler policy view, scheduler policy layer view
Default level
2: System level
Parameters
1
: Enters scheduling layer 1 view.
2
: Enters scheduling layer 2 view.
Description
Use the
layer
command to enter a scheduling layer view.
To instantiate a parent forwarding group or a forwarding group that has no child forwarding groups,
enter scheduling layer 1 view.
To instantiate a child forwarding group, enter scheduling layer 2 view.
Examples
# Enter the scheduling layer 1 view of scheduler policy
testsp
.
<Sysname> system-view
[Sysname] qos scheduler-policy testsp
[Sysname-hqos-sp-testsp] layer 1
[Sysname-hqos-sp-testsp-layer1]
qos apply scheduler-policy
Syntax
qos apply scheduler-policy
sp-name
outbound
undo qos apply scheduler-policy
outbound
View
Ethernet interface view, port group view
Default level
2: System level
Parameters
sp-name
: Scheduler policy name, a case-sensitive string of 1 to 31 characters.