Skip to content

Commit 1d53e4a

Browse files
Dell-SONiC (#222)
* Add files via upload * Update switch-agent-installation.rst * Update Dell-SONiC-Switch-initial-setup.rst * Add files via upload * Add files via upload * Delete images/Dell-Switch-agent-installation-Inventory.png * Delete images/Dell-Switch-agent-installation-cli.png * Delete images/Dell-Switch-agent-installation-oneliner.png * Add files via upload
1 parent 69a34e1 commit 1d53e4a

5 files changed

+105
-0
lines changed

Dell-SONiC-Switch-initial-setup.rst

+104
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
===================================
2+
Dell SONiC Switch Initial Setup
3+
===================================
4+
.. note::
5+
6+
Further installation requires a Console and Internet connectivity via the management port!
7+
8+
If the switch has pre-installed network operating system (NOS), it needs to be uninstalled first.
9+
10+
1. NOS Uninstall (if pre-installed)
11+
12+
To uninstall the current NOS, access **ONIE** from the GRUB menu and select the **Uninstall OS** option.
13+
14+
.. image:: images/uninstallOS.png
15+
:align: center
16+
17+
Once it's done, the switch will automatically reboot and get ready for the installation of Dell SONiC.
18+
19+
2. NOS Install
20+
21+
If there is no DHCP in the management network, stop the onie-discovery service and configure an IP address and default gateway manually.
22+
23+
.. code-block:: shell-session
24+
25+
onie-discovery-stop
26+
27+
.. code-block:: shell-session
28+
29+
ip addr add <management IP address/prefix> dev eth0
30+
31+
.. code-block:: shell-session
32+
33+
ip route add default via <gateway of the management network>
34+
35+
.. code-block:: shell-session
36+
37+
echo "nameserver <DNS server address>" > /etc/resolv.conf
38+
39+
The Dell SONiC image should be available on a web server to which the switch has access through the local network or the Internet.
40+
41+
Example:
42+
43+
.. code-block:: shell-session
44+
45+
onie-nos-install http://192.168.100.10/Enterprise_SONiC_OS_4.1.1_Enterprise_Premium.bin
46+
47+
After completion of the installation, the switch will automatically reboot.
48+
49+
To login use the default username and password:
50+
51+
``admin/YourPaSsWoRd``
52+
53+
3. Set up the Out-of-Band (OOB) Management.
54+
55+
Upon the initial boot of the newly installed NOS, please wait until the message "System is ready" appears, typically resembling the following:
56+
57+
.. code-block:: shell-session
58+
59+
May 03 15:02:35.430469 System is ready
60+
61+
Once this message is displayed, proceed to disable ZTP using the following commands:
62+
63+
.. code-block:: shell-session
64+
65+
admin@sonic:~$ sonic-cli
66+
sonic# configure
67+
sonic(config)# no ztp enable
68+
69+
Wait once more until the "System is ready" message reappears. This may take approximately 1-2 minutes.
70+
If there isn't a DHCP server available in the Out-of-Band (OOB) management network to ensure the switch's connection to the internet, you'll need to configure the Management IP address, gateway, and nameservers using the following commands:
71+
72+
.. code-block:: shell-session
73+
74+
admin@sonic:~$ sonic-cli
75+
sonic# configure
76+
sonic(config-if-Management0)# interface Management 0
77+
sonic(config-if-Management0)# ip address <MGMT-IPv4>/<MGMT-SUBNET-MASK> gwaddr <MGMT-SUBNET-GATEWAY>
78+
sonic(config)# exit
79+
sonic(config)# ip name-server <DNS-SERVER1>
80+
sonic(config)# ip name-server <DNS-SERVER2>
81+
sonic(config)# end
82+
sonic# write memory
83+
sonic# exit
84+
85+
.. _sonic-switch-agent-installation:
86+
87+
4. Netris agent installation.
88+
89+
Navigate to the Net–>Inventory section and click the three vertical dots (⋮) on the right side of the switch you are provisioning. Then click Install Agent, copy the one-line installer command to your clipboard and paste in the switch.
90+
91+
.. image:: images/Dell-Switch-agent-installation-Inventory.png
92+
:align: center
93+
94+
.. image:: images/Dell-Switch-agent-installation-oneliner.png
95+
:align: center
96+
97+
.. image:: images/Dell-Switch-agent-installation-cli.png
98+
:align: center
99+
100+
5. Reboot the switch
101+
102+
.. code-block:: shell-session
103+
104+
sudo reboot
Loading
93.2 KB
Loading
Loading

switch-agent-installation.rst

+1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@ Network Switch Initial Setup
1212
Nvidia-Cumulus-v5-Switch-initial-setup
1313
Ubuntu-SwitchDev-Switch-initial-setup
1414
EdgeCore-SONiC-Switch-initial-setup
15+
Dell-SONiC-Switch-initial-setup
1516
Nvidia-Cumulus-v3.7-Switch-initial-setup

0 commit comments

Comments
 (0)