ONL Configuration

475 views
Skip to first unread message

Praveen Kumsagi

unread,
Mar 7, 2016, 5:39:46 PM3/7/16
to opennetworklinux

Hello ONL team,

 

I just installed ONL on Edge-Core white box switch and now I want to configure some VLANS and layer 2 stuff. I was wondering whether ONL supports these layer 2 activities on its own on bare metal switch?? If so where can I find document's that will help configure VLANS and layer2 configs?

 

Or ONL is just meant for SDN solution??

 

Thanks in advance!!

 

Best Regards,

Praveen

Praveen Kumsagi

unread,
Mar 8, 2016, 1:42:43 PM3/8/16
to opennetworklinux
Hi Team,

It would be great if anyone can help me activate ONL switchports?? Currently when I do ip link show I don't see any switch ports??

Thanks in advance!!

Best Regards
Praveen

Steven Noble

unread,
Mar 8, 2016, 1:45:12 PM3/8/16
to Praveen Kumsagi, opennetworklinux
Hi Praveen,

Which Edge-Core box are you using?

March 8, 2016 at 10:42 AM
Hi Team,

It would be great if anyone can help me activate ONL switchports?? Currently when I do ip link show I don't see any switch ports??

Thanks in advance!!

Best Regards
Praveen

On Monday, March 7, 2016 at 2:39:46 PM UTC-8, Praveen Kumsagi wrote:
--
You received this message because you are subscribed to the Google Groups "opennetworklinux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to opennetworklin...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
March 7, 2016 at 2:39 PM

Hello ONL team,

 

I just installed ONL on Edge-Core white box switch and now I want to configure some VLANS and layer 2 stuff. I was wondering whether ONL supports these layer 2 activities on its own on bare metal switch?? If so where can I find document's that will help configure VLANS and layer2 configs?

 

Or ONL is just meant for SDN solution??

 

Thanks in advance!!

 

Best Regards,

Praveen

--
You received this message because you are subscribed to the Google Groups "opennetworklinux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to opennetworklin...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Praveen Kumsagi

unread,
Mar 8, 2016, 2:08:06 PM3/8/16
to opennetworklinux, k.prav...@gmail.com
Hi Steve,

Thanks for the reply!! I am using AS5712-54X   10G switch..


Best Regards,
Praveen

Steven Noble

unread,
Mar 8, 2016, 2:24:02 PM3/8/16
to Praveen Kumsagi, opennetworklinux
Hi Praveen,

If you are running the older ONL (prompt shows onl-x86) then do the following:

1.) check that orc is not installed by running the command orc.
2.) apt-get update
3.) apt-get install orc
4.) orc

If you are running the latest ONL (shows up as ONL 2.0 / root@localhost prompt) then here are the steps to run ORC on the box:

1.) apt-get update
2.) apt-get install orc
3.) vi /usr/sbin/brcm-modules-init.sh
4.) paste the contents of the attached file into the brcm-modules-init.sh
5.) chmod 755 /usr/sbin/brcm-modules-init.sh
6.) orc

Both will give you interfaces (ifconfig -a) called orcXX that you can configure as you choose.



March 8, 2016 at 11:08 AM
Hi Steve,

Thanks for the reply!! I am using AS5712-54X   10G switch..


Best Regards,
Praveen

On Tuesday, March 8, 2016 at 10:45:12 AM UTC-8, Steven Noble wrote:
--
You received this message because you are subscribed to the Google Groups "opennetworklinux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to opennetworklin...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
March 8, 2016 at 10:45 AM
brcm-modules-init.sh

Praveen Kumsagi

unread,
Mar 8, 2016, 2:50:58 PM3/8/16
to opennetworklinux, k.prav...@gmail.com
Hi Steve,

Looks like mine is older version

I ran orc and I am getting following error

root@onl-x86:/# orc
LOG:        load_driver.c:121 :: Found driver at: /usr/share/orc/drivers/orc_brc                                                                                        m.so
orc> 01-02 01:32:48.185590 [brcm] SDK 6.3.3
01-02 01:32:48.185691 [brcm] PLATFORM: Accton AS5712-54X (x86-64-accton-as5712-5                                                                                        4x-r0)
sal_config_refresh: cannot read file: config.bcm, variables not loaded
No DMA pool adjustments.
DMA pool size: 16777216
SOC unit 0 attached to PCI device BCM56854_A2
TS_PLL 4 not locked on unit 0 status = 0x00000102
BS_PLL 4 not locked on unit 0 status = 0x00000102
01-02 01:32:56.112879 [brcm] Disabling all ports on startup
01-02 01:32:56.405512 [brcm] unit 0 rate limit is 500 pps.
01-02 01:32:56.417066 [brcm] Preemphasis programming is disabled.
Broadcom Command Monitor: Copyright (c) 1998-2010 Broadcom Corporation
Release: sdk-6.3.3 built 20151105 (Thu Nov  5 10:28:50 2015)
From bsn@sbs2:/build/switchlight/submodules/sdk-6.3.3
Platform: switchlight.amd64.release
OS: Unix (Posix)
01-02 01:32:59.870281 [brcm] The platform poll event rate is 25000 microseconds.
01-02 01:32:59.878876 [brcm] RXQs Initialized.
LOG:        orcbrcm_drv.c:385 :: BRCM_DRV: starting packet RX
LOG:           fwd_loop.c:94  :: Entering forwarding loop.
ERR:        netlink_mon.c:671 :: Failed to find port_t structure from this route                                                                                        's if_index=2
ERR:        netlink_mon.c:671 :: Failed to find port_t structure from this route                                                                                        's if_index=2
ERR:        netlink_mon.c:671 :: Failed to find port_t structure from this route                                                                                        's if_index=2
ERR:        netlink_mon.c:671 :: Failed to find port_t structure from this route                                                                                        's if_index=2
ERR:        netlink_mon.c:671 :: Failed to find port_t structure from this route                                                                                        's if_index=2
ERR:        netlink_mon.c:671 :: Failed to find port_t structure from this route                                                                                        's if_index=2
ERR:        netlink_mon.c:671 :: Failed to find port_t structure from this route                                                                                        's if_index=2
ERR:        netlink_mon.c:671 :: Failed to find port_t structure from this route's if_index=2
ERR:        netlink_mon.c:671 :: Failed to find port_t structure from this route's if_index=2
ERR:        netlink_mon.c:671 :: Failed to find port_t structure from this route's if_index=2

Steven Noble

unread,
Mar 8, 2016, 2:53:05 PM3/8/16
to Praveen Kumsagi, opennetworklinux
Hi Praveen,

The error you are seeing is a bug per-se and should not affect the systems ability to forward packets.  Do you have the orcXX interfaces?

March 8, 2016 at 11:50 AM
March 8, 2016 at 11:23 AM

Praveen Kumsagi

unread,
Mar 8, 2016, 3:29:11 PM3/8/16
to opennetworklinux, k.prav...@gmail.com
Hi Steve,

When I see ip link show, I dont see any orcxx interfaces..

Do I have yo metion in interface file like

auto orc1
iface orc1 for it to show up

root@onl-x86:/# ip link show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN mode DEFAULT
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: ma1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT qlen 1000
    link/ether cc:37:ab:7c:b7:02 brd ff:ff:ff:ff:ff:ff
3: sit0: <NOARP> mtu 1480 qdisc noop state DOWN mode DEFAULT
    link/sit 0.0.0.0 brd 0.0.0.0
4: ip6tnl0: <NOARP> mtu 1452 qdisc noop state DOWN mode DEFAULT
    link/tunnel6 :: brd ::






On Tuesday, March 8, 2016 at 11:53:05 AM UTC-8, Steven Noble wrote:
Hi Praveen,

The error you are seeing is a bug per-se and should not affect the systems ability to forward packets.  Do you have the orcXX interfaces?

March 8, 2016 at 11:50 AM
Hi Steve,

Looks like mine is older version

I ran orc and I am getting following error

root@onl-x86:/# orc
LOG:        load_driver.c:121 :: Found driver at: /usr/share/orc/drivers/orc_brc                                                                                        m.so
orc> 01-02 01:32:48.185590 [brcm] SDK 6.3.3
01-02 01:32:48.185691 [brcm] PLATFORM: Accton AS5712-54X (x86-64-accton-as5712-5                                                                                        4x-r0)
sal_config_refresh: cannot read file: config.bcm, variables not loaded
No DMA pool adjustments.
DMA pool size: 16777216
SOC unit 0 attached to PCI device BCM56854_A2
TS_PLL 4 not locked on unit 0 status = 0x00000102
BS_PLL 4 not locked on unit 0 status = 0x00000102
01-02 01:32:56.112879 [brcm] Disabling all ports on startup
01-02 01:32:56.405512 [brcm] unit 0 rate limit is 500 pps.
01-02 01:32:56.417066 [brcm] Preemphasis programming is disabled.
Broadcom Command Monitor: Copyright (c) 1998-2010 Broadcom Corporation
Release: sdk-6.3.3 built 20151105 (Thu Nov  5 10:28:50 2015)

Praveen Kumsagi

unread,
Mar 8, 2016, 5:39:13 PM3/8/16
to opennetworklinux, k.prav...@gmail.com
Hi Steve,

Also, once all the switch front panel ports become active can I configure bridges and Vlans..

My Plan is to deploy OpenStack Environment using ONL based switches and it would be great if we can get that..

Thanks,
Praveen

苏格拉底

unread,
Jun 14, 2016, 4:11:31 AM6/14/16
to opennetworklinux
I did as you said, but get the error messages as below. I use the lastest ONL version, can you tell me what can i do ?

orc
LOG:        load_driver.c:121 :: Found driver at: /usr/share/orc/drivers/orc_brcm.so
orc> linux_kernel_bde: module license 'Proprietary' taints kernel.
Disabling lock debugging due to kernel taint
linux-kernel-bde (2441): Payload size of 256 bytes may not be supported by all PCIe bridges by default.
linux-kernel-bde (2441): ** DMA(kernel): vbase=ffff880076000000 pbase=0x76000000 size=16777216 **
01-01 00:36:45.866282 Platform discovery failed.
Platform discovery failed.
Aborted


在 2016年3月8日星期二 UTC+8上午6:39:46,Praveen Kumsagi写道:

Steven Noble

unread,
Jun 14, 2016, 4:47:07 PM6/14/16
to 苏格拉底, opennetworklinux
Hi,

I am trying to recreate the issue but I run into a different one:

usr/share/orc/drivers/orc_brcm.so: undefined symbol: sff_info_init

Can you send me :

grep VERSION_STRING /etc/onl/rootfs/manifest.json

and

ls -l /usr/share/orc/drivers/orc_brcm.so

and

ls -l /usr/sbin/orc

The issue right now is that we have gone to a newer version of the SDK and the work has not been done to update ORC x86 to work with it since we are looking at using FBOSS + Netlink as the forwarding agent.

June 14, 2016 at 1:11 AM
I did as you said, but get the error messages as below. I use the lastest ONL version, can you tell me what can i do ?

orc
LOG:        load_driver.c:121 :: Found driver at: /usr/share/orc/drivers/orc_brcm.so
orc> linux_kernel_bde: module license 'Proprietary' taints kernel.
Disabling lock debugging due to kernel taint
linux-kernel-bde (2441): Payload size of 256 bytes may not be supported by all PCIe bridges by default.
linux-kernel-bde (2441): ** DMA(kernel): vbase=ffff880076000000 pbase=0x76000000 size=16777216 **
01-01 00:36:45.866282 Platform discovery failed.
Platform discovery failed.
Aborted


在 2016年3月8日星期二 UTC+8上午6:39:46,Praveen Kumsagi写道:
--
You received this message because you are subscribed to the Google Groups "opennetworklinux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to opennetworklin...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
March 7, 2016 at 2:39 PM

Hello ONL team,

 

I just installed ONL on Edge-Core white box switch and now I want to configure some VLANS and layer 2 stuff. I was wondering whether ONL supports these layer 2 activities on its own on bare metal switch?? If so where can I find document's that will help configure VLANS and layer2 configs?

 

Or ONL is just meant for SDN solution??

 

Thanks in advance!!

 

Best Regards,

Praveen

--

Kevin Chung

unread,
Jun 15, 2016, 5:31:18 PM6/15/16
to opennetworklinux, sugela...@gmail.com
Steven,

I got the exact same error as Praveen.  Here is what I got on my AS5712 from your commands:

root@localhost:~# grep VERSION_STRING /etc/onl/rootfs/manifest.json
    "VERSION_STRING": "Open Network Linux OS ONL-2.0.0, 2016-05-10.20:20-c7c30e8",

root@localhost:~# ls -l /usr/share/orc/drivers/orc_brcm.so
-rw-r--r-- 1 root root 52060040 Oct 14  2015 /usr/share/orc/drivers/orc_brcm.so

root@localhost:~# ls -l /usr/sbin/orc
-rwxr-xr-x 1 root root 140592 Sep 27  2015 /usr/sbin/orc

Praveen Kumsagi

unread,
Jun 15, 2016, 6:25:10 PM6/15/16
to Kevin Chung, opennetworklinux, sugela...@gmail.com
Hello Kevin/Steve,

Just to verify I ran "orc" looks like my box is fine.. I am not sure what I did it to get it working..

Here is the screen shot Inline image 1

I don't have any links connected to my swicth.. That's we we see that error..

Thanks,
Praveen

--
You received this message because you are subscribed to a topic in the Google Groups "opennetworklinux" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/opennetworklinux/__PPYQUZOLo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to opennetworklin...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages