User Tools

Site Tools


dell:switch:dell_emc_switch_n3048p

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
dell:switch:dell_emc_switch_n3048p [2024/07/22 15:30] aperezdell: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#**show interfaces status | include Up** 
 + 
 + 
 +---- 
 +---- 
 + 
 + 
 +CLI Reference Guide ======
  
 {{ :aruba_networks:switch:all-products_esuprt_ser_stor_net_esuprt_networking_esuprt_net_fxd_prt_swtchs_networking-n3000-series_user_s-guide11_en-us.pdf |}} {{ :aruba_networks:switch:all-products_esuprt_ser_stor_net_esuprt_networking_esuprt_net_fxd_prt_swtchs_networking-n3000-series_user_s-guide11_en-us.pdf |}}
Line 23: Line 36:
      
   console(config)# ip default-gateway 192.168.0.1   console(config)# ip default-gateway 192.168.0.1
-  +
 ---- ----
 ---- ----
 +
 ====== 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)# no ip ssh server
   console(config)# crypto key generate dsa   console(config)# crypto key generate dsa
   console(config)# crypto key generate rsa   console(config)# crypto key generate rsa
   console(config)# ip ssh server   console(config)# ip ssh server
 +  
 +  Note: Caution: Before disabling either telnet or HTTP access, verify SSH or HTTPS access.
 +  
 +  console(config)# ip telnet server disable
 +  console(config)# no ip http secure-server
   console(config)# crypto certificate 1 generate   console(config)# crypto certificate 1 generate
   console(config-crypto-cert)# key-generate   console(config-crypto-cert)# key-generate
   console(config-crypto-cert)# exit   console(config-crypto-cert)# exit
 +  console(config)# ip http secure-certificate <1 - 2> Instance of the certificate to be activated.
   console(config)# ip http secure-server   console(config)# ip http secure-server
 +  
 +  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)# ip http secure-certificate 2
 +  
 +  console(config)# no ip http server
 +  console(config)#end
 +  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)# ip telnet server disable   console(config)# ip telnet server disable
   console(config)# no ip http server   console(config)# no ip http server
 +
 ---- ----
 ---- ----
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)======
 +
 +
 +----
 +
 +
 +''**Creating a dynamic port channel using Link Aggregation Control Protocol (LACP)**''
 +
 +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> en
 +  N-Series# conf
 +  N-Series(config)# interface tengigabitethernet 1/0/1
 +  N-Series(config-if)# channel-group 1 mode active
 +  N-Series(config-if)# exit
 +  N-Series(config)# interface tengigabitethernet 1/0/2
 +  N-Series(config-if)# channel-group 1 mode active
 +
 +  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)# interface port-channel 1
 + 
 +**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!
 +  
 +
 +----
 +
 +''**Creating a Static port channel**''
 +
 +**This process differs in only the first step from above - the definition of the channel group mode (on vs active).**
 +
 +  N-Series> en
 +  N-Series# conf
 +  N-Series(config)# interface tengigabitethernet 1/0/1
 +  N-Series(config-if)# channel-group 1 mode on
 +  N-Series(config-if)# exit
 +  N-Series(config)# interface tengigabitethernet 1/0/2
 +  N-Series(config-if)# channel-group 1 mode on
 +
 +**The remaining steps are identical to the previous section "Creating a dynamic port channel using Link Aggregation Control Protocol (LACP)"**
 +
 +----
 +----
 +
 +====== Example code ======
 +
 +
 +----
 +
 +  
      
   !Current Configuration:   !Current Configuration:
Line 95: Line 218:
   name "ISP2"   name "ISP2"
   exit   exit
-  vlan 504+  vlan 504      
   name "ISP3"   name "ISP3"
   exit   exit
Line 118: Line 241:
   vlan 511   vlan 511
   name "Students"   name "Students"
-  exit+  exit                  
   vlan 512   vlan 512
   name "Accounting"   name "Accounting"
Line 141: Line 264:
   exit   exit
   vlan 519   vlan 519
-  name "IoT"+  name "IoT"                  
   exit   exit
   vlan 520   vlan 520
Line 161: Line 284:
   name "VLAN525"   name "VLAN525"
   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 dhcp+  ip address 172.16.28.33 255.255.254.0
   exit   exit
 +  ip default-gateway 172.16.28.1
   username "sd" password 657d6639dcbd9211a547501784b1a559 privilege 15 encrypted   username "sd" password 657d6639dcbd9211a547501784b1a559 privilege 15 encrypted
 +  username "manager" password 2eb1cf41afd5a5ea20a0bf6c86e81e50 privilege 15 encrypted
 +  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/0/                 
   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/0/31                  
   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/0/40                  
   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 "Core_Aruba_6400_switch_connection_IP:_172.16.28.1"   description "Core_Aruba_6400_switch_connection_IP:_172.16.28.1"
   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 "Core_Aruba_6400_switch_connection_IP:_172.16.28.1"
 +  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 "Core_Aruba_6400_switch_connection_IP:_172.16.28.1" 
-  switchport mode trunk 
   exit   exit
   !   !
Line 570: Line 701:
   description "Core_Aruba_6400_switch_connection_IP:_172.16.28.1"   description "Core_Aruba_6400_switch_connection_IP:_172.16.28.1"
   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 Port-Channel on a Dell Networking N Series switch running OS6 (Dell EMC Networking Switch N3048P)======+  console(config)#lldp med all 
 +  console(config)#lldp med confignotification all 
 +   
 +  console(config)#show lldp local-device all 
 +  LLDP Local Device Summary 
 +   
 +  Interface  Port ID               Port Description 
 +  ---------  --------------------  -------------------- 
 +  Gi1/0/   Gi1/0/              SERVICE_TECHNOLO ... 
 +  Gi1/0/   Gi1/0/              SERVICE_TECHNOLO ... 
 +  Gi1/0/   Gi1/0/              SERVICE_TECHNOLO ... 
 +  Gi1/0/   Gi1/0/              SERVICE_TECHNOLO ... 
 +  Gi1/0/   Gi1/0/              SERVICE_TECHNOLO ... 
 +  Gi1/0/   Gi1/0/              LAN-UTM_test_port 
 +  Gi1/0/   Gi1/0/              LAN-UTM_test_port 
 +  Gi1/0/   Gi1/0/              ISP1_test_port 
 +  Gi1/0/   Gi1/0/              ISP1_test_port 
 +  Gi1/0/10   Gi1/0/10              ISP2_test_port 
 +  Gi1/0/11   Gi1/0/11              ISP2_test_port 
 +  Gi1/0/12   Gi1/0/12 
 +  Gi1/0/13   Gi1/0/13              UTM_LAN_IP_172.1 ... 
 +  Gi1/0/14   Gi1/0/14              MPLS_IP_192.168. ... 
 +  Gi1/0/15   Gi1/0/15              UTM_LAN_IP_172.1 ... 
 +  Gi1/0/16   Gi1/0/16              MPLS_IP_192.168. ... 
 +  Gi1/0/17   Gi1/0/17 
 +  Gi1/0/18   Gi1/0/18              MPLS_IP_192.168. ... 
 +  Gi1/0/19   Gi1/0/19 
 +  Gi1/0/20   Gi1/0/20              MPLS_IP_192.168. ... 
 +  Gi1/0/21   Gi1/0/21 
 +  Gi1/0/22   Gi1/0/22 
 +  Gi1/0/23   Gi1/0/23 
 +  Gi1/0/24   Gi1/0/24 
 +  Gi1/0/25   Gi1/0/25 
 +  Gi1/0/26   Gi1/0/26 
 +  Gi1/0/27   Gi1/0/27 
 +  Gi1/0/28   Gi1/0/28 
 +  Gi1/0/29   Gi1/0/29 
 +  Gi1/0/30   Gi1/0/30 
 +  Gi1/0/31   Gi1/0/31 
 +  Gi1/0/32   Gi1/0/32 
 +  Gi1/0/33   Gi1/0/33 
 +  Gi1/0/34   Gi1/0/34 
 +  Gi1/0/35   Gi1/0/35 
 +  Gi1/0/36   Gi1/0/36 
 +  Gi1/0/37   Gi1/0/37 
 +  Gi1/0/38   Gi1/0/38 
 +  Gi1/0/39   Gi1/0/39 
 +  Gi1/0/40   Gi1/0/40 
 +  Gi1/0/41   Gi1/0/41              ISP2_OPERATOR_LA ... 
 +  Gi1/0/42   Gi1/0/42              ISP2_OPERATOR_LA ... 
 +  Gi1/0/43   Gi1/0/43 
 +  Gi1/0/44   Gi1/0/44 
 +  Gi1/0/45   Gi1/0/45              VLAN500_VM_TEST_PORT 
 +  Gi1/0/46   Gi1/0/46              VLAN500_VM_TEST_PORT 
 +  Gi1/0/47   Gi1/0/47              UTM_OLD_PORT_WAN ... 
 +  Gi1/0/48   Gi1/0/48              UTM_OLD_PORT_WAN ... 
 +  Te1/0/   Te1/0/              Core_Aruba_6400_ ... 
 +  Te1/0/   Te1/0/              Core_Aruba_6400_ ... 
 +  Te1/1/   Te1/1/1 
 +  Te1/1/   Te1/1/              ISP_PSLightWave_ ... 
 +   
 +  console(config)# 
 +   
 +  console(config)#show lldp remote-device all 
 +  LLDP Remote Device Summary 
 +  Local 
 +  Interface RemID   Chassis ID          Port ID           System Name 
 +  --------- ------- ------------------- ----------------- ----------------- 
 +  Te1/0/  16      EC:67:94:F5:69:00   1/3/33              CS-2P-MDFHA-A 
 +  Te1/0/  15      EC:67:94:F5:89:00   1/3/33              CS-2P-MDFHA-B 
 +  Te1/1/  25      50:C7:09:A6:65:FF   xe-0/1/3            JN2300_StFranc... 
 +  console(config)#
  
  
 ---- ----
- 
- 
-''**Creating a dynamic port channel using Link Aggregation Control Protocol (LACP)**'' 
- 
-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> en 
-  N-Series# conf 
-  N-Series(config)# interface tengigabitethernet 1/0/1 
-  N-Series(config-if)# channel-group 1 mode active 
-  N-Series(config-if)# exit 
-  N-Series(config)# interface tengigabitethernet 1/0/2 
-  N-Series(config-if)# channel-group 1 mode active 
- 
-  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)# interface port-channel 1 
-  
-**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! 
-   
- 
 ---- ----
  
-''**Creating a Static port channel**'' 
- 
-**This process differs in only the first step from above - the definition of the channel group mode (on vs active).** 
- 
-  N-Series> en 
-  N-Series# conf 
-  N-Series(config)# interface tengigabitethernet 1/0/1 
-  N-Series(config-if)# channel-group 1 mode on 
-  N-Series(config-if)# exit 
-  N-Series(config)# interface tengigabitethernet 1/0/2 
-  N-Series(config-if)# channel-group 1 mode on 
- 
-**The remaining steps are identical to the previous section "Creating a dynamic port channel using Link Aggregation Control Protocol (LACP)"** 
----- 
----- 
  
  
  
dell/switch/dell_emc_switch_n3048p.1721680208.txt.gz · Last modified: 2024/07/22 15:30 by aperez

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki