Running canu with no arguments displays high level help.
To see a list of commands and arguments, append --help. For example:
canu --help
To get help for a specific command (in this example, validating network cabling):
canu validate network cabling --help
When running CANU, the CSM version is required; it is specified with --csm. For example:
canu --csm 1.5
Make a new directory to save switch IP addresses.
mkdir ips_folder
cd ips_folder
Parse the CSI generated sls_input_file.json and save switch IP addresses.
canu -s 1.5 init --csi-folder /var/www/prep/SYSTEMNAME/ --out ips.txt
canu -s 1.5 network firmware --ips-file ips.txt
canu -s 1.5 network cabling --ips-file ips.txt
canu -s 1.5 validate bgp --ips-file ips.txt –verbose
canu -s 1.5 validate cabling --ips-file ips.txt
With the system’s SHCD, CANU can also validate the configuration and cabling.
canu -s 1.5 validate shcd --shcd SHCD.xlsx
canu -s 1.5 validate shcd-cabling --shcd SHCD.xlsx --ips-file ips.txt
canu -s 1.5 network config --shcd SHCD.xlsx --csi-folder /var/www/prep/SYSTEMNAME/ --folder configs