The bill-server command enables the Router to automatically transfer local bills to a specified bill server.
The undo bill-server command cancels the configuration.
By default, no bill server is configured, so that the device cannot automatically transfer local bills to a bill server.
This command is supported only on the NetEngine 8000 F1A.
Parameter | Description | Value |
---|---|---|
ip-address |
Specifies the IP address of a bill server. |
The value is in dotted decimal notation. |
filename file-name |
Specifies a file used to store bills on a bill server. |
The value is a string of 1 to 30 characters. |
user-name user-name |
Sets a user name used to set up an SFTP session with a bill server. |
The value is a string of 1 to 64 characters. |
cipher cipher-password |
Sets a password used to set up an SFTP session with a bill server. Only cipher-text passwords are supported. |
The value is a character string. If the input string is not encrypted, the string can contain 1 to 16 characters. If the input string is encrypted, the string can contain 1 to 128 characters |
port |
Sets a port number used to set up an SFTP session with a bill server. |
The value is an integer ranging from 1 to 65535. |
Usage Scenario
Local bills are stored in the bill pool or CF card. Due to their limited capacities, newly generated bills will not be saved when the local storage space is full. To resolve this issue, run the bill-server command to enable the device to automatically transfer local bills to a bill server. Then, local bills will be deleted from the bill pool or CF card to release storage space.
Both TFTP and SFTP bill transfer modes are supported. The SFTP mode is recommended, because the TFTP mode is insecure.Precautions
In VS mode, this command is supported only by the admin VS.
To use the SFTP bill transfer mode, you must specify the user-name, password cipher, and port parameters.<HUAWEI> system-view [~HUAWEI] local-aaa-server [~HUAWEI-local-aaa-server] bill-server 10.10.10.1 filename billfile user-name huawei password cipher Root@123 22