NVIDIA Cumulus Linux Test Drive - Lab Guide For Attendees - July 2020
NVIDIA Cumulus Linux Test Drive - Lab Guide For Attendees - July 2020
Appendix A: How to use an SSH client to manually connect to the to the lab 20
cumulusnetworks.com 2
TITLE OF NVIDIA Cumulus Linux Test Drive: Lab Guide
Goals:
● Learn how to access your CITC workbench in a web browser
● Log into your oob-mgmt-server.
● From your oob-mgmt-server, access your switches via SSH.
● Install and apply a Cumulus Linux License
Procedure:
To access your lab you will need to be registered with cumulusnetworks.com. You must have an account with cumulusnetworks.com that is bound to
the email address used for your test drive registration.
2. Once at the Cumulus In the Cloud console, find your Cumulus Linux Test Drive simulation
cumulusnetworks.com 3
TITLE OF NVIDIA Cumulus Linux Test Drive: Lab Guide
cumulusnetworks.com 4
TITLE OF NVIDIA Cumulus Linux Test Drive: Lab Guide
1. Find and click the “Advanced” button in the lower left of the simulation console:
2. The Advanced view presents you with your console connection to the oob-mgmt-server. Click on the pop-out icon to pop out your oob-mgmt-
server console to allow you to resize and position for your convenience.
cumulusnetworks.com 5
TITLE OF NVIDIA Cumulus Linux Test Drive: Lab Guide
3. You can also click on any of the nodes in the “Nodes” list to pop out a console window to that device.
cumulus@oob-mgmt-server:~$ cd Test-Drive-Automation
cumulus@oob-mgmt-server:~/Test-Drive-Automation$
PLAY [all]
*********************************************************************************************************************************
******************
PLAY [host]
*********************************************************************************************************************************
*****************
cumulusnetworks.com 6
TITLE OF NVIDIA Cumulus Linux Test Drive: Lab Guide
changed: [server02]
changed: [server01]
PLAY RECAP
*********************************************************************************************************************************
******************
leaf01 : ok=2 changed=2 unreachable=0 failed=0
leaf02 : ok=2 changed=2 unreachable=0 failed=0
netq-ts : ok=2 changed=2 unreachable=0 failed=0
server01 : ok=4 changed=4 unreachable=0 failed=0
server02 : ok=4 changed=4 unreachable=0 failed=0
spine01 : ok=2 changed=2 unreachable=0 failed=0
cumulus@oob-mgmt-server:~/Test-Drive-Automation$
The registered trademark Linux (R) is used pursuant to a sublicense from LMI,
the exclusive licensee of Linus Torvalds, owner of the mark on a world-wide
basis.
cumulus@leaf01:~$
8. On leaf01: View the license on the oob-mgmt-server by downloading and displaying the license with the curl command. Then apply the
license using cl-license. Lastly, view where the license is installed to on disk after the license is installed. Note: this process is not actually
required in Vx but is performed for parity with real hardware.
9. On leaf01: Restart switchd to apply the license. Check the status of switchd to make sure it is running.
cumulusnetworks.com 7
TITLE OF NVIDIA Cumulus Linux Test Drive: Lab Guide
cumulusnetworks.com 8
TITLE OF NVIDIA Cumulus Linux Test Drive: Lab Guide
By the end of this lab, we’ll have the following topology implemented:
Goals:
● Configure loopback addresses for leaf01 and leaf02
● Configure a bond between leaf01 and leaf02
● Configure a bridge
● Create a trunk port and access port
● Configure SVIs on leaf01 and leaf02
● Configure VRR addresses on leaf01 and leaf02
Procedure:
Configure loopback addresses on leaf01 and leaf02
IP Details
------------------------- ---------------
IP: 127.0.0.1/8
IP: 10.255.255.1/32
IP: ::1/128
IP Neighbor(ARP) Entries: 0
cumulusnetworks.com 9
TITLE OF NVIDIA Cumulus Linux Test Drive: Lab Guide
IP Details
------------------------- ---------------
IP: 127.0.0.1/8
IP: 10.255.255.2/32
IP: ::1/128
IP Neighbor(ARP) Entries: 0
7. On leaf01 and leaf02: Check status of the bond between two switches. Verify that the bond is operational by checking the status of the
bond and its members. See the red highlighted output below to verify that your lab output matches.
cumulusnetworks.com 10
TITLE OF NVIDIA Cumulus Linux Test Drive: Lab Guide
9. On leaf01: Add swp1 and BOND0 as a member to the bridge. Note: The name BOND0 is case sensitive in all places.
12. On leaf02: Repeat the same steps but use swp2 as the access port towards the server.
Note: The section below is provided for easier copying and pasting.
14. On leaf02: Verify the same configuration on leaf02 by checking that swp2 and BOND0 are part of the bridge.
On leaf01: On leaf02:
● swp1 should be an access port in vlan 10 ● swp2 should be an access port in vlan 20
● BOND0 should be a trunk for vlan10 and vlan20, with a native ● BOND0 should be a trunk for vlan10 and vlan20, with a native
vlan of 1 (PVID) vlan of 1 (PVID)
cumulusnetworks.com 11
TITLE OF NVIDIA Cumulus Linux Test Drive: Lab Guide
SERVER01 vlan 10 10
SERVER02 vlan 20 20
Note: The section below is provided for easier copying and pasting.
cumulusnetworks.com 12
TITLE OF NVIDIA Cumulus Linux Test Drive: Lab Guide
24. On server01: Check the IP neighbor table which is similar to the ARP table, to view each MAC address. The arp table could also be
evaluated using the “arp” command.
25. On server02: Repeat the same connectivity tests in step 10-13 from server02 to switch IP addresses.
26. On server01 and server02: Ping to verify connectivity between server01 and server02.
cumulusnetworks.com 13
TITLE OF NVIDIA Cumulus Linux Test Drive: Lab Guide
cumulusnetworks.com 14
TITLE OF NVIDIA Cumulus Linux Test Drive: Lab Guide
Goals:
● Configure BGP unnumbered on spine01
● Configure BGP unnumbered on leaf01/leaf02
● Advertise loopback addresses into BGP
● Advertise SVI subnets of leafs into BGP
● Verify BGP peering
● Verify BGP route advertisements
● Verify routed connectivity and path between servers
Procedure:
1. On oob-mgmt-server: Run the playbook named ‘lab3.yml’. Even if you fully completed Lab2, you must run this playbook.
Loopback Configuration
3. On spine01: Configure a BGP Autonomous System (AS) number for the routing instance.
4. On spine01: Configure BGP peering on swp1 towards leaf01 and swp2 towards leaf02.
cumulusnetworks.com 15
TITLE OF NVIDIA Cumulus Linux Test Drive: Lab Guide
cumulusnetworks.com 16
TITLE OF NVIDIA Cumulus Linux Test Drive: Lab Guide
Advertise Loopback and SVI subnets from leaf01, leaf02 and spine01 into fabric
14. On leaf02: Repeat steps xx-xx. Notice the different loopback IP and subnet that is advertised.
cumulusnetworks.com 17
TITLE OF NVIDIA Cumulus Linux Test Drive: Lab Guide
cumulusnetworks.com 18
TITLE OF NVIDIA Cumulus Linux Test Drive: Lab Guide
Appendix A: How to use an SSH client to manually connect to the to the lab
First, click the “add service” button under the Services window to expose the SSH service on the oob-mgmt-server to the Internet.
Note: It takes about 5 minutes for background processing to occur before the SSH service is fully opened.
Next, click on the hyperlink for the SSH service. If your web browser is configured with an application to handle SSH URLs, then clicking on the link
from your browser will automatically launch the application to handle the SSH connection and connect with the correct username, IP address, and
port number.
If your browser is unable to handle the SSH URL or, follow the steps below to manually connect via SSH:
Username cumulus
Password CumulusLinux!
Note: This SSH connection does not use the default destination TCP port 22. Ensure that the external port is specified in your SSH client.
Note: Usernames and passwords are case sensitive
To connect via SSH manually, you must have an SSH client installed.
Linux/Mac OS example:
############################################################################
#
# Out Of Band Management Station
#
############################################################################
Last login: Fri Mar 6 19:35:14 2020
cumulus@oob-mgmt-server:~$
cumulusnetworks.com 19
TITLE OF NVIDIA Cumulus Linux Test Drive: Lab Guide
After clicking “Open”, provide the username “cumulus” and password “CumulusLinux!”
You now have an SSH session to your workbench, and you will be at the BASH prompt on the oob-mgmt-server.
© 2020 NVIDIA Corporation. All rights reserved. NVIDIA, the NVIDIA logo, and NVIDIA © Cumulus Linux, NVIDIA © Cumulus NetQ are trademarks and/or registered
trademarks of NVIDIA Corporation in the U.S. and other countries. Other company and product names may be trademarks of the respective companies with which they
are associated.
cumulusnetworks.com 20