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
Instructies voor het instellen van de netwerkverbinding van de beheerinterface:
Instructies voor het instellen van een gebruiker op beheerdersniveau:
Raadpleeg voor meer hulp de Dell Technologies Enterprise SONiC-gebruikershandleiding releasedocumentatie of neem contact op met de technische support van Dell Technologies.
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:
- Open de console- of beheer-IP voor uw S-serie switch.
- 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 --
- Start de SONIC CLI met: sonic-cli
admin@sonic:~$ sonic-cli sonic#
- 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)#
- 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#
- 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)#
- De beheerinterface configureren: Interfacebeheer 0-opdracht
sonic(config)# interface Management 0 sonic(conf-if-eth0)#
- 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)#
- Sluit de configuratiemodus af naar de exec-modus met: end
sonic(conf-if-eth0)# end sonic#
- 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#
- 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:
- Open de console- of beheer-IP voor uw S-serie switch.
- 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 --
- Start de SONIC CLI met: sonic-cli
admin@sonic:~$ sonic-cli sonic#
- 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)#
- 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)#
- Sluit de configuratiemodus af naar de exec-modus met: end
sonic(config)# end sonic#
- Controleer de gebruikersconfiguratie met behulp van: show running-configuration | grep test
sonic# show running-configuration | grep user username test role admin
- 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 DistributionArticle 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.