dell:switch:dell_emc_switch_n3048p
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| dell:switch:dell_emc_switch_n3048p [2024/07/22 16:25] – aperez | dell:switch:dell_emc_switch_n3048p [2025/09/09 19:12] (current) – aperez | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Dell EMC Networking N-Series N1100-ON, N1500, N2000, N2100-ON, N3000, N3000-ON, N3100-ON, and N4000 Switches CLI Reference Guide ====== | + | ====== Dell EMC Networking N-Series N1100-ON, N1500, N2000, N2100-ON, N3000, N3000-ON, N3100-ON, and N4000 Switches |
| + | |||
| + | |||
| + | ---- | ||
| + | ---- | ||
| + | |||
| + | * DELL-N3048P-S# | ||
| + | |||
| + | |||
| + | ---- | ||
| + | ---- | ||
| + | |||
| + | |||
| + | CLI Reference Guide ====== | ||
| {{ : | {{ : | ||
| Line 45: | Line 58: | ||
| To enable SSH and HTTPS, input the following commands. SSH and HTTPS require the generation of a DSA and an RSA key. HTTPS requires the creation of a certificate. | To enable SSH and HTTPS, input the following commands. SSH and HTTPS require the generation of a DSA and an RSA key. HTTPS requires the creation of a certificate. | ||
| + | console(config)# | ||
| console(config)# | console(config)# | ||
| console(config)# | console(config)# | ||
| console(config)# | console(config)# | ||
| + | | ||
| + | Note: Caution: Before disabling either telnet or HTTP access, verify SSH or HTTPS access. | ||
| + | | ||
| + | console(config)# | ||
| + | console(config)# | ||
| console(config)# | console(config)# | ||
| console(config-crypto-cert)# | console(config-crypto-cert)# | ||
| console(config-crypto-cert)# | console(config-crypto-cert)# | ||
| + | console(config)# | ||
| console(config)# | console(config)# | ||
| + | | ||
| + | Note:This system can generate and store two certificates. To generate the second key, replace the number 1 with | ||
| + | 2. To activate the second key, use: | ||
| + | | ||
| + | console(config)# | ||
| + | | ||
| + | console(config)# | ||
| + | console(config)# | ||
| + | console# write | ||
| + | console# copy running-config startup-config | ||
| + | |||
| + | **To enable SSH, input the following commands** | ||
| + | |||
| + | enable | ||
| + | configure | ||
| + | Generate both the RSA and DSA keys: | ||
| + | | ||
| + | no ip ssh server | ||
| + | crypto key generate rsa | ||
| + | crypto key generate dsa | ||
| + | Now, you can enable the SSH server: | ||
| + | | ||
| + | ip ssh server | ||
| + | Optionally: you can also change the default listen port: | ||
| + | | ||
| + | ip ssh port 22 | ||
| + | With more recent firmware versions, you are no longer able to change the SSH protocol version. It is now always | ||
| + | 2. But if you are still running an older version, you could set the protocol version: | ||
| + | | ||
| + | ip ssh protocol 2 | ||
| + | Optionally: after enabling SSH, you can optionally disable Telnet: | ||
| + | | ||
| + | ip telnet server disable | ||
| + | Go back to EXEC mode and write the changes to flash: | ||
| + | | ||
| + | exit | ||
| + | copy running-config startup-config | ||
| ---- | ---- | ||
| Line 60: | Line 117: | ||
| console(config)# | console(config)# | ||
| console(config)# | console(config)# | ||
| - | | + | |
| ---- | ---- | ||
| ---- | ---- | ||
| Line 133: | Line 190: | ||
| ---- | ---- | ||
| - | ====== Example code: ====== | + | ====== Example code ====== |
| Line 648: | Line 705: | ||
| enable password 2eb1cf41afd5a5ea20a0bf6c86e81e50 encrypted | enable password 2eb1cf41afd5a5ea20a0bf6c86e81e50 encrypted | ||
| exit | exit | ||
| + | |||
| + | ---- | ||
| + | ---- | ||
| + | |||
| + | ====== LLDP Enable ====== | ||
| + | |||
| + | console(config)# | ||
| + | console(config)# | ||
| | | ||
| + | console(config)# | ||
| + | LLDP Local Device Summary | ||
| + | | ||
| + | Interface | ||
| + | --------- | ||
| + | Gi1/ | ||
| + | Gi1/ | ||
| + | Gi1/ | ||
| + | Gi1/ | ||
| + | Gi1/ | ||
| + | Gi1/ | ||
| + | Gi1/ | ||
| + | Gi1/ | ||
| + | Gi1/ | ||
| + | Gi1/ | ||
| + | Gi1/ | ||
| + | Gi1/ | ||
| + | Gi1/ | ||
| + | Gi1/ | ||
| + | Gi1/ | ||
| + | Gi1/ | ||
| + | Gi1/ | ||
| + | Gi1/ | ||
| + | Gi1/ | ||
| + | Gi1/ | ||
| + | Gi1/ | ||
| + | Gi1/ | ||
| + | Gi1/ | ||
| + | Gi1/ | ||
| + | Gi1/ | ||
| + | Gi1/ | ||
| + | Gi1/ | ||
| + | Gi1/ | ||
| + | Gi1/ | ||
| + | Gi1/ | ||
| + | Gi1/ | ||
| + | Gi1/ | ||
| + | Gi1/ | ||
| + | Gi1/ | ||
| + | Gi1/ | ||
| + | Gi1/ | ||
| + | Gi1/ | ||
| + | Gi1/ | ||
| + | Gi1/ | ||
| + | Gi1/ | ||
| + | Gi1/ | ||
| + | Gi1/ | ||
| + | Gi1/ | ||
| + | Gi1/ | ||
| + | Gi1/ | ||
| + | Gi1/ | ||
| + | Gi1/ | ||
| + | Gi1/ | ||
| + | Te1/ | ||
| + | Te1/ | ||
| + | Te1/ | ||
| + | Te1/ | ||
| + | | ||
| + | console(config)# | ||
| + | | ||
| + | console(config)# | ||
| + | LLDP Remote Device Summary | ||
| + | Local | ||
| + | Interface RemID | ||
| + | --------- ------- ------------------- ----------------- ----------------- | ||
| + | Te1/ | ||
| + | Te1/ | ||
| + | Te1/ | ||
| + | console(config)# | ||
| + | |||
| + | |||
| ---- | ---- | ||
| ---- | ---- | ||
| + | |||
| + | |||
| + | ===== Configuración Port Mirroring (SPAN) en Dell N3048P ===== | ||
| + | |||
| + | Versión de software: N3000AdvLite v6.5.3.6 | ||
| + | Modelo: Dell EMC Networking N3048P | ||
| + | |||
| + | ---- | ||
| + | |||
| + | **Objetivo: | ||
| + | Espejar el tráfico del puerto Gi1/0/23 hacia el puerto Gi1/0/24 para análisis con Wireshark/ | ||
| + | |||
| + | ---- | ||
| + | |||
| + | **Comandos de configuración: | ||
| + | < | ||
| + | configure | ||
| + | ! | ||
| + | monitor session 1 source interface gi1/0/23 rx | ||
| + | monitor session 1 destination interface gi1/0/24 | ||
| + | monitor session 1 mode | ||
| + | ! | ||
| + | end | ||
| + | write memory | ||
| + | </ | ||
| + | |||
| + | ---- | ||
| + | |||
| + | **Verificación: | ||
| + | < | ||
| + | show monitor session 1 | ||
| + | </ | ||
| + | |||
| + | **Salida esperada:** | ||
| + | < | ||
| + | Session | ||
| + | Admin mode : Enabled | ||
| + | Type : Local session | ||
| + | Source ports : | ||
| + | Rx only : Gi1/0/23 | ||
| + | Destination port : Gi1/0/24 | ||
| + | Remove RSPAN Tag : False | ||
| + | </ | ||
| + | |||
| + | ---- | ||
| + | |||
| + | **Notas:** | ||
| + | * Solo un puerto destino por sesión (no usar para producción/ | ||
| + | * Puedes añadir más interfaces de origen con `both`, `rx` o `tx`. | ||
| + | * Guardar siempre con `write memory` para persistencia. | ||
| + | * Para desactivar sin borrar: | ||
| + | < | ||
| + | * Para eliminar la sesión: | ||
| + | < | ||
| + | |||
| + | |||
| + | |||
| + | ---- | ||
| + | ---- | ||
| + | |||
dell/switch/dell_emc_switch_n3048p.1721683502.txt.gz · Last modified: 2024/07/22 16:25 by aperez
