Cómo respaldar y restaurar el archivo de configuración de inicio en Dell Networking OS 10
Instrucciones
Para restaurar una configuración de respaldo, copie un archivo local o remoto en la configuración de inicio y vuelva a cargar el switch. Después de que un usuario descargue una configuración de respaldo, ingrese la reload comando, de lo contrario, la configuración no surtirá efecto hasta que se reinicie.
Copiar archivo en la configuración de inicio
OS10# copy {config://filepath | home://filepath |
ftp://userid:passwd@hostip/filepath | scp://userid:passwd@hostip/filepath |
sftp://userid:passwd@hostip/filepath | tftp://hostip/filepath} config://startup.xml
Respaldar archivo de inicio
OS10# copy config://startup.xml config://backup-9-28.xml
Restaure el archivo de inicio a partir de la copia de seguridad.
OS10# copy config://backup-9-28.xml config://startup.xml OS10# reload System configuration has been modified. Save? [yes/no]:no
Respaldar el archivo de inicio en el servidor
OS10# copy config://startup.xml scp://userid:password@hostip/backup-9-28.xml
Restaurar el archivo de inicio desde el servidor.
OS10# copy scp://admin:admin@hostip/backup-9-28.xml config://startup.xml OS10# reload System configuration has been modified. Save? [yes/no]:no
Affected Products
How to backup and restore startup configuration file on Dell Networking OS 10
Instructions
To restore a backup configuration, copy a local or remote file to the startup configuration and reload the switch. After a user downloads a backup configuration, enter the reload command, otherwise, the configuration does not take effect until you reboot.
Copy file to startup configuration
OS10# copy {config://filepath | home://filepath |
ftp://userid:passwd@hostip/filepath | scp://userid:passwd@hostip/filepath |
sftp://userid:passwd@hostip/filepath | tftp://hostip/filepath} config://startup.xml
Back up startup file
OS10# copy config://startup.xml config://backup-9-28.xml
Restore startup file from backup.
OS10# copy config://backup-9-28.xml config://startup.xml OS10# reload System configuration has been modified. Save? [yes/no]:no
Back up startup file to server
OS10# copy config://startup.xml scp://userid:password@hostip/backup-9-28.xml
Restore startup file from server.
OS10# copy scp://admin:admin@hostip/backup-9-28.xml config://startup.xml OS10# reload System configuration has been modified. Save? [yes/no]:no
Affected Products
Products
Cómo generar y recopilar paquetes de soporte en los switches de redes OS10 de Dell EMC
Instrucciones
Contenido:
¿Qué es un paquete de soporte?
Cómo generar un paquete de soporte
¿Dónde se almacena el paquete de soporte?
Cómo verificar que se inició la generación del paquete de soporte
Cómo verificar que se haya completado la generación del paquete de soporte
Cómo recuperar el paquete de soporte desde el switch
Eliminación de un paquete de soporte existente
¿Qué es un paquete de soporte?
El paquete de soporte se basa en la herramienta sosreport. El paquete de soporte genera un archivo tar que incluye la configuración del sistema Linux e información de diagnóstico, además muestra los resultados de comandos. Los agentes de soporte técnico de Dell necesitan un paquete de soporte para hacer análisis detallados.
Cómo generar un paquete de soporte
Ejecute el siguiente comando en el modo EXEC:
- Utilice el siguiente comando para OS10 10.5.2.0 y versiones posteriores:
OS10# generate support-bundle
- En cualquier versión de OS10 anterior a 10.5.2.0, utilice el siguiente comando:
OS10# generate support-bundle enable-all-plugin-options
No intente generar otro paquete de soporte si no vio que el paquete se generara inmediatamente después de la ejecución del comando. La generación del paquete de soporte tarda un poco (puede tardar más de 15 minutos).
¿Dónde se almacena el paquete de soporte?
El paquete de soporte se almacena en el directorio supportbundle. Para ver el contenido, utilice el siguiente comando:
OS10# dir supportbundle
Resultado de muestra:
OS10# dir supportbundle Directory contents for folder: supportbundle Date (modified) Size (bytes) Name --------------------- ------------ ------------------------------------------ 2020-01-12T19:34:21Z 8070044 sosreport-OS10-20200112193142.tar.xz 2020-01-12T19:34:27Z 33 sosreport-OS10-20200112193142.tar.xz.md5
Cómo verificar que se haya iniciado la generación del paquete de soporte
Durante la generación del paquete de soporte, se ve un archivo aleatorio que se genera en el directorio supportbundle. Debe esperar hasta que se complete el proceso de generación.
Resultado de muestra
OS10# dir supportbundle Directory contents for folder: supportbundle Date (modified) Size (bytes) Name --------------------- ------------ ------------------------------------------ 2020-01-13T09:17:12Z 3932160 _proc_sys.tar <<<This is not the complete file. This files size increases during support bundle generation.
Registro
Cuando se inicia la generación del paquete de soporte, se registra.
Resultado de muestra
OS10# show logging log-file | grep "SUPPORT_BUNDLE_STARTED" <165>1 2020-01-12T19:31:11.808623+00:00 OS10 dn_svc_sw 832 - - Node.1-Unit.1:PRI [event], Dell EMC (OS10) %SUPPORT_BUNDLE_STARTED: generate support-bundle execution has started successfully:All Plugin options enabled
Cómo verificar que se haya completado la generación del paquete de soporte
Después de la generación del paquete de soporte, hay dos archivos en el directorio del paquete de soporte; uno es el archivo del paquete de soporte y el otro es un archivo con extensión MD5. El archivo md5 es un archivo de suma de comprobación que se utiliza para verificar la integridad del archivo del paquete. Envíe ambos archivos al soporte técnico.
Resultado de muestra
OS10# dir supportbundle Directory contents for folder: supportbundle Date (modified) Size (bytes) Name --------------------- ------------ ------------------------------------------ 2020-01-12T19:34:21Z 8070044 sosreport-OS10-20200112193142.tar.xz <<<Support bundle file 2020-01-12T19:34:27Z 33 sosreport-OS10-20200112193142.tar.xz.md5 <<<Md5 checksum file
En el ejemplo anterior, sosreport-OS10-20200112193142.tar.xz es el archivo del paquete de soporte y sosreport-OS10-20200112193142.tar.xz.md5 es su archivo de suma de comprobación md5.
Registro
Cuando se completa la generación del paquete de soporte, se registra.
Resultado de muestra
OS10# show logging log-file | grep "BUNDLE_COMPLETED" <165>1 2020-01-12T19:34:27.831211+00:00 OS10 dn_svc_sw 832 - - Node.1-Unit.1:PRI [event], Dell EMC (OS10) %SUPPORT_BUNDLE_COMPLETED: generate support-bundle execution has completed successfully:All Plugin options enabled
Cómo recuperar el paquete de soporte desde el switch.
Puede usar ftp, http, https, scp, sftp, tftp o usb para recopilar el paquete de soporte, o puede usar el método bash del sistema a fin de enviar scp el paquete de soporte a un nodo local en el rack y descargarlo a través de WinSCP.
Utilice el siguiente comando en el símbolo del sistema del switch:
OS10# copy supportbundle://sosreport-OS10- file-number.tar.xz XXXX://server-address/path commands
XXXX = ftp, http, https, scp, sftp o tftp. Si utilizará un USB, formatéelo en FAT32.
Resultado de muestra
OS10#copy supportbundle://sosreport-OS10-20200112193142.tar.xz tftp://10.0.0.0.1/sosreport-OS10-20200112193142.tar.xz
Utilice los siguientes comandos para emplear el método bash del sistema:
-
system bash
-
ls -ltrh /var/opt/dell/os10/support_bundle/bundle/
-
sudo scp /var/opt/dell/os10/support_bundle/bundle/sosreport* <user>@<node IP>:/target/dir
- Luego, ingrese las contraseñas correctas cuando se le solicite
Resultado de muestra
OS10# system bash admin@OS10:~$ ls -ltrh /var/opt/dell/os10/support_bundle/bundle/ total 12M -rw------- 1 root root 12M Nov 6 19:47 sosreport-os10-20241106194507.tar.xz -rw-r--r-- 1 root root 33 Nov 6 19:47 sosreport-os10-20241106194507.tar.xz.md5 admin@OS10:~$ sudo scp /var/opt/dell/os10/support_bundle/bundle/sosreport* admin@192.168.219.5:/home/admin [sudo] password for admin: The authenticity of host '192.168.219.5 (192.168.219.5)' can't be established. ED25519 key fingerprint is SHA256:SObGGFqgOZ4nY8np1sYvobZAHw2F96Goi7rdzHS+jQU. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '192.168.219.5' (ED25519) to the list of known hosts. Password: sosreport-os10-20241106194507.tar.xz 100% 12MB 1.6MB/s 00:07 sosreport-os10-20241106194507.tar.xz.md5 100% 33 4.1KB/s 00:00
Eliminación de un paquete de soporte existente
El paquete de soporte puede consumir espacio del almacenamiento del switch. Por lo tanto, después de recuperar el paquete, puede eliminarlo. Utilice el siguiente comando:
OS10# delete supportbundle://sosreport- filename.tar.extention
Resultado de muestra
OS10#delete supportbundle://sosreport-OS10-20200112193142.tar.xz
Productos afectados
DELL Networking OS10 Switch How to generate and collect Support Bundles
Instructions
Contents:
What is a Support Bundle ?
How to Generate a Support Bundle
Where is the Support Bundle Stored ?
How to Verify the Support Bundle Generation has Started
How to Verify the Support Bundle Generation is Complete
How to Retrieve the Support Bundle from the Switch
Delete an Existing Support Bundle
What is a Support Bundle ?
The support bundle is based on the sosreport tool. The support bundle generates a tar file that includes the Linux system configuration and diagnostics information, and show command outputs. Dell Technical support agents need a support bundle for detailed analysis.
How to Generate a Support Bundle
Run the following command in EXEC mode:
- Use the following command for OS10 version 10.5.2.0 and later:
OS10# generate support-bundle
- Any OS10 version before 10.5.2.0, use the following command:
OS10# generate support-bundle enable-all-plugin-options
Do not try to generate another support bundle if you did not see that the bundle generated immediately after the command execution. Support bundle generation takes some time (may be more than 15 Minutes).
Where is the Support Bundle Stored ?
Support bundle is stored in the supportbundle directory. To view the contents, use the following command:
OS10# dir supportbundle
Sample output:
OS10# dir supportbundle Directory contents for folder: supportbundle Date (modified) Size (bytes) Name --------------------- ------------ ------------------------------------------ 2020-01-12T19:34:21Z 8070044 sosreport-OS10-20200112193142.tar.xz 2020-01-12T19:34:27Z 33 sosreport-OS10-20200112193142.tar.xz.md5
How to Verify the Support Bundle Generation has Started
During support bundle generation, we see a random file that is generated in the supportbundle directory. You must wait until the generation process is complete.
Sample output
OS10# dir supportbundle Directory contents for folder: supportbundle Date (modified) Size (bytes) Name --------------------- ------------ ------------------------------------------ 2020-01-13T09:17:12Z 3932160 _proc_sys.tar <<<This is not the complete file. This files size increases during support bundle generation.
Logging
When support bundle generation starts, it is logged.
Sample output
OS10# show logging log-file | grep "SUPPORT_BUNDLE_STARTED" <165>1 2020-01-12T19:31:11.808623+00:00 OS10 dn_svc_sw 832 - - Node.1-Unit.1:PRI [event], Dell EMC (OS10) %SUPPORT_BUNDLE_STARTED: generate support-bundle execution has started successfully:All Plugin options enabled
How to Verify the Support Bundle Generation is Complete
After support bundle generation, there are two files in the support bundle directory; one is the support bundle file and the other is a file with md5 extension. The md5 file is a checksum file that is used to verify the integrity of bundle file. Send both of the files to Technical Support.
Sample output
OS10# dir supportbundle Directory contents for folder: supportbundle Date (modified) Size (bytes) Name --------------------- ------------ ------------------------------------------ 2020-01-12T19:34:21Z 8070044 sosreport-OS10-20200112193142.tar.xz <<<Support bundle file 2020-01-12T19:34:27Z 33 sosreport-OS10-20200112193142.tar.xz.md5 <<<Md5 checksum file
In the above example, sosreport-OS10-20200112193142.tar.xz is the support bundle file and sosreport-OS10-20200112193142.tar.xz.md5 is its md5 checksum file.
Logging
When support bundle generation is complete, it is logged.
Sample output
OS10# show logging log-file | grep "BUNDLE_COMPLETED" <165>1 2020-01-12T19:34:27.831211+00:00 OS10 dn_svc_sw 832 - - Node.1-Unit.1:PRI [event], Dell EMC (OS10) %SUPPORT_BUNDLE_COMPLETED: generate support-bundle execution has completed successfully:All Plugin options enabled
How to Retrieve Support Bundle from the Switch.
You can use ftp, http, https, scp, sftp, tftp, or usb to collect the support-bundle, or you can use system bash to scp the support bundle to a local node in the rack to download over WinSCP.
Use the following command from the switch prompt:
OS10# copy supportbundle://sosreport-OS10- file-number.tar.xz XXXX://server-address/path commands
Where XXXX = ftp, http, https, scp, sftp, or tftp. If you are using USB, format it in FAT32.
Sample output
OS10#copy supportbundle://sosreport-OS10-20200112193142.tar.xz tftp://10.0.0.0.1/sosreport-OS10-20200112193142.tar.xz
Use the following commands for system bash:
-
system bash
-
ls -ltrh /var/opt/dell/os10/support_bundle/bundle/
-
sudo scp /var/opt/dell/os10/support_bundle/bundle/sosreport* <user>@<node IP>:/target/dir
- Then enter correct passwords when prompted
Sample output
OS10# system bash admin@OS10:~$ ls -ltrh /var/opt/dell/os10/support_bundle/bundle/ total 12M -rw------- 1 root root 12M Nov 6 19:47 sosreport-os10-20241106194507.tar.xz -rw-r--r-- 1 root root 33 Nov 6 19:47 sosreport-os10-20241106194507.tar.xz.md5 admin@OS10:~$ sudo scp /var/opt/dell/os10/support_bundle/bundle/sosreport* admin@192.168.219.5:/home/admin [sudo] password for admin: The authenticity of host '192.168.219.5 (192.168.219.5)' can't be established. ED25519 key fingerprint is SHA256:SObGGFqgOZ4nY8np1sYvobZAHw2F96Goi7rdzHS+jQU. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '192.168.219.5' (ED25519) to the list of known hosts. Password: sosreport-os10-20241106194507.tar.xz 100% 12MB 1.6MB/s 00:07 sosreport-os10-20241106194507.tar.xz.md5 100% 33 4.1KB/s 00:00
Delete an Existing Support Bundle
Support bundle may consume some space from your switch storage. Hence, after retrieving the bundle, you can delete it. Use the following command:
OS10# delete supportbundle://sosreport- filename.tar.extention
Sample output
OS10#delete supportbundle://sosreport-OS10-20200112193142.tar.xz
