canu --version
to see version.For this procedure, log in to ncn-m001
as an administrative user. The log in should be over the site connection (lan0
), not the CMN, to prevent loss of connectivity to the system.
(ncn-m001#
) Use CANU to backup the switch running configurations.
Enter the switch administrative password when prompted.
mkdir switch-upgrades-csm-1.3
cd switch-upgrades-csm-1.3
canu backup network --folder 1.2
(ncn-m001#
) Stage the CANU-generated CSM 1.3 switch configurations in the switch-upgrades-csm-1.3/1.3
directory.
Understanding the switch configuration changes is critical. The following configurations risk a network outage, if not applied correctly:
--custom-configuration
flag).(ncn-m001#
) Use CANU to see the differences between the 1.2 and 1.3 switch configurations.
canu validate switch config --running ./1.2/sw-spine-002.cfg --generated ./1.3/sw-spine-002.cfg --vendor mellanox
Apply the changed switch configurations.
CANU remediation configurations are not supported on Mellanox. Switch changes must be manually applied on the switch based on the configuration differences.
(switch#
) Enter configuration mode and show the banner.
enable
configure terminal
show banner
Example output of the show banner
command:
Banners:
Message of the Day (MOTD):
###############################################################################
# CSM version: 1.3
# CANU version: 1.6.7
###############################################################################
Login:
NVIDIA Onyx Switch Management
Logout:
(switch#
) Save the configuration based on the banner output.
configuration write to csm1.3-canu1.6.5
(ncn-m001#
) Use CANU to see the differences between the 1.2 and 1.3 switch configurations.
canu validate switch config --running 1.2/sw-leaf-bmc-001.cfg --generated 1.3/sw-leaf-bmc-001.cfg --vendor dell --remediation
Apply the remediation switch configurations.
(switch#
) Save the configuration.
copy config://startup.xml config://csm1.2-canu1.6.5
Example output:
Copy completed
(ncn-m001#
) Use CANU to see the differences between the 1.2 and 1.3 switch configurations.
canu validate switch config --running ./1.2/sw-spine-002.cfg --generated ./1.3/sw-spine-002.cfg --vendor aruba --remediation
Apply the remediation switch configurations.
Do this in two stages:
Apply just the prefix-list
and route-maps
.
Apply the remaining configuration.
(switch#
) Show the configuration version.
configure terminal
show banner motd
Example output of the show banner motd
command:
###############################################################################
# CSM version: 1.3
# CANU version: 1.6.7
###############################################################################
(switch#
) Save the configuration.
write memory
copy running-config checkpoint CSM1_3_CANU_1_6_7
(ncn-m001#
) Use CANU to see the differences between the 1.2 and 1.3 switch configurations.
canu validate switch config --running surtur/1.2/sw-leaf-bmc-001.cfg --generated surtur/1.3/sw-leaf-bmc-001.cfg --vendor aruba --remediation
Apply the remediation switch configurations.
Do this in two stages:
Apply just the prefix-list
and route-maps
.
Apply the remaining configuration.
(switch#
) Show the configuration version.
configure terminal
show banner motd
Example output of the show banner motd
command:
###############################################################################
# CSM version: 1.3
# CANU version: 1.6.7
###############################################################################
(switch#
) Save the configuration.
write memory
copy running-config checkpoint CSM1_3_CANU_1_6_7