15 service-policy, 16 wrr-queue bandwidth – Accton Technology ES4626 User Manual
Page 267

267
Function:
Configure the queue out mode.
Parameter:
strict configure queue out method to strict priority-queue method; wrr
restores the default wrr queue out method.
Default:
wrr out queue mode
Command mode:
Interface Mode
Usage Guide:
When priority-queue queue out mode is used, packets are no longer sent
with WRR weighted algorithm, but send packets queue after queue.
Example:
Set the queue out mode to strict priority-queue.
Switch(Config-Ethernet )# queue mode strict.
8.1.3.15 service-policy
Command: service-policy {input <policy-map-name> | output <policy-map-name>}
no service-policy {input <policy-map-name>
| output
<policy-map-name>}
Function:
Applies a policy map to the specified port; the “no service-policy {input
<policy-map-name> | output <policy-map-name>}
” command deletes the specified
policy map applied to the port.
Parameters:
input <policy-map-name> applies the specified policy map to the ingress
of switch port; output <policy-map-name> applies the specified policy map to the
egress of switch port.
Default:
No policy map is bound to ports by default.
Command mode:
Interface Mode
Usage Guide:
Configuring port trust status and applying policy map on the port are two
conflicting operations; the later configuration will override the earlier configuration. Only
one policy map can be applied to each direction of each port. Egress policy map is not
supported yet.
Example:
Bind policy p1 to ingress Ethernet port 1/1.
Switch(Config)#interface ethernet 1/1
Switch(Config-Ethernet1/1)# service-policy input p1
8.1.3.16 wrr-queue bandwidth
Command:queue bandwidth
weight7 weight8>
no queue bandwidth
Function:
Sets the WRR weight for specified egress queue; the “no queue bandwidth”
command restores the default setting.
Parameters:
are WRR weights, ranging from 0 to 15.