Ethernet Switching
Highlighted
Ethernet Switching

Strom Control does not work

‎06-17-2019 04:00 AM

Hi Juniper

I have 2 PC that testing iperf with 401Mbps and configure strom control on ex2300 but port is not shutdown.

Below is my configuration, Please help me, Why i generate bandwidth over threshold but it not working.  

 

//////EX2300 Configuration///

storm-control-profiles tes {
all {
bandwidth-level 100;
no-unknown-unicast;
}
action-shutdown;

 

ge-0/0/0 {
unit 0 {
family ethernet-switching {
interface-mode access;
vlan {
members test;
}
storm-control tes;
recovery-timeout 10;
}
}
}
}

 

 

root# run show interfaces ge-0/0/0 detail
Physical interface: ge-0/0/0, Enabled, Physical link is Up
Interface index: 650, SNMP ifIndex: 513, Generation: 141
Link-level type: Ethernet, MTU: 1514, LAN-PHY mode, Link-mode: Full-duplex,
Speed: Auto, BPDU Error: None, Loop Detect PDU Error: None,
Ethernet-Switching Error: None, MAC-REWRITE Error: None, Loopback: Disabled,
Source filtering: Disabled, Flow control: Disabled, Auto-negotiation: Enabled,
Remote fault: Online, Media type: Copper,
IEEE 802.3az Energy Efficient Ethernet: Disabled, Auto-MDIX: Enabled
Device flags : Present Running
Interface flags: SNMP-Traps Internal: 0x4000
Link flags : None
CoS queues : 8 supported, 8 maximum usable queues
Hold-times : Up 0 ms, Down 0 ms
Current address: b0:33:a6:84:4d:a7, Hardware address: b0:33:a6:84:4d:a7
Last flapped : 2000-01-01 08:18:35 ICT (00:59:10 ago)
Statistics last cleared: Never
Traffic statistics:
Input bytes : 151485361453 409776864 bps
Output bytes : 317409807 832 bps
Input packets: 1048591874 36465 pps
Output packets: 4956059 0 pps
IPv6 transit statistics:
Input bytes : 0
---(more)---

 

//////////////Iperf Config On my PC ////////

iperf3.exe -u -c 192.168.55.2 -b 400M -t 600 -i 5

iperf3.exe -s

/////////////////////////////////////////////

15 REPLIES 15
Highlighted
Ethernet Switching

Re: Strom Control does not work

‎06-17-2019 04:24 AM

What software version are you running on this ex switch ?

Also are you sending the BUM traffic from the iperf ?

Highlighted
Ethernet Switching

Re: Strom Control does not work

‎06-17-2019 04:29 AM
Hi,

no-unknown-unicast option in the storm control profile means the Storm control is disabled for Unknown Unicast traffic.

Is the EX2300 aware of the destination MAC address of the IP 192.168.55.2. Based on the configuration, if the EX device has no entry for the MAC address of this IP, Storm control is not triggered. Please share the "ethernet-switching" and Arp table output.

Thanks,
Pradeep
Please Mark My Solution Accepted if it Helped, Kudos are Appreciated too!!!

Juniper Internal
Highlighted
Ethernet Switching

Re: Strom Control does not work

‎06-17-2019 04:34 AM

What software version are you running on this ex switch ?

Junos: 18.4R1.8

Also are you sending the BUM traffic from the iperf ?

Yes

Highlighted
Ethernet Switching

Re: Strom Control does not work

‎06-17-2019 04:46 AM

Hi pradkm

Below as your request

 

root> show ethernet-switching table

MAC flags (S - static MAC, D - dynamic MAC, L - locally learned, P - Persistent static, C - Control MAC
SE - statistics enabled, NM - non configured MAC, R - remote PE MAC, O - ovsdb MAC)


Ethernet switching table : 2 entries, 2 learned
Routing instance : default-switch
Vlan MAC MAC Age Logical NH RTR
name address flags interface Index ID
test 54:e1:ad:3b:ef:e8 D - ge-0/0/0.0 0 0
test c8:5b:76:c1:d3:f5 D - ge-0/0/2.0 0 0

 

Highlighted
Ethernet Switching

Re: Strom Control does not work

‎06-17-2019 04:52 AM
Hi,

Please remove the knob "no-unknown-unicast" and check. That knob might be disabling the storm control as it is BUM traffic.

Thanks,
Pradeep
Please Mark My Solution Accepted if it Helped, Kudos are Appreciated too!!!



Juniper Internal
Highlighted
Ethernet Switching

Re: Strom Control does not work

‎06-17-2019 04:53 AM

 

Sorry I  forget Arp Table 

 

C:\Users\Priyavit>arp -a

Interface: 192.168.55.1 --- 0xc
Internet Address Physical Address Type
192.168.55.2 c8-5b-76-c1-d3-f5 dynamic
192.168.55.3 ff-ff-ff-ff-ff-ff static
224.0.0.22 01-00-5e-00-00-16 static
224.0.0.251 01-00-5e-00-00-fb static
224.0.0.252 01-00-5e-00-00-fc static
239.255.255.250 01-00-5e-7f-ff-fa static

 

 

C:\Users\wpaiboon>arp -a

Interface: 192.168.55.2 --- 0xf

  Internet Address      Physical Address      Type

  192.168.55.1          54-e1-ad-3b-ef-e8     dynamic

  192.168.55.3          ff-ff-ff-ff-ff-ff     static

  224.0.0.22            01-00-5e-00-00-16     static

  224.0.0.251           01-00-5e-00-00-fb     static

  224.0.0.252           01-00-5e-00-00-fc     static

  239.255.255.250       01-00-5e-7f-ff-fa     static

Highlighted
Ethernet Switching

Re: Strom Control does not work

‎06-17-2019 05:08 AM

Hi pradkm

   I remove "no-unknown-unicast" but port still up.

storm-control-profiles tes {
all {
bandwidth-level 100;
}
action-shutdown;
}

 

Highlighted
Ethernet Switching

Re: Strom Control does not work

‎06-17-2019 06:09 AM

Good day,

 

For checking storm-control feature you need to play with multicast or disable mac-learning (https://www.juniper.net/documentation/en_US/junos/topics/topic-map/mac-learning.html#id-disabling-ma...)

 

The most effective way is make a physical loop between two ports =)

DOn't try it on production network.

Highlighted
Ethernet Switching

Re: Strom Control does not work

‎06-17-2019 08:02 AM

@priyavit - Please set the bandwidth knob to 50 instead of 100, and then report results of your test.  I highly suspect the interface will now shutdown.  You can then continue testing increasing this value.  I very much doubt that 100 (100%) actually ever gets actually reached.  Plus no one (in the right mind) would use such a setting in real life.

 

HTH and Good Luck

 

BTW, I HIGHLY suspect Storm Control does work -Smiley Happy

Highlighted
Ethernet Switching

Re: Strom Control does not work

‎06-17-2019 09:03 AM

Sorry, but how is this generating broadcast or multicast traffic? This just sends a unicast stream. That is normal traffic.

 

//////////////Iperf Config On my PC ////////
iperf3.exe -u -c 192.168.55.2 -b 400M -t 600 -i 5
Highlighted
Ethernet Switching

Re: Strom Control does not work

[ Edited ]
‎06-17-2019 09:04 AM

@rccpgm wrote:

@priyavit - Please set the bandwidth knob to 50 instead of 100, and then report results of your test.  I highly suspect the interface will now shutdown.  You can then continue testing increasing this value.  I very much doubt that 100 (100%) actually ever gets actually reached.  Plus no one (in the right mind) would use such a setting in real life.

 

HTH and Good Luck

 

BTW, I HIGHLY suspect Storm Control does work -Smiley Happy


 

bandwidth-level 100 = 100Kbs

bandwidth-percentage 100 = 100%

 

Highlighted
Ethernet Switching

Re: Strom Control does not work

‎06-17-2019 09:25 AM

My bad.  Quess I should have checked if default was percentage or throughput.  I thought percentage.  Thanks for correction.


@smicker wrote:

 

bandwidth-level 100 = 100Kbs

bandwidth-percentage 100 = 100%

 


 

Highlighted
Ethernet Switching

Re: Strom Control does not work

‎06-19-2019 01:23 AM

Storm-Control profile is activated when you send unknown unicast or broadcast or unknown multicast traffic.

With your configuration, you are eliminating the possibilities of kicking storm-control by using the knob called no-unknown-unicast.

If you want to test the storm-control feature you can simply remove this knob and test the feature. Assuming you know how to send unknonw unicast traffic.

 

Else you have to create some high broadcast traffic or unknown multicast traffic (without any known multicast udp or tcp port numbers). Then when the storm-control kicks in you must see logs in message file and the port going down.

 

/////EX2300 Configuration///

storm-control-profiles tes {
all {
bandwidth-level 100;
no-unknown-unicast; <<<<
}
action-shutdown;

Highlighted
Ethernet Switching

Re: Strom Control does not work

[ Edited ]
‎06-19-2019 01:34 AM

Thanks Pavel for correcting me in this matter, and highlighting the difference between bandwidth-level and bandwidth-percent and how that is calculated.

 

https://www.juniper.net/documentation/en_US/junos/topics/reference/configuration-statement/bandwidth...

 

https://www.juniper.net/documentation/en_US/junos/topics/reference/configuration-statement/bandwidth...

Highlighted
Ethernet Switching

Re: Strom Control does not work

‎06-24-2019 06:39 AM

Good Day Priyavit,

 

According to my information, iperf does not support broadcast.

Please use another tool/method to generate broadcast to see the strom control in action.