Foundry NetIron M2404C and M2404F Metro Access Switches
Configuring HQoS (Rev.03)
Configuration
© 2008 Foundry Networks, Inc.
Page 74 of 98
NOTES
1. The hardware rounds the values of the above arguments. These values are
written to the running configuration.
Rates and buffer reservation values are rounded to the ones accepted by the
hardware. Accurate shaping values can be read by referring to the running-
configuration or by using the show commands to display the parameters.
2. When configuring shapers for L2 schedulers or for network queues, the MBS
and CBS values must be higher than PIR/2000 and CIR/2000 (in Kbytes).
When configuring shapers for L1 schedulers or for network ports, the MBS and
CBS values must be higher than PIR/10000 and CIR/10000 (in Kbytes).
If these ratios are not observed, a warning message will appear.
Applying Shaping Profile
The
shaper-profile
command, in Network Queue Configuration mode, Scheduler Configuration
mode and Network Port Configuration modes, assigns shaping profile to the respective entity
(network queue, scheduler or network port). The
no
form of the command removes the specified
shaper profile.
Command Syntax
device-name
(config hqos-net-que-que
queue-id
)#
shaper-profile
<
shaping-profile-id
>
device-name
(config hqos-net-que-que
queue-id
)#
no shaper-profile
device-name
(config hqos-in-sched-policy-sched
SCHEDULER-NAME
)#
shaper-
profile
<
shaping-profile-id
>
device-name
(config hqos-in-sched-policy-sched
SCHEDULER-NAME
)#
no shaper-
profile
device-name
(config hqos-eg-sched-policy-sched
SCHEDULER-NAME
)#
shaper-
profile
<
shaping-profile-id
>
device-name
(config hqos-eg-sched-policy-sched
SCHEDULER-NAME
)#
no shaper-
profile
Argument Description
shaping-profile-id
Specifies the shaping profile ID.
Configuring WRED Profile
The
wred-profile
command, in HQoS Configuration mode, defines the WRED profiles. WRED
profile can only be applied to the queue level (both service and network). The default WRED
profiles are:
•
1 – for service ingress queues
•
33 – for service egress queues
•
57 – for network queues.
These default policies cannot be updated or deleted.
Te
no
form of this command removes the WRED profile.
In order to buffer a given amount of traffic before starting dropping packets, minimum threshold
must be no less than the amount of traffic in packets times the number of buffers each packet takes.