v
Setting the system time ······································································································ 133
Enabling displaying the copyright statement ·················································································· 134
Configuring banners ················································································································· 134
Banner types ···················································································································· 134
Banner input modes ··········································································································· 134
Configuration procedure ····································································································· 135
Setting the table capacity mode ·································································································· 136
Rebooting the device ················································································································ 136
Configuration guidelines ····································································································· 137
Rebooting devices immediately at the CLI ·············································································· 137
Scheduling a device reboot ································································································· 137
Scheduling a task ····················································································································· 137
Configuration guidelines ····································································································· 137
Configuration procedure ····································································································· 138
Schedule configuration example ··························································································· 139
Disabling password recovery capability ························································································ 143
Specifying the preferred airflow direction ······················································································ 143
Setting the port status detection timer ·························································································· 144
Configuring CPU usage monitoring ······························································································ 144
Setting memory thresholds ········································································································ 144
Configuring the temperature alarm thresholds ··············································································· 146
Disabling all USB interfaces ······································································································· 146
Verifying and diagnosing transceiver modules ··············································································· 147
Verifying transceiver modules ······························································································ 147
Diagnosing transceiver modules ··························································································· 147
Specifying an ITU channel number for a transceiver module ···························································· 148
Restoring the factory-default settings and states ············································································ 148
Displaying and maintaining device management configuration ·························································· 149
Using Tcl ···················································································· 151
Tcl usage guidelines and restrictions ··························································································· 151
Executing Comware commands in Tcl configuration view ································································ 151
Using Python ··············································································· 153
Entering the Python shell ··········································································································· 153
Executing a Python script ·········································································································· 153
Python usage example ·············································································································· 153
Network requirements ········································································································ 153
Configuration procedure ····································································································· 153
Verifying the configuration ··································································································· 154
Comware V7 extended Python API ·················································· 155
Importing and using the Comware V7 extended Python API ····························································· 155
Comware V7 extended Python API functions················································································· 155
CLI class ························································································································· 155
Transfer class ··················································································································· 157
API get_self_slot ··············································································································· 158
API get_standby_slot ········································································································· 158
Using automatic configuration ························································· 160
Overview ································································································································ 160
Automatic configuration task list ·································································································· 160
Configuring the file server ··································································································· 161
Preparing the files for automatic configuration ········································································· 161
Configuring the DHCP server ······························································································ 162
Configuring the DNS server ································································································· 163
Configuring the gateway ····································································································· 163
Selecting the interfaces used for automatic configuration ·························································· 164
Starting and completing automatic configuration ······································································ 164
Automatic configuration examples ······························································································· 164
Automatic configuration using TFTP server ············································································ 164
Automatic configuration using HTTP server and Tcl script ························································· 169