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/08/13 10:45] – 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)# | ||
| Line 68: | Line 82: | ||
| console# write | console# write | ||
| console# copy running-config startup-config | 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 668: | Line 709: | ||
| ---- | ---- | ||
| - | ====== | + | ====== LLDP Enable |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | console(config)# |
| - | | + | |
| - | advertise dot3-tlv max-frame-size | + | |
| - | advertise management-tlv system-capabilities system-description hello 10 | + | |
| - | | + | --------- |
| - | | + | |
| - | | + | |
| - | | + | Gi1/ |
| - | | + | Gi1/ |
| - | | + | Gi1/ |
| - | | + | Gi1/ |
| - | | + | |
| - | | + | |
| - | | + | Gi1/ |
| - | | + | Gi1/ |
| - | | + | Gi1/ |
| - | | + | Gi1/ |
| - | | + | Gi1/ |
| - | | + | Gi1/0/14 |
| - | + | | |
| - | ====== View Information Advertised by Adjacent LLDP Agents ====== | + | Gi1/0/16 |
| - | + | | |
| - | | + | |
| - | | + | |
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | Gi1/ | ||
| + | Gi1/ | ||
| + | Gi1/ | ||
| + | Gi1/ | ||
| + | Gi1/ | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | Gi1/ | ||
| + | Gi1/ | ||
| + | Gi1/ | ||
| + | Gi1/ | ||
| + | Gi1/ | ||
| + | Gi1/ | ||
| + | | ||
| + | Gi1/ | ||
| + | Gi1/ | ||
| + | Gi1/ | ||
| + | Gi1/ | ||
| + | Gi1/ | ||
| + | Gi1/ | ||
| + | Te1/ | ||
| + | Te1/ | ||
| + | Te1/ | ||
| + | Te1/ | ||
| | | ||
| - | | + | |
| - | show lldp neighbors detail | + | |
| | | ||
| - | **Example of viewing Brief Information Advertised by Neighbors** | + | console(config)# |
| + | LLDP Remote Device Summary | ||
| + | Local | ||
| + | Interface RemID | ||
| + | --------- ------- ------------------- ----------------- ----------------- | ||
| + | Te1/ | ||
| + | Te1/ | ||
| + | Te1/ | ||
| + | console(config)# | ||
| - | Dell(conf-if-te-0/ | ||
| - | Dell (conf-if-te-0/ | ||
| - | Loc PortID | ||
| - | ------------------------------------------------------------------------------------------------------- | ||
| - | Te 0/1 | ||
| - | Te 0/2 | ||
| - | Dell (conf-if-te-0/ | ||
| - | |||
| - | **Example of Viewing Details Advertised by Neighbors** | ||
| - | |||
| - | Dell#show lldp neighbors detail | ||
| - | ======================================================================== | ||
| - | Local Interface Te 0/4 has 1 neighbor | ||
| - | Total Frames Out: 6547 | ||
| - | Total Frames In: 4136 | ||
| - | Total Neighbor information Age outs: 0 | ||
| - | Total Frames Discarded: 0 | ||
| - | Total In Error Frames: 0 | ||
| - | Total Unrecognized TLVs: 0 | ||
| - | Total TLVs Discarded: 0 | ||
| - | Next packet will be sent after 7 seconds | ||
| - | The neighbors are given below: | ||
| - | ----------------------------------------------------------------------- | ||
| - | Remote Chassis ID Subtype: Mac address (4) | ||
| - | Remote Chassis ID: 00: | ||
| - | Remote Port Subtype: Interface name (5) | ||
| - | Remote Port ID: TeGigabitEthernet 2/11 | ||
| - | Local Port ID: TenGigabitEthernet 1/21 | ||
| - | Locally assigned remote Neighbor Index: 4 | ||
| - | Remote TTL: 120 | ||
| - | Information valid for next 120 seconds | ||
| - | Time since last information change of this neighbor: 01:50:16 | ||
| - | Remote MTU: 1554 | ||
| - | Remote System Desc: Dell Networks Real Time Operating System Software | ||
| - | Dell Operating System Version: 1.0. | ||
| - | Dell Application Software Version: 9.4.0.0. Copyright (c) 1999-2014 | ||
| - | Build Time: Thu Aug 9 01:05:51 PDT 1999-2014 | ||
| - | Existing System Capabilities: | ||
| - | Enabled System Capabilities: | ||
| - | Remote Port Vlan ID: 1 | ||
| - | Port and Protocol Vlan ID: 1, Capability: Supported, Status: Enabled | ||
| - | | ||
| ---- | ---- | ||
| Line 750: | Line 789: | ||
| + | ===== 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.1723563922.txt.gz · Last modified: 2024/08/13 10:45 by aperez
