Cumulus Linux Initial Configuration When Using Mellanox NEO

Version 6

    Starting from Mellanox NEO v1.8, Cumulus Linux OS v3.2.1 (or later) is supported for Spectrum switches. When Mellanox NEO is deployed in the network, you should run the following configurations on the Cumulus Linux OS to be able to work with Mellanox NEO.

     

    1. Configure a no sudo password for Cumulus Linux, open the file:

    # sudo visudo -f /etc/sudoers.d/sudoneo

    Add/edit the file with the following:

    cumulus ALL=(ALL) NOPASSWD:ALL

    Note: You can use ^x to exit.

     

    2. Configure SNMP community, edit /etc/snmp/snmpd.conf.

    For allowing SNMP read-only access using public as the community string, un-comment the following line:

    rocommunity public default

    Note: Instead of public, you can change the community string to something else. Make sure to update NEO with the new string.

    Additionally, to allow SNMP connections from remote, you should edit the following lines:

    # agentAddress  udp:127.0.0.1:161

    agentAddress udp:161,udp6:[::1]:161

     

    3. Enable SNMP:

    sudo systemctl start snmpd.service
    sudo systemctl enable snmpd.service

    You can ensure SNMP is active by using this command:

    sudo systemctl status snmpd.service

     

    4. Configure LLDP to support agent x for Cumulus version 3.2.1.

    Edit /etc/default/lldpd, un-comment the line:

    #DAEMON_OPT_ARGS="-x"

    Edit /etc/lldpd.d/README.conf, add the following lines:

    configure system ip management pattern < Management IP>
    configure system interface pattern-blacklist eth0

     

    5. Restart LLDP

    sudo systemctl restart lldpd

    You can ensure LLDP is active by using this command:

    sudo systemctl status lldpd

     

    6. Make sure to configure network interfaces. For more information, please refer to HowTo Configure Switch Interface Using Cumulus Linux