Dell EMC Networking S serie: Basic Switch Management Configuration - SONIC 4.0

Summary: Sonic 4.0 basisswitchbeheer configureren.

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Instructions

Instructies
OPMERKING: Bij deze stappen wordt ervan uitgegaan dat uw switch wordt geconfigureerd, te beginnen met de fabrieksinstellingen.

Instructies voor het instellen van de netwerkverbinding van de beheerinterface:  
  1. Open de console- of beheer-IP voor uw S-serie switch. 
  2. Meld u aan bij de privileged exec-modus met standaardreferenties: admin\YourPaSsWoRd
Debian GNU/Linux 9 sonic ttyS0

sonic login: admin
Password:
Last login: Mon Jul 18 22:08:17 UTC 2022 on ttyS0
Linux sonic 4.9.0-11-2-amd64 #1 SMP Debian 4.9.189-3+deb9u2 (2019-11-11) x86_64
You are on
  ____   ___  _   _ _  ____
 / ___| / _ \| \ | (_)/ ___|
 \___ \| | | |  \| | | |
  ___) | |_| | |\  | | |___
 |____/ \___/|_| \_|_|\____|

-- Software for Open Networking in the Cloud --
  1. Start de SONIC CLI met: sonic-cli
admin@sonic:~$ sonic-cli
sonic#
  1. Als u de switchconfiguratie wilt wijzigen, voert u de opdracht Configure Terminal uit om de switchconfiguratie te bewerken en drukt u op Enter.
sonic# configure terminal
sonic(config)#
  1. De actieve configuratie van de beheerinterface weergeven:  beheer van running-configuration interface 0 weergeven
sonic# show running-configuration interface Management 0
!
interface Management 0
 description Management0
 mtu 1500
 autoneg on
 speed 1000
sonic#
  1. Als u de switchconfiguratie wilt wijzigen, voert u de opdracht Configure Terminal uit om de switchconfiguratie te bewerken en drukt u op Enter.
sonic# configure terminal
sonic(config)#
  1. De beheerinterface configureren: Interfacebeheer 0-opdracht
sonic(config)# interface Management 0
sonic(conf-if-eth0)#
  1. Configureer een statisch IP-adres en standaardgateway op de beheerinterface met: IP-adres 1.1.1.2/24 gwaddr 1.1.1.1
sonic(conf-if-eth0)# ip address 1.1.1.2/24 gwaddr 1.1.1.1
sonic(conf-if-eth0)#
  1. Sluit de configuratiemodus af naar de exec-modus met: end
sonic(conf-if-eth0)# end
sonic#
  1. Controleer in de exec-modus of de configuratie van de beheerinterface correct is: show running-configuration interface Management 0
sonic# show running-configuration interface Management 0
!
interface Management 0
 description Management0
 mtu 1500
 autoneg on
 speed 1000
 ip address 1.1.1.2/24 gwaddr 1.1.1.1
sonic#
  1. Sla de actieve configuratie op in opstartconfiguratie met: schrijfgeheugen
sonic# write memory
sonic#
OPMERKING: Zodra een statisch IP-adres is toegevoegd aan de Beheer 0-interface, wordt DHCP automatisch uitgeschakeld. Als het statische IP-adres wordt verwijderd, wordt DHCP automatisch opnieuw ingeschakeld.

Instructies voor het instellen van een gebruiker op beheerdersniveau:  
  1. Open de console- of beheer-IP voor uw S-serie switch. 
  2. Meld u aan bij de privileged exec-modus met standaardreferenties: admin\YourPaSsWoRd
Debian GNU/Linux 9 sonic ttyS0

sonic login: admin
Password:
Last login: Mon Jul 18 22:08:17 UTC 2022 on ttyS0
Linux sonic 4.9.0-11-2-amd64 #1 SMP Debian 4.9.189-3+deb9u2 (2019-11-11) x86_64
You are on
  ____   ___  _   _ _  ____
 / ___| / _ \| \ | (_)/ ___|
 \___ \| | | |  \| | | |
  ___) | |_| | |\  | | |___
 |____/ \___/|_| \_|_|\____|

-- Software for Open Networking in the Cloud --
  1. Start de SONIC CLI met: sonic-cli
admin@sonic:~$ sonic-cli
sonic#
  1. Als u de switchconfiguratie wilt wijzigen, voert u de opdracht Configure Terminal uit om de switchconfiguratie te bewerken en drukt u op Enter.
sonic# configure terminal
sonic(config)#
  1. Configureer een gebruikersnaam 'test' en wachtwoord met sysadmin-bevoegdheden: wachtwoord gebruikersnaamtest P@ssw0rd!123 rolbeheerder
sonic(config)# username test password P@ssw0rd!123 role admin
sonic(config)#
  1. Sluit de configuratiemodus af naar de exec-modus met: end
sonic(config)# end
sonic#
  1. Controleer de gebruikersconfiguratie met behulp van: show running-configuration | grep test
sonic# show running-configuration | grep user
username test role admin
  1. Sla de actieve configuratie op in opstartconfiguratie met: schrijfgeheugen
sonic# write memory
sonic#

Raadpleeg voor meer hulp de Dell Technologies Enterprise SONiC-gebruikershandleiding releasedocumentatie of neem contact op met de technische support van Dell Technologies.

Affected Products

Enterprise SONiC Distribution
Article Properties
Article Number: 000201926
Article Type: How To
Last Modified: 24 May 2023
Version:  4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.