Options – Znyx Networks bh5700 User Manual

Page 283

Advertising
background image

Each cos queue is limited in the number of packets it can hold waiting scheduling; the memory
used by each queue is managed to provide a guaranteed space with additional space shared
among all queues for a port.

OPTIONS

Most options are optionally followed by a <port list>, which may include zre port ranges, like
zre0..5, individual ports, such as zre51, or cpu, to indicate the queues and scheduling for
packets to be transferred to the CPU. The priority and queue mapping options do not apply to the
CPU, these settings are provided by the host.

General Options

-h <hostname>

Specifies the hostname of the OpenArchitect switch to be configured. Ignore this option if
you are configuring on the OpenArchitect switch on which the zcos command is being run.

-d <level>

Sets the debug level. The default is 1. The maximum is 4.

Priority and Queue Mapping

-u <default priority> [<port-list>]

Packets which arrive without a tag have no 802.1p priority. This option assigns a default
priority for untagged packets arriving on each port in the <port-list>. The default priority
ranges from 0 (lowest) to 7 (highest).

-m q0,..,q7 [<port-list>]

Specifies the priority to COS queue map. The first parameter maps priority 0 to queue q0,
second maps priority 1 to queue q1, etc. (the queues are numbered 0 to 7). The <port-list>
identifies which ingress ports will use this map. If no <port-list> is given, the same map will
be used for packets arriving on any of the input ports.

Queue Limits

(These limits should only be changed when the ports are idle)

-b <Reserved space in bytes for each queue> [<port-list>]

Specifies the dedicated memory for each cos queue of the ports listed.

-n <queue length list in packets> [<port list>]

Sets the number of packets allowed on each cos queue of the ports listed. The total number of
packets for all 8 cos queues is limited to 2048.

-s <limit on dynamic pool usage, in bytes>, <reset %> [<port

list>]

Sets the limit on dynamic memory pool usage by all cos queues for each port listed.

Ethernet Switch Blade User's Guide

release 3.2.2j

page 283

Advertising