Upgrading software ··················································································································································· 95
Overview ········································································································································································· 95
Software types ······················································································································································· 95
System startup process ·········································································································································· 97
Upgrade methods ·························································································································································· 97
Upgrade procedure summary ······································································································································· 97
Preparing for the upgrade ············································································································································ 98
Software upgrade examples ······································································································································· 103
Managing the device ·············································································································································· 105
Configuring the device name ····································································································································· 105
Setting the system time ················································································································································· 105
Configuring banners ···················································································································································· 107
Banner types ························································································································································ 107
Banner input modes ············································································································································ 107
Configuration procedure ···································································································································· 108
Rebooting the device ··················································································································································· 108
Configuration guidelines ···································································································································· 109
Scheduling a device reboot ······························································································································· 109
Scheduling a task ························································································································································· 109
Configuration guidelines ···································································································································· 110
Configuration procedure ···································································································································· 110
Schedule configuration example ······················································································································· 112
Monitoring the CPU usage ·········································································································································· 115
Setting memory alarm thresholds ······························································································································· 117
Verifying transceiver modules ···························································································································· 119
Diagnosing transceiver modules ························································································································ 120
Using Python ···························································································································································· 123
Entering the Python shell ····································································································································· 123
Executing a Python script ···································································································································· 123
Python usage example ················································································································································· 123
Comware V7 extended Python API ······················································································································· 125
CLI class ································································································································································ 125
Transfer class ······················································································································································· 127
API get_self_slot ··················································································································································· 128
iv