Broadcom ONU configuration

495 views
Skip to first unread message

Shad Ansari

unread,
Sep 18, 2017, 5:17:32 PM9/18/17
to VOLTHA Discuss, Steve Crooks, Raghu S Shetty
Hi all,

I have a Broadcom ONU (SFU/bridged-mode/5.02L.03) getting activated (in Operation O5 state) with the Edgecore OLT. I expect the ONU needs to be configured in some way to initiate EAPOL. However it isn't very obvious how to do this from the config commands available. Appreciate if people who have prior experience with the Broadcom ONU can help with the configuration steps/commands for a Broadcom ONU to work with our adapter.

Regards,
-shad

 > wan show

VCC     Service         Interface       Proto.  IGMP    Src?    MLD     Src?   Status           IP Name            Name                                                   address

N/A     br_epon0        epon0.1         Bridged Disable Enable  Disable Enable Unconfigured



Raghu Kunchum

unread,
Sep 18, 2017, 6:11:24 PM9/18/17
to Shad Ansari, VOLTHA Discuss, Steve Crooks, Raghu S Shetty
Hi Shad,

ONU will not generate EAPOL message by itself. You have to connect one of the UNI port of ONU to RG(In our case, we are connecting RG to 2nd uni port of ONU) which in-turn generated EAPOL messages.

Before testing EAPOL message, execute below command on ONU and make sure the device is in SFU mode.
                "pspctl dump IpClassMethod" -> Expected out put is None. if not set it None by using "pspctl set IpClassMethod NONE".

I have submitted code changes(https://gerrit.opencord.org/#/c/5896/) to handle EAPOL, DHCP and DATA. Take this patch, bring up the voltha and then execute XPON commands(Shared earlier) to bring up the devices(OLT and ONU). As soon as OLT is up, ONOS will push flows to handle EAPOL messages to VOLTHA and VOLTHA(adapter) in-turn will configure devices to handle EAPOL from RG. By now you should see EAPOL messages from RG reaching VOLTHA.


Thanks and Regards
Raghu. S



--
You received this message because you are subscribed to the Google Groups "VOLTHA Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to voltha-discuss+unsubscribe@opencord.org.
To post to this group, send email to voltha-...@opencord.org.
Visit this group at https://groups.google.com/a/opencord.org/group/voltha-discuss/.
To view this discussion on the web visit https://groups.google.com/a/opencord.org/d/msgid/voltha-discuss/CAMKQ2N072%2BXtzTCCT%2B_6bMaRwtkjB69giYzdoisJ1m9fA5Wq0Q%40mail.gmail.com.
For more options, visit https://groups.google.com/a/opencord.org/d/optout.

Shad Ansari

unread,
Sep 18, 2017, 6:29:25 PM9/18/17
to Raghu Kunchum, VOLTHA Discuss, Steve Crooks, Raghu S Shetty
Thanks Raghu. I will try with your latest changes with a RG or radius client connected to ONU.

Shad Ansari

unread,
Sep 21, 2017, 7:56:51 PM9/21/17
to Raghu Kunchum, VOLTHA Discuss, Raghu S Shetty
Hi Raghu,

How do I check if the device is in SFU mode?

I have the latest code changes (on adapter and driver) and a wpa_supplicant client connected to eth1 of the ONU.
The config commands go thru fine - the ONU is in O5 operation state.
However, I do not see EAPOL pkts reaching OLT.
tcpdump on the ONU shows eapol pkts on eth1.0 (which is bridged to br0).
Is there any other config on the ONU (other that the pspctl set IpClassMethod)?

Regards,
-shad

Raghu Kunchum

unread,
Sep 21, 2017, 8:09:45 PM9/21/17
to Shad Ansari, VOLTHA Discuss, Raghu S Shetty
HI Shad,

While we were having same problem, broadcom asked us to execute below command to check is ONU in SFU mode or not
"pspctl dump IpClassMethod" -> Expected out put is None. if not set it None by using "pspctl set IpClassMethod NONE".

Raghu Kunchum

unread,
Sep 21, 2017, 8:14:20 PM9/21/17
to Shad Ansari, VOLTHA Discuss, Raghu S Shetty
I Shad,

While we were having same problem, broadcom asked us to execute below command to check is ONU in SFU mode or not
"pspctl dump IpClassMethod" -> Expected out put is None. if not set it None by using "pspctl set IpClassMethod NONE".

If above command doesn't work for you, then you might have to contact broadcom.

Thanks and Regards
Raghu. S

Kim Kempf

unread,
Sep 21, 2017, 8:16:29 PM9/21/17
to Raghu Kunchum, Shad Ansari, VOLTHA Discuss, Raghu S Shetty

You should already have the non-GW ONU image installed.   Also verify the SW version:

>swversion

5.02L.03

>sh

(Persistant across reboot)

# pspctl dump IpClassMethod

NONE -> Expected result.

If it is not NONE, run the following command and reboot.

# pspctl set IpClassMethod NONE

# pspctl dump IpClassMethod



Shad Ansari

unread,
Sep 22, 2017, 4:42:32 PM9/22/17
to Kim Kempf, Raghu Kunchum, VOLTHA Discuss, Raghu S Shetty
Hi Raghu, Kim

Thanks for your help. I checked all the things you pointed out. I think I may have run out of options to try. Will raise a CSP to get help from Broadcom.

One last thing - do I need to configure/activate the WAN link on the ONU. It suspiciously shows as "unconfigured":

 > wan show

VCC     Service         Interface       Proto.  IGMP    Src?    MLD     Src?    Status             IP

             Name            Name                                                      address

N/A     br_veip0        veip0.1         Bridged Disable Disable Disable Disable Unconfigured



Shad Ansari

unread,
Sep 22, 2017, 5:33:04 PM9/22/17
to Kim Kempf, Raghu Kunchum, VOLTHA Discuss, Raghu S Shetty
Raghu/Kim:

Did you have to create a gpon interface manually and associate it with a gem port? I see there is a gponif commad (in the shell level).

gponif-c gpon0

gponif-a gpon0 -g <gem port id>

# gponif --help

Usage: gponif {-c|--create} [if_name]

       gponif {-d|--delete} <if_name>

       gponif {-d|--delete} all

       gponif {-s|--show} <if_name>

       gponif {-s|--show} all 

       gponif {-n|--name} <gem_id>

       gponif {-m|--mcast} <gem_id>

       gponif {-a|--addgem} <if_name> -g{--gemport} <id1> [id2] ...

       gponif {-r|--remgem} <if_name> -g{--gemport} <id1> [id2] ...

       gponif {-h|--help} 

       To create the GPON virtual interface gponXX 

       #gponif -c 

Kim Kempf

unread,
Sep 22, 2017, 5:48:53 PM9/22/17
to Shad Ansari, Raghu Kunchum, VOLTHA Discuss, Raghu S Shetty
Hi Shad,

The ONU tcont/gem ports are all set up via OMCI from the broadcom_onu adapter.  The only manual operation we have to do in the ONU is to set the multicast group forward mask (echo 8 > /sys/class/net/bronu513/bridge/group_fwd_mask) after the bridge instance is created.  Not sure why this is necessary but it allows the EAPOL multicast to get across the bridge.

Be sure you have the asfvolt16 adapter and driver changes from here:

adapter - https://gerrit.opencord.org/#/c/5896/  <-- including broadcom_onu adapter changes under review.

I will check if Raghu can respond later today.

--kim

Shad Ansari

unread,
Sep 22, 2017, 6:02:34 PM9/22/17
to Kim Kempf, Raghu Kunchum, VOLTHA Discuss, Raghu S Shetty
Thanks Kim - will try with the multicast forward mask thing.

Couple other things if you can check and let me know when you get a chance:

1) What is the RdpaWanType on your ONU:

 > pspctl dump RdpaWanType

should this be XGS or XGPON1 or XGPON2 or ... ?

2) What is the WanRate?

 > pspctl dump WanRate    

should this be 1025 or 1010 or ...?



Jason Huang

unread,
Sep 23, 2017, 1:44:11 AM9/23/17
to VOLTHA Discuss, kimk...@gmail.com, kunchu...@gmail.com, Raghu....@radisys.com
Hi Shad,

Broadcom ONU should be configured like that settings.

# pspctl dump WanRate
1010
# pspctl dump RdpWanType
XGS
# pspctl dump IpClassMethod
none

Jason

Shad Ansari於 2017年9月23日星期六 UTC+8上午# pspctl dump WanRate
1010
# pspctl dump RdpWanType
XGS
# pspctl dump IpClassMethod
none6時02分34秒寫道:
To unsubscribe from this group and stop receiving emails from it, send an email to voltha-discus...@opencord.org.

--
You received this message because you are subscribed to the Google Groups "VOLTHA Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to voltha-discus...@opencord.org.

--
You received this message because you are subscribed to the Google Groups "VOLTHA Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to voltha-discus...@opencord.org.

To post to this group, send email to voltha-...@opencord.org.
Visit this group at https://groups.google.com/a/opencord.org/group/voltha-discuss/.

--
You received this message because you are subscribed to the Google Groups "VOLTHA Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to voltha-discus...@opencord.org.

To post to this group, send email to voltha-...@opencord.org.
Visit this group at https://groups.google.com/a/opencord.org/group/voltha-discuss/.
Reply all
Reply to author
Forward
0 new messages