The following PowerShell cmdlets are available for performing
switch configuration functions.
Backup-LXCASwitchConfig
This cmdlet backs up configuration data for a RackSwitch or Flex System switch. When backing up configuration data, the switch configuration data is imported into Lenovo XClarity Administrator from the target switch as a configuration-data file.
Get-LXCASwitchConfigData
This cmdlet retrieves information about configuration-data files for RackSwtich and Flex System switches.
Get-LXCASwitchConfigFile
This cmdlet downloads (exports) one or more switch configuration-data files to the local system.
Import-LXCASwitchConfig
This cmdlet imports a switch configuration-data file from the local system into Lenovo XClarity Administrator.
Remove-LXCASwitchConfigFile
This cmdlet deletes a switch configuration-data file from Lenovo XClarity Administrator.
Restore-LXCASwitchConfig
This cmdlet restores configuration data for a RackSwitch or Flex System switch. The switch configuration-data file is downloaded from Lenovo XClarity Administrator to the target switch, and the configuration takes effect automatically.
Set-LXCASwitchPort
This cmdlet enables or disables ports on a managed RackSwitch or Flex System switch.