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 15:30] – aperez | dell:switch:dell_emc_switch_n3048p [2025/02/20 10:21] (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 23: | Line 36: | ||
| | ||
console(config)# | console(config)# | ||
- | | + | |
---- | ---- | ||
---- | ---- | ||
+ | |||
====== Setting login access on the switch ====== | ====== Setting login access on the switch ====== | ||
Line 44: | 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 59: | Line 117: | ||
console(config)# | console(config)# | ||
console(config)# | console(config)# | ||
+ | |||
---- | ---- | ||
---- | ---- | ||
Line 73: | Line 132: | ||
---- | ---- | ||
---- | ---- | ||
+ | |||
+ | ====== 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 95: | Line 218: | ||
name " | name " | ||
exit | exit | ||
- | vlan 504 | + | vlan 504 |
name " | name " | ||
exit | exit | ||
Line 118: | Line 241: | ||
vlan 511 | vlan 511 | ||
name " | name " | ||
- | exit | + | exit |
vlan 512 | vlan 512 | ||
name " | name " | ||
Line 141: | Line 264: | ||
exit | exit | ||
vlan 519 | vlan 519 | ||
- | name " | + | name " |
exit | exit | ||
vlan 520 | vlan 520 | ||
Line 161: | 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 178: | 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 201: | 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 224: | 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 247: | 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 270: | 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 293: | 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 316: | 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 339: | 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 362: | 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 374: | 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 386: | 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 409: | 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 432: | 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 455: | 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 478: | 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 501: | 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 524: | 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 547: | 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 570: | 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)# | ||
---- | ---- | ||
- | |||
- | |||
- | '' | ||
- | |||
- | 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 " | ||
- | ---- | ||
- | ---- | ||
dell/switch/dell_emc_switch_n3048p.1721680208.txt.gz · Last modified: 2024/07/22 15:30 by aperez