Duplicate config for ports 35 thru 38 from uab-tic-hpc2-1-u43-leaf2 to uab-tic-hpc2-1-u44-leaf1
During the Integration Meeting today, we discussed the planned move of AMD nodes and 1 x S5248-ON switch Feb 26 - 29 to TIC HPCR1 and DCB DH2
To prepare for this move, we need to duplicate config for ports 35 thru 38 from uab-tic-hpc2-1-u43-leaf2
to uab-tic-hpc2-1-u44-leaf1
Switch uab-tic-hpc2-1-u43-leaf2
will move from TIC to DCB DH2 along with c0220 - c0235
This switch only hosts the AMD nodes (all of which are moving to DCB DH2 and TIC HPCR1) and the following 4 interfaces:
- 1/1/35 - rc-gwfw1 - ens2f0
- 1/1/36 - login004
- 1/1/37 - login005
- 1/1/38 - rc-gwfw1 - eno1
I need to duplicate the configuration of these 4 interfaces on uab-tic-hpc2-1-u44-leaf1
using the same interface numbers (currently open) along with port-channel 30
(also available)
$ for int in {35..39}; do ssh -q admin@uab-tic-hpc2-1-u43-leaf2 "show running-configuration interface ethernet 1/1/$int"; done
!
interface ethernet1/1/35
description "HPC1R1-U41 ens2f0 rc-gwfw1"
no shutdown
channel-group 30 mode active
no switchport
flowcontrol receive off
flowcontrol transmit off
lacp rate fast
!
interface ethernet1/1/36
description "HPC1R1-U37 - login004"
no shutdown
switchport mode trunk
switchport access vlan 492
switchport trunk allowed vlan 491,2050,2052,2054
flowcontrol receive off
!
interface ethernet1/1/37
description "HPC1R1-U39 - login005"
no shutdown
switchport mode trunk
switchport access vlan 492
switchport trunk allowed vlan 491,2050,2052,2054
flowcontrol receive off
!
interface ethernet1/1/38
description "HPC1R1-U41 eno1 rc-gwfw1"
no shutdown
channel-group 30 mode active
no switchport
flowcontrol receive off
flowcontrol transmit off
lacp rate fast
Port channel 30
uab-tic-hpc2-1-u43-leaf2# show running-configuration interface port-channel 30
!
interface port-channel30
description rc-gwfw
no shutdown
switchport mode trunk
switchport access vlan 1
switchport trunk allowed vlan 3,491-495,498,500,2048-2052,2060,2063-2064,3001
mtu 9216