Dell Networking OS10 Sådan køres certifikatopdatering fra Windows med Python
Summary: Sådan opdateres OS10-certifikatet ved hjælp af Python fra Windows.
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
Indholdsfortegnelse
1. Krav, der skal opfyldes
2. Trin til at køre script fra Windows
3. Oversigt over kommandoer
4. Elementer, der skal noteres
Krav, der skal opfyldes
- Python 3.x og pip3 skal være installeret
- Skal installere paramiko & scp til python3
- Kontakten kan nås fra Windows-systemet
- Skift systemadministratorrollebruger
- Må ikke have "system-cli deaktiver" konfigureret
- Sørg for at bruge python3/pip3, hvis både python2 og 3 er installeret
Trin til at køre script fra Windows
1. Download og installer den nyeste 3.x python og pip3
https://www.python.org/downloads/

ALERT: Sørg for at markere "Føj Python 3.9 til PATH"
2. Download og pak cert.zip ud til en midlertidig mappe
https://www.dell.com/support/software/us/en/04
3. Administrator: Åbn kommandoprompten i en midlertidig mappe
cd c:\Brugere\cert\Downloads\cert_upgrade_script-4\cert_upgrade_script-4
4. PIP installation paramiko & SCP
pip installation paramiko SCP
5. Kør filen til hver switch-IP eller med værtsfil pr. readme.
python cert.py -u "admin" -p "admin" -h "<IP>" -c
python cert.py -u "admin" -p "admin" -h "<IP>"
python cert.py -u "admin" -p "admin" -h "<IP>" -c
6. Når du har udført scriptet, skal du se LKB-artiklen (Dell Networking OS10 Certificate Expiration and Solution) for de næste trin.
ADVARSEL: Tryk på VLTi- eller genindlæs switchen baseret på KB-trin, for at certifikatet kan træde i kraft.
Kommandooversigt:
| Kommando | Forklaring |
| cd c:\Brugere\cert\Downloads\cert_upgrade_script-4\cert_upgrade_script-4 | Gå til den udpakkede certifikatmappe |
| pip installation paramiko SCP | Installer de påkrævede python-moduler |
| python cert.py -u "admin" -p "admin" -h "<IP>" -c | Kontroller, at kontakten er sårbar. |
| python cert.py -u "admin" -p "admin" -h "<IP>" | Kør script for at ændre certifikatet |
| python cert.py -u "admin" -p "admin" -h "<IP>" -c | Kontroller, om switchen blev opdateret |
Elementer, der skal noteres
- Scriptet udfører versionskontrol, hvis det kører lavere end 10.4.3.x
- Hvis du kører lavere end denne version, oprettes meddelelsen "kører en version, der er mindre end 10.4.3.x, skal du opgradere til nyere version"
- Scriptet udfører versionskontrol for mere end 10.5.1.0. (i scriptversion v4)
- systemet er ikke sårbart, hvis andre switche i klyngen også kører 10.5.1.0 eller nyere
- Nyere firmware kan have påvirket certifikatet, men det er ikke i brug, da det kan ignoreres eller opgraderes uden bekymring
- Sørg for at bruge " (dobbelte anførselstegn), hvis specialtegn er i brugernavn eller adgangskode i Windows.
Affected Products
PowerSwitch S3048-ON, PowerSwitch S4048-ON, Dell EMC Networking MX5108n, Dell EMC Networking MX9116n, Dell EMC Networking N3200-ON, PowerSwitch S4048T-ON, PowerSwitch S4148U-ON, PowerSwitch S5148F-ON, PowerSwitch S5212F-ON, PowerSwitch S5224F-ONProducts
PowerSwitch S4112F-ON/S4112T-ON, PowerSwitch S4128F-ON/S4128T-ON, PowerSwitch S4148F-ON/S4148T-ON/S4148FE-ON, PowerSwitch S4248FB-ON /S4248FBL-ON, PowerSwitch S5232F-ON, PowerSwitch S5248F-ON, PowerSwitch S5296F-ON, PowerSwitch S6010-ON
, PowerSwitch S6100-ON, PowerSwitch Z9100-ON, PowerSwitch Z9264F-ON, PowerSwitch Z9332F-ON, PowerSwitch Z9432F-ON
...
Article Properties
Article Number: 000188441
Article Type: How To
Last Modified: 21 Jun 2021
Version: 2
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.