OmniSwitch 6850 vlanstacking BANDWIDTH regulation

telephonist

OmniSwitch 6850 vlanstacking BANDWIDTH regulation

Post by telephonist »

Hi!

I'm trying to configure BANDWIDTH for cvlan in 6850. I want limit bandwidth for vlan. How to do it?

Code: Select all

OS6850>> show ethernet-service sap-profile

   Profile Name      Ingr/Egr    Ingr Bw     Inner Tag   Priority   Priority  Depth
                        Bw       Sharing     Option      Mapping     Value
-------------------+-----------+-----------+-----------+----------+----------+------
default-sap-profile      0/0       Enable    Preserve    fixed         0         0
world                         500/0       NA        Preserve    NA         NA       250

OS6850>> ethernet-service sap-profile world BANDWIDTH NOT-ASSIGNED NOT-SHARED INGRESS-BANDWIDTH 500K DEPTH 250K

How to configure EGRESS-BANDWIDTH ???
telephonist

Re: OmniSwitch 6850 vlanstacking BANDWIDTH regulation

Post by telephonist »

Thanks for reply!

So it seems that it's not possible to limit EGRESS-BANDWIDTH in my 6850. May be there is another way to limit bandwidth in 6850?
one6f

Re: OmniSwitch 6850 vlanstacking BANDWIDTH regulation

Post by one6f »

Try with qos ("policy", "qos port" is on port only)
telephonist

Re: OmniSwitch 6850 vlanstacking BANDWIDTH regulation

Post by telephonist »

Hi!

I'm trying to use policy now. But not successfully.

Target shape vlan 2409 to 50 Mbps

Code: Select all

qos enable
policy condition cond_2_1 source vlan 2408 inner source vlan 2409
policy condition cond_2_2 source vlan 2409
policy action tcm2 CIR 50.0M CBS 4K PIR 55.0M PBS 60.0M counter-color green-nongreen
policy rule rule1 condition cond_2_1 action tcm2
policy rule rule2 condition cond_2_2 action tcm2
qos apply
Before enabling qos I'm having NO loss.

Code: Select all

]# ping -s 1500 -i 0.3 -c 20 -q 193.105.62.190
PING 193.105.62.190 (193.105.62.190) 1500(1528) bytes of data.

--- 193.105.62.190 ping statistics ---
20 packets transmitted, 20 received, 0% packet loss, time 5712ms
rtt min/avg/max/mdev = 1.343/1.403/1.489/0.049 ms
After enabling qos I'm having loss up to 40%

Code: Select all

# ping -s 1500 -i 0.3 -c 20 -q 193.105.62.190
PING 193.105.62.190 (193.105.62.190) 1500(1528) bytes of data.

--- 193.105.62.190 ping statistics ---
20 packets transmitted, 18 received, 10% packet loss, time 5722ms
rtt min/avg/max/mdev = 1.340/1.413/1.497/0.048 ms
cedric1

Re: OmniSwitch 6850 vlanstacking BANDWIDTH regulation

Post by cedric1 »

hello

Here a doc about explain of key words, i think you will find your answer .... for cvlan bw shaping

Cedric
You do not have the required permissions to view the files attached to this post.
telephonist

Re: OmniSwitch 6850 vlanstacking BANDWIDTH regulation

Post by telephonist »

Hi, Cedric!

Thanks for your reply but unfortunately we have 6850.
When I'm trying to do this:

Code: Select all

OS6850>> ethernet-service sap-profile video1 egress-bandwidth 1000
ERROR: ERL is not supported on this platform
How can I shape ingress/egress BW? Or may be it's not possible?
cedric1

Re: OmniSwitch 6850 vlanstacking BANDWIDTH regulation

Post by cedric1 »

ok

did you try maximum bw action in a qos rule ?

condition is destination your vlan and action max bw with maximum depth.

Test this.

Cedric
telephonist

Re: OmniSwitch 6850 vlanstacking BANDWIDTH regulation

Post by telephonist »

I've tried losses were there.

But what is the depth for? Could you please give example of such shaping? I'll try again!

Thanks!

For this config:

Code: Select all

policy condition cond_2_1 source vlan 2408 inner source vlan 2409
policy condition cond_2_2 source vlan 2409
policy action cedrik maximum bandwidth 20.0M maximum depth 16.4M
policy rule rule1 condition cond_2_1 action cedrik
policy rule rule2 condition cond_2_2 action cedrik
qos apply
We have this:

Code: Select all

#ping -s 1500 -i 0.3 -c 100 -q 193.105.62.190
PING 193.105.62.190 (193.105.62.190) 1500(1528) bytes of data.

--- 193.105.62.190 ping statistics ---
100 packets transmitted, 64 received, 36% packet loss, time 29926ms
rtt min/avg/max/mdev = 1.326/1.399/1.691/0.077 ms
And note max rtt time is not high!!! So switch is dropping packets! Not queuing them! Why?
Last edited by telephonist on 22 Jun 2011 09:35, edited 1 time in total.
one6f

Re: OmniSwitch 6850 vlanstacking BANDWIDTH regulation

Post by one6f »

Hi,
hope this link can help: Depth in AOS
You can also use search button in forum (top of the right side) for other examples.
Please read Network Configuration Guide for Bandwidth Shaping.



You can configure Traffic Shaping on the egress via "qos qort " and Traffic Policing on the ingress via QoS policies.
Here is an example of the Traffic Policing rate limiting the client on port 1/4 for upload with maximum bandwidth of 3M
policy condition c2 source port 1/4
policy action a2 maximum bandwidth 3.00M
policy rule r2 condition c2 action a2


Traffic shaping retains excess packets in a buffer and then schedules the excess for later transmission over time.
The result of the traffic shaping is a smoothed packet output.
In contrast, traffic policing propagates bursts.
When the traffic rate reaches the configured maximum bandwidth rate, excess traffic is dropped.
Maximum bandwidth policies do not work well with TCP application such as FTP for instance a max bandwidth of 3M will make FTP runs at 3M.
The reason is that TCP uses a window mechanism to adjust the number of data sent in a window when network is congested Bandwidth shaping drops data as soon as the rate exceed the maximum bandwidth.

Use maximum depth (in KBps) with maximum bandwidth to allow some buffering.
The depth you need to configured depends on the max bandwidth and the TCP stack being used;
so you will need to try different value to accommodate your needs
policy action a2 maximum bandwidth 3.00M maximum depth 2.00M
Post Reply

Return to “OmniSwitch 6850 / 6850E”