Sunday, 22 August 2021

Upgrading Mellanox SN2010 Master/Standby Pair from 1*10GbE Uplink Per Switch to 2*25GbE Uplinks

Scenario

We start with 2 x Mellanox SN2010 switches in a Master/Standby Pair (paired together with an ISL.) We currently have 1 port per SN2010 with 10GbE SFPs in, used to uplink to customers edge switches. The uplink switches are configured with an LACP VPC (both uplinks are active.)

We want to upgrade the uplinks to 25GbE, and also have 2 * 25GbE uplinks per switch (i.e. 4 in total.)

The current relevant configuration (same on both switches) is:

interface mlag-port-channel 101
interface mlag-port-channel 101 description "Uplink"
interface ethernet 1/18 description "Network Uplink"
interface ethernet 1/18 speed 10G force
interface ethernet 1/18 mlag-channel-group 101 mode active
interface mlag-port-channel 101 switchport mode trunk
interface mlag-port-channel 101 no shutdown

Currently port 18 is used as an uplink. We'll add port 17 as an additional uplink.

Walkthrough

Note: It is expected that the relevant upstream switch configuration (4 port LACP VPC across 2 switches) has been completed.

First, verify the config/status of the relevant ports:

Switch# show interface ethernet 1/17
Switch# show interface ethernet 1/18
Switch# show interface mlag-port-channel 101


Switch1 – Upgrade uplink to 25GB

Switch1> enable
Switch1# write mem
Switch1# config t
Switch1(config)# interface ethernet 1/18 shutdown
Switch1(config)# interface ethernet 1/18 no mlag-channel-group
Switch1(config)# interface ethernet 1/18 speed 25G force
Switch1(config)# interface ethernet 1/18 mtu 9216
Switch1(config)# interface ethernet 1/18 switchport mode trunk
Switch1(config)# interface ethernet 1/18 mlag-channel-group 101 mode active
Switch1(config)# interface ethernet 1/18 no shutdown
Switch1(config)# exit
Switch1# show interface ethernet 1/18

Verify port 1/18 is up. If all is good, run a “write mem”.

Switch1# write mem

Switch2 – Upgrade uplink to 25GB

Switch2> enable
Switch2# write mem
Switch2# config t
Switch2(config)# interface ethernet 1/18 shutdown
Switch2(config)# interface ethernet 1/18 no mlag-channel-group
Switch2(config)# interface ethernet 1/18 speed 25G force
Switch2(config)# interface ethernet 1/18 mtu 9216
Switch2(config)# interface ethernet 1/18 switchport mode trunk
Switch2(config)# interface ethernet 1/18 mlag-channel-group 101 mode active
Switch2(config)# interface ethernet 1/18 no shutdown
Switch2(config)# exit
Switch2# show interface ethernet 1/18

Verify port 1/18 is up. If all is good, run a “write mem”.

Switch2# write mem

Switch1 – Configure second 25GB uplink

Switch1# config t
Switch1(config)# interface ethernet 1/17 shutdown
Switch1(config)# interface ethernet 1/17 speed 25G force
Switch1(config)# interface ethernet 1/17 mtu 9216
Switch1(config)# interface ethernet 1/17 switchport mode trunk
Switch1(config)# interface ethernet 1/17 mlag-channel-group 101 mode active
Switch1(config)# interface ethernet 1/17 no shutdown
Switch1(config)# exit
Switch1# show interface ethernet 1/17

Verify port 1/17 is up. If all is good, run a “write mem”.

Switch1# write mem

Switch2 – Configure second 25GB uplink

Switch2# config t
Switch2(config)# interface ethernet 1/17 shutdown
Switch2(config)# interface ethernet 1/17 speed 25G force
Switch2(config)# interface ethernet 1/17 mtu 9216
Switch2(config)# interface ethernet 1/17 switchport mode trunk
Switch2(config)# interface ethernet 1/17 mlag-channel-group 101 mode active
Switch2(config)# interface ethernet 1/17 no shutdown
Switch2(config)# exit
Switch2# show interface ethernet 1/17

Verify port 1/17 is up. If all is good, run a “write mem”.

Switch2# write mem

THE END