
iv
Upgrading software···················································································································································95
Overview········································································································································································· 95
Software types ······················································································································································· 95
Software file naming conventions························································································································ 96
Comware image redundancy and loading procedure ····················································································· 96
System startup process·········································································································································· 97
Upgrade methods ·························································································································································· 97
Upgrade procedure summary······································································································································· 97
Preparing for the upgrade ············································································································································ 98
Preloading the BootWare image to BootWare ·········································································································· 98
Specifying the startup image file and completing the upgrade (in standalone mode)··········································· 99
Specifying the startup image file and completing the upgrade (in IRF mode) ······················································100
Restoring or downgrading the BootWare image ·····································································································101
Displaying and maintaining software image settings ······························································································102
Software upgrade examples·······································································································································103
Software upgrade example (for standalone mode)·························································································103
Software upgrade example (for IRF mode)·······································································································103
Managing the device·············································································································································· 105
Configuring the device name ·····································································································································105
Setting the system time·················································································································································105
Specifying the system time source······························································································································106
Enabling displaying the copyright statement ············································································································106
Configuring banners····················································································································································107
Banner types ························································································································································107
Banner input modes ············································································································································107
Configuration procedure ····································································································································108
Rebooting the device ···················································································································································108
Configuration guidelines ····································································································································109
Rebooting devices immediately at the CLI ········································································································109
Scheduling a device reboot ·······························································································································109
Scheduling a task·························································································································································109
Configuration guidelines ····································································································································110
Configuration procedure ····································································································································110
Schedule configuration example ·······················································································································112
Disabling password recovery capability ···················································································································115
Setting the port status detection timer ························································································································115
Monitoring the CPU usage··········································································································································115
Setting memory alarm thresholds ·······························································································································117
Configuring the temperature alarm thresholds··········································································································118
Verifying and diagnosing transceiver modules ········································································································119
Verifying transceiver modules ····························································································································119
Diagnosing transceiver modules························································································································120
Displaying and maintaining device management configuration ············································································120
Using Python···························································································································································· 123
Entering the Python shell·····································································································································123
Executing a Python script····································································································································123
Python usage example·················································································································································123
Comware V7 extended Python API ······················································································································· 125
Importing and using the Comware V7 extended Python API··················································································125
Comware V7 extended Python API functions············································································································125
CLI class································································································································································125
Transfer class ·······················································································································································127
API get_self_slot···················································································································································128