306 Brocade Mobility RFS4000, RFS6000 and RFS7000 CLI Reference Guide
53-1001931-01
Global Configuration commands
5
Parameters
Example
RFSController(config)#traffic-shape class 1 max- buffers 1000 1000 1000 1000
500 500 500 500 red-level 750 750 750 750 375 375 375 375
RFSController(config)#traffic-shape class 1 max- latency 1000 1000 1000 1000
1000 1000 1000 1000 msec
RFSController(config)#traffice-shape class 1 rate 100000 Kbps
RFSController(config)#traffic-shape priori ty-map 1 2 0 7 5 3 6 4
RFSController(config)#show traffic-shape config
Traffic shaping class 1
Rate: 10 Mbps
Prio-| max | RED | max
rity | pkts | pkts pcnt | latency
0 | 1000 | 750 75% | -
1 | 1000 | 750 75% | -
2 | 1000 | 750 75% | -
3 | 1000 | 750 75% | -
4 | 500 | 375 75% | -
5 | 500 | 375 75% | -
6 | 500 | 375 75% | -
7 | 500 | 375 75% | -
Traffic shaping class 2
Not configured
Traffic shaping class 3
Not configured
Traffic shaping class 4
Not configured
RFController(config)#show traffic-shape priori ty-map
802.1p | Shaping priority
0 | 1
1 | 2
2 | 0
3 | 7
4 | 5
class <class-identifier>
max-buffers ... red-level ...
class <class-identifier>
max-buffers ... red-percent
...
class <class-identifier>
max-latency ... [msec|usec]
class <class-identifier> rate
{[Kbps|Mbps|bps]}
Traffic shaping packet class. Select an identifier between
1-4. Traffic shaping also uses queues numbered 0-7.
max-buffers – Maximum traffic-shape queue length in
packets
<1-2000> – Maximum length of lowest or all priority
queues
red-level – Performs RED (random early drop) when the
queue length is reached
red-percent – Performs RED (random early drop) at a
percentage of max-buffers
max-latency – Maximum packet delay in queue
<1-1000000> – Maximum latency of lowest or all
priority queues
[msec|usec] – Sets the time measure
rate <1-250000000> – Traffic rate (250 Kbps-250 Mbps)
Kbps – Units of kilobits/sec
Mbps – Units of megabits/sec
bps – Units of bits/sec
priority-map <0-7> <0-7> ... Sets 802.1p to priority queue maps for all the traffic shape
queues.