dell:switch:dell_emc_switch_n3048p
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| dell:switch:dell_emc_switch_n3048p [2024/06/22 11:22] – created 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 ====== | ||
| + | |||
| + | |||
| + | ---- | ||
| + | ---- | ||
| + | |||
| + | * DELL-N3048P-S# | ||
| + | |||
| + | |||
| + | ---- | ||
| + | ---- | ||
| + | |||
| - | ====== Dell EMC Networking N-Series N1100-ON, N1500, N2000, N2100-ON, N3000, N3000-ON, N3100-ON, and N4000 Switches | + | CLI Reference Guide ====== |
| {{ : | {{ : | ||
| Line 8: | Line 20: | ||
| ---- | ---- | ||
| ---- | ---- | ||
| + | ====== Setting a management IP address ====== | ||
| + | |||
| + | |||
| + | console> enable | ||
| + | console# configure | ||
| + | console(config)# | ||
| + | console(config-if)# | ||
| + | |||
| + | **Here is the same example as above but using the OOB interface: | ||
| + | |||
| + | console(config)# | ||
| + | console(config-if)# | ||
| + | |||
| + | **IP default-gateway** | ||
| + | | ||
| + | console(config)# | ||
| + | |||
| + | ---- | ||
| + | ---- | ||
| + | |||
| + | ====== Setting login access on the switch ====== | ||
| + | |||
| + | console> enable | ||
| + | console# configure | ||
| + | console(config)# | ||
| + | console(config)# | ||
| + | |||
| + | ---- | ||
| + | ---- | ||
| + | |||
| + | ====== Choosing Telnet, HTTP, SSH, or HTTPS for management ====== | ||
| + | |||
| + | The default allowed protocols for management are Telnet and HTTP. Telnet and SSH provide command-line based management through a tool such as PuTTY. HTTP and HTTPS provide a UI-based management through a web browser. It is possible to run all four, or none of the protocols. With all the previous options disabled, there is still the option of serial console. | ||
| + | |||
| + | For security, it is recommended to disable Telnet and HTTP, and enable SSH and HTTPS. Telnet and HTTP transfer packets over plain text, meaning if a person is capturing traffic, they can read all commands of functions pushed through the switch when managing it. SSH and HTTPS encrypt the traffic, which strengthens the packet security. | ||
| + | |||
| + | 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)# | ||
| + | | ||
| + | Note: Caution: Before disabling either telnet or HTTP access, verify SSH or HTTPS access. | ||
| + | | ||
| + | console(config)# | ||
| + | console(config)# | ||
| + | console(config)# | ||
| + | console(config-crypto-cert)# | ||
| + | console(config-crypto-cert)# | ||
| + | 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 | ||
| + | |||
| + | ---- | ||
| + | ---- | ||
| + | |||
| + | **To disable Telnet and HTTP input the following commands:** | ||
| + | |||
| + | console(config)# | ||
| + | console(config)# | ||
| + | |||
| + | ---- | ||
| + | ---- | ||
| + | ====== Saving configuration ====== | ||
| + | |||
| + | When satisfied with the configuration, | ||
| + | |||
| + | console# write memory | ||
| + | This operation may take a few minutes. | ||
| + | Management interfaces will not be available during this time. | ||
| + | Are you sure you want to save? (y/n) y | ||
| + | |||
| + | |||
| + | ---- | ||
| + | ---- | ||
| + | |||
| + | ====== How to Configure a Static or Dynamic Port-Channel on a Dell Networking N Series switch running OS6 (Dell EMC Networking Switch N3048P)====== | ||
| + | |||
| + | |||
| + | ---- | ||
| + | |||
| + | |||
| + | '' | ||
| + | |||
| + | Configure the respective interfaces to the appropriate port channel number, 1-128, using the interface range command. This example uses the interfaces tengigabitethernet 1/0/1 and tengigabitethernet 1/0/2: | ||
| + | |||
| + | N-Series> | ||
| + | N-Series# conf | ||
| + | N-Series(config)# | ||
| + | N-Series(config-if)# | ||
| + | N-Series(config-if)# | ||
| + | N-Series(config)# | ||
| + | N-Series(config-if)# | ||
| + | |||
| + | Note: Avoid using all when configuring a port range for port channels. Specify the exact interfaces. | ||
| + | |||
| + | **Configure the switchport mode and VLAN membership inside the port channel interface. The below command shows how to enter the port channel interface configuration: | ||
| + | |||
| + | N-Series(config-if)# | ||
| + | |||
| + | **Verify that the respective port channel is active with the command:** | ||
| + | |||
| + | N-Series# show interface port-channel 1 | ||
| + | |||
| + | **Copy the configuration changes to the startup configuration with the command:** | ||
| + | |||
| + | N-Series# copy running-config startup-config | ||
| + | This operation may take a few minutes. Management interfaces are not available during this time. | ||
| + | |||
| + | **The prompt "Are you sure you want to save?" is seen. Answer (y or n)** | ||
| + | |||
| + | Configuration Saved! | ||
| + | | ||
| + | |||
| + | ---- | ||
| + | |||
| + | '' | ||
| + | |||
| + | **This process differs in only the first step from above - the definition of the channel group mode (on vs active).** | ||
| + | |||
| + | N-Series> | ||
| + | N-Series# conf | ||
| + | N-Series(config)# | ||
| + | N-Series(config-if)# | ||
| + | N-Series(config-if)# | ||
| + | N-Series(config)# | ||
| + | N-Series(config-if)# | ||
| + | |||
| + | **The remaining steps are identical to the previous section " | ||
| + | |||
| + | ---- | ||
| + | ---- | ||
| + | |||
| + | ====== Example code ====== | ||
| + | |||
| + | |||
| + | ---- | ||
| + | |||
| + | | ||
| | | ||
| !Current Configuration: | !Current Configuration: | ||
| Line 30: | Line 218: | ||
| name " | name " | ||
| exit | exit | ||
| - | vlan 504 | + | vlan 504 |
| name " | name " | ||
| exit | exit | ||
| Line 53: | Line 241: | ||
| vlan 511 | vlan 511 | ||
| name " | name " | ||
| - | exit | + | exit |
| vlan 512 | vlan 512 | ||
| name " | name " | ||
| Line 76: | Line 264: | ||
| exit | exit | ||
| vlan 519 | vlan 519 | ||
| - | name " | + | name " |
| exit | exit | ||
| vlan 520 | vlan 520 | ||
| Line 96: | Line 284: | ||
| name " | name " | ||
| exit | exit | ||
| + | ip telnet server disable | ||
| slot 1/0 5 ! Dell EMC Networking N3048P | slot 1/0 5 ! Dell EMC Networking N3048P | ||
| slot 1/1 6 ! Dell EMC N3000 SFP+ Card | slot 1/1 6 ! Dell EMC N3000 SFP+ Card | ||
| - | stack | + | stack |
| member 1 5 ! N3048P | member 1 5 ! N3048P | ||
| exit | exit | ||
| + | interface out-of-band | ||
| + | ip address 192.168.100.21 255.255.254.0 0.0.0.0 | ||
| + | exit | ||
| + | no ip http server | ||
| + | ip http secure-server | ||
| interface vlan 1 | interface vlan 1 | ||
| - | ip address | + | ip address |
| exit | exit | ||
| + | ip default-gateway 172.16.28.1 | ||
| username " | username " | ||
| + | username " | ||
| + | ip ssh server | ||
| no spanning-tree | no spanning-tree | ||
| application install SupportAssist auto-restart start-on-boot | application install SupportAssist auto-restart start-on-boot | ||
| Line 113: | Line 310: | ||
| storm-control broadcast action trap | storm-control broadcast action trap | ||
| switchport mode general | switchport mode general | ||
| - | switchport general acceptable-frame-type tagged-only | + | switchport general acceptable-frame-type tagged-only |
| exit | exit | ||
| ! | ! | ||
| Line 136: | Line 333: | ||
| switchport general acceptable-frame-type tagged-only | switchport general acceptable-frame-type tagged-only | ||
| exit | exit | ||
| - | ! | + | ! |
| interface Gi1/0/5 | interface Gi1/0/5 | ||
| storm-control broadcast level 10 | storm-control broadcast level 10 | ||
| Line 159: | Line 356: | ||
| exit | exit | ||
| ! | ! | ||
| - | interface Gi1/0/8 | + | interface Gi1/ |
| storm-control broadcast level 10 | storm-control broadcast level 10 | ||
| storm-control broadcast action trap | storm-control broadcast action trap | ||
| Line 182: | Line 379: | ||
| switchport access vlan 500 | switchport access vlan 500 | ||
| exit | exit | ||
| - | ! | + | ! |
| interface Gi1/0/11 | interface Gi1/0/11 | ||
| storm-control broadcast level 10 | storm-control broadcast level 10 | ||
| Line 205: | Line 402: | ||
| switchport general acceptable-frame-type tagged-only | switchport general acceptable-frame-type tagged-only | ||
| switchport access vlan 501 | switchport access vlan 501 | ||
| - | exit | + | exit |
| ! | ! | ||
| interface Gi1/0/14 | interface Gi1/0/14 | ||
| Line 228: | Line 425: | ||
| switchport mode general | switchport mode general | ||
| switchport general acceptable-frame-type tagged-only | switchport general acceptable-frame-type tagged-only | ||
| - | switchport access vlan 501 | + | switchport access vlan 501 |
| exit | exit | ||
| ! | ! | ||
| Line 251: | Line 448: | ||
| storm-control broadcast action trap | storm-control broadcast action trap | ||
| switchport mode general | switchport mode general | ||
| - | switchport general acceptable-frame-type tagged-only | + | switchport general acceptable-frame-type tagged-only |
| switchport access vlan 501 | switchport access vlan 501 | ||
| exit | exit | ||
| Line 274: | Line 471: | ||
| storm-control broadcast level 10 | storm-control broadcast level 10 | ||
| storm-control broadcast action trap | storm-control broadcast action trap | ||
| - | switchport mode general | + | switchport mode general |
| switchport general acceptable-frame-type tagged-only | switchport general acceptable-frame-type tagged-only | ||
| switchport access vlan 501 | switchport access vlan 501 | ||
| Line 297: | Line 494: | ||
| interface Gi1/0/25 | interface Gi1/0/25 | ||
| storm-control broadcast level 10 | storm-control broadcast level 10 | ||
| - | storm-control broadcast action trap | + | storm-control broadcast action trap |
| switchport mode general | switchport mode general | ||
| switchport general acceptable-frame-type tagged-only | switchport general acceptable-frame-type tagged-only | ||
| Line 309: | Line 506: | ||
| switchport general acceptable-frame-type tagged-only | switchport general acceptable-frame-type tagged-only | ||
| switchport access vlan 503 | switchport access vlan 503 | ||
| - | switchport trunk native vlan 102 | ||
| exit | exit | ||
| ! | ! | ||
| Line 321: | Line 517: | ||
| ! | ! | ||
| interface Gi1/0/28 | interface Gi1/0/28 | ||
| - | storm-control broadcast level 10 | + | storm-control broadcast level 10 |
| storm-control broadcast action trap | storm-control broadcast action trap | ||
| switchport mode general | switchport mode general | ||
| Line 344: | Line 540: | ||
| exit | exit | ||
| ! | ! | ||
| - | interface Gi1/0/31 | + | interface Gi1/ |
| storm-control broadcast level 10 | storm-control broadcast level 10 | ||
| storm-control broadcast action trap | storm-control broadcast action trap | ||
| Line 367: | Line 563: | ||
| switchport access vlan 503 | switchport access vlan 503 | ||
| exit | exit | ||
| - | ! | + | ! |
| interface Gi1/0/34 | interface Gi1/0/34 | ||
| storm-control broadcast level 10 | storm-control broadcast level 10 | ||
| Line 390: | Line 586: | ||
| switchport general acceptable-frame-type tagged-only | switchport general acceptable-frame-type tagged-only | ||
| switchport access vlan 503 | switchport access vlan 503 | ||
| - | exit | + | exit |
| ! | ! | ||
| interface Gi1/0/37 | interface Gi1/0/37 | ||
| Line 413: | Line 609: | ||
| exit | exit | ||
| ! | ! | ||
| - | interface Gi1/0/40 | + | interface Gi1/ |
| storm-control broadcast level 10 | storm-control broadcast level 10 | ||
| storm-control broadcast action trap | storm-control broadcast action trap | ||
| Line 436: | Line 632: | ||
| interface Gi1/0/43 | interface Gi1/0/43 | ||
| storm-control broadcast level 10 | storm-control broadcast level 10 | ||
| - | storm-control broadcast action trap | + | storm-control broadcast action trap |
| switchport mode general | switchport mode general | ||
| switchport general acceptable-frame-type tagged-only | switchport general acceptable-frame-type tagged-only | ||
| Line 459: | Line 655: | ||
| storm-control broadcast action trap | storm-control broadcast action trap | ||
| switchport mode general | switchport mode general | ||
| - | switchport general acceptable-frame-type tagged-only | + | switchport general acceptable-frame-type tagged-only |
| exit | exit | ||
| ! | ! | ||
| Line 482: | Line 678: | ||
| description " | description " | ||
| switchport mode trunk | switchport mode trunk | ||
| - | exit | + | exit |
| ! | ! | ||
| interface Te1/0/2 | interface Te1/0/2 | ||
| + | channel-group 1 mode active | ||
| storm-control broadcast level 10 | storm-control broadcast level 10 | ||
| storm-control broadcast action trap | storm-control broadcast action trap | ||
| + | description " | ||
| + | switchport mode trunk | ||
| exit | exit | ||
| ! | ! | ||
| interface Te1/1/1 | interface Te1/1/1 | ||
| - | channel-group 1 mode active | ||
| storm-control broadcast level 10 | storm-control broadcast level 10 | ||
| storm-control broadcast action trap | storm-control broadcast action trap | ||
| - | description " | ||
| - | switchport mode trunk | ||
| exit | exit | ||
| ! | ! | ||
| Line 505: | Line 701: | ||
| description " | description " | ||
| switchport mode trunk | switchport mode trunk | ||
| - | exit | + | exit |
| snmp-server engineid local 800002a203f8b1565751e4 | snmp-server engineid local 800002a203f8b1565751e4 | ||
| + | enable password 2eb1cf41afd5a5ea20a0bf6c86e81e50 encrypted | ||
| exit | exit | ||
| - | | ||
| ---- | ---- | ||
| ---- | ---- | ||
| + | ====== LLDP Enable ====== | ||
| - | ====== How to Configure a Static or Dynamic | + | 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 |
| - | Configure the respective interfaces to the appropriate port channel number, 1-128, using the interface range command. This example uses the interfaces tengigabitethernet 1/0/1 and tengigabitethernet 1/0/2: | + | Versión de software: N3000AdvLite v6.5.3.6 |
| + | Modelo: Dell EMC Networking N3048P | ||
| - | N-Series> en | + | ---- |
| - | N-Series# conf | + | |
| - | N-Series(config)# | + | |
| - | N-Series(config-if)# | + | |
| - | N-Series(config-if)# | + | |
| - | N-Series(config)# | + | |
| - | N-Series(config-if)# | + | |
| - | Note: Avoid using all when configuring a port range for port channels. Specify the exact interfaces. | + | **Objetivo:** |
| + | Espejar el tráfico del puerto Gi1/0/23 hacia el puerto Gi1/0/24 para análisis con Wireshark/ | ||
| - | **Configure the switchport mode and VLAN membership inside the port channel interface. The below command shows how to enter the port channel interface configuration: | + | ---- |
| - | N-Series(config-if)# | + | **Comandos de configuración:** |
| - | + | < | |
| - | **Verify that the respective port channel is active with the command:** | + | 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 | ||
| + | </ | ||
| - | N-Series# show interface port-channel 1 | + | ---- |
| - | **Copy the configuration changes to the startup configuration with the command:** | + | **Verificación:** |
| + | < | ||
| + | show monitor session 1 | ||
| + | </ | ||
| - | N-Series# copy running-config startup-config | + | **Salida esperada:** |
| - | This operation may take a few minutes. Management interfaces are not available during this time. | + | < |
| - | + | Session | |
| - | **The prompt "Are you sure you want to save?" is seen. Answer (y or n)** | + | Admin mode : Enabled |
| - | + | Type : Local session | |
| - | | + | Source ports : |
| - | | + | |
| + | 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: | ||
| + | < | ||
| - | **This process differs in only the first step from above - the definition of the channel group mode (on vs active).** | ||
| - | N-Series> | ||
| - | N-Series# conf | ||
| - | N-Series(config)# | ||
| - | N-Series(config-if)# | ||
| - | N-Series(config-if)# | ||
| - | N-Series(config)# | ||
| - | N-Series(config-if)# | ||
| - | **The remaining steps are identical to the previous section " | ||
| ---- | ---- | ||
| ---- | ---- | ||
| + | |||
dell/switch/dell_emc_switch_n3048p.1719073322.txt.gz · Last modified: 2024/06/22 11:22 by aperez
