stormshift / support

This repo should serve as a central source for reporting issues with stormshift
GNU General Public License v3.0
3 stars 0 forks source link

Enable & Configure new Arista switch (arista-sfp) #121

Closed rbo closed 10 months ago

rbo commented 1 year ago

/cc @dmoessne

rbo commented 1 year ago
arista-sfp(config)#show hardware port-group

Portgroup: 1    Active Ports: Et5/1-4
Port            State       
------------------------------------------
Ethernet1       Inactive    
Ethernet2       Inactive    
Ethernet3       Inactive    
Ethernet4       Inactive    
Ethernet5/1     Active      
Ethernet5/2     Active      
Ethernet5/3     Active      
Ethernet5/4     Active      

arista-sfp(config)#hardware port-group 1 select Et1-4
! 
                  WARNING!
   Changing the port-group mode will cause all
   interfaces on the switch to flap.

Do you wish to proceed with this command? [y/N]y
arista-sfp(config)#show hardware port-group 

Portgroup: 1    Active Ports: Et1-4
Port            State       
------------------------------------------
Ethernet1       Active      
Ethernet2       Active      
Ethernet3       Active      
Ethernet4       Active      
Ethernet5/1     Inactive    
Ethernet5/2     Inactive    
Ethernet5/3     Inactive    
Ethernet5/4     Inactive    
rbo commented 1 year ago

Configured vlans:

vlan 9
   name storage
!
vlan 32
   name coe
!
vlan 55
   name bla_ocp
!
vlan 239
   name ceph-internal
rbo commented 1 year ago

Resource:

rbo commented 1 year ago

Existing arista switch renamed from arista into arista-rj45

arista(config)#hostname arista-rj45
arista-rj45(config)#write memory 
Copy completed successfully.
arista-rj45(config)#copy running-config startup-config 
Copy completed successfully.
arista-rj45(config)#
rbo commented 1 year ago

Disabled enable password at arista-sfp

arista-sfp#config
arista-sfp(config)#no enable password
rbo commented 1 year ago

Configure all ports:

arista-sfp(config-if-Et6/1-7/4)#interface ethernet 6/1-36
arista-sfp(config-if-Et6/1-36)#switchport trunk native vlan 32
arista-sfp(config-if-Et6/1-36)#switchport trunk allowed vlan 9,32
arista-sfp(config-if-Et6/1-36)#switchport mode trunk
arista-sfp(config-if-Et6/1-36)#
rbo commented 1 year ago

Changed 1 connection to 4 connection between arista switches

arista-sfp(config)#show interfaces Et1-Et4 status
Port       Name                Status       Vlan     Duplex Speed  Type         Flags Encapsulation
Et1        Link to arista-rj45 connected    trunk    full   10G    10GBASE-CR                     
Et2                            notconnect   trunk    full   10G    Not Present                    
Et3                            notconnect   trunk    full   10G    Not Present                    
Et4                            notconnect   trunk    full   10G    Not Present                    

arista-sfp(config)#interface Et1-Et4
arista-sfp(config-if-Et1-4)#channel-group 10 mode active
arista-sfp(config-if-Et1-4)#interface Et1-Et4
arista-sfp(config-if-Et1-4)#show interfaces Et1-Et4 status
Port       Name                Status       Vlan     Duplex Speed  Type         Flags Encapsulation
Et1        Link to arista-rj45 connected    in Po10  full   10G    10GBASE-CR                     
Et2                            notconnect   in Po10  full   10G    Not Present                    
Et3                            notconnect   in Po10  full   10G    Not Present                    
Et4                            notconnect   in Po10  full   10G    Not Present                    

arista-sfp(config-if-Et1-4)#description Link to arista-rj45

arista-rj45(config-if-Et46)#show interfaces Et41-48 status
Port       Name               Status       Vlan        Duplex  Speed Type        
Et41       NetApp1            connected    trunk         full    10G 10GBASE-CR  
Et42       NetApp2            connected    trunk         full    10G 10GBASE-CR  
Et43       inf48              connected    trunk         full    10G 10GBASE-CR  
Et44       Link to coe-ucs-a  connected    trunk         full    10G 10GBASE-CR  
Et45       Link to arista-sfp connected    trunk         full    10G 10GBASE-CR  
Et46                          notconnect   trunk         full    10G 10GBASE-CR  
Et47                          notconnect   trunk         full    10G 10GBASE-CR  
Et48                          notconnect   trunk         full    10G 10GBASE-CR  

arista-rj45(config-if-Et46)#interface Et45-Et48
arista-rj45(config-if-Et45-48)#channel-group 10 mode active
arista-rj45(config-if-Et45-48)#interface Et45-Et48
arista-rj45(config-if-Et45-48)#show interfaces Et45-48 status
Port       Name               Status       Vlan        Duplex  Speed Type        
Et45       Link to arista-sfp connected    in Po10       full    10G 10GBASE-CR  
Et46                          notconnect   in Po10       full    10G 10GBASE-CR  
Et47                          notconnect   in Po10       full    10G 10GBASE-CR  
Et48                          notconnect   in Po10       full    10G 10GBASE-CR  

arista-rj45(config-if-Et45-48)#description Link to arista-sfp
rbo commented 10 months ago

It's up and running...