bill-server

Function

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.

Format

bill-server ip-address filename file-name [ user-name user-name password cipher cipher-password port ]

undo bill-server

Parameters

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.

Views

Local AAA server view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
aaa-access write

Usage Guidelines

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.

Example

# Specify a bill server, with the IP address as 10.10.10.1, file name as billfile, user name as huawei, password as Root@123, and port number as 22.
<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
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >