The display local-bill cache command displays the information about specified bills in the local bill pool.
The display local-bill information command displays the configurations of the local bill function and the usage of the CF card or local bill pool.
This command is supported only on the NetEngine 8000 F1A.
If a RADIUS server is configured to implement the accounting for access users or value-added services, the device allows the generation of local bills under the following scenarios:
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display local-bill information
Cache-Used-Information:
Bills: 0 Void-No: 49152
Max-Volume: 49152 Alarm-Threshold: 75%(36864)
Bill-Size: 296 Locked: No
Cfcard or Hd-Bill-Information:
Bills-Num: 0
Max-Volume: 235410 Alarm-Threshold: 85%(200098)
<HUAWEI> display local-bill cache 1 1
Contents of Bill 1:
--------------------------------------------------------------
Bill-No : 1
Session-Id: ME60-1007002000000100ee7075000024
User-name : user1@huawei
Start-Time: 2016/11/24 18:04:42
Stop-Time : 2016/11/24 18:06:17 Elapse : 0:01:35
IP-Addr : 10.168.7.186 MAC : 00e0-fc12-3456
IPv6-Addr : ::
Auth-Type : PPP Access-Type: PPPoE
Interface : Eth-Trunk99.405 PeVlan/CeVlan: -/-
Status : 2(offline) Code : 6, Ref: 98
Acc Data before Tariff Switch,
1 Priority :
0 : User-received: Bytes=2@3430311100 , Pkts=2@1503890600
User-sent: Bytes=1040259100 , Pkts=1@2006874089
Acc Data after Tariff Switch,
1 Priority :
0 : User-received: Bytes=2@3430311100 , Pkts=2@1503890600
User-sent: Bytes=1040259100 , Pkts=1@2006874089
--------------------------------------------------------------
Total printed 1 bills from cache.
Item | Description |
---|---|
1 Priority | Accounting priority, which can only be 0 in the current version (indicating that only one priority is available). The at sign (@) is used as the delimiter between the most significant 32 bits and the least significant 32 bits. For example, Bytes=2@3430311100=2*0xFFFFFFFF+3430311100=2*4294967295+3430311150. |
Contents of Bill 1 | Content of the local order with the number being 1. |
Bill-No | Serial number of a bill. |
User-name | User account name. |
Stop-Time | Time the accounting stops. |
Elapse | Online duration of the user. |
IP-Addr | IP address of the user. |
MAC | MAC address of the user. |
IPv6-Addr | IPv6 address of the user. |
Auth-Type | Type of user authentication. |
Interface | Name of the interface connecting the user to the device. |
Status | Bill type.
Currently, the device only supports offline bills, which are generated after users go offline. |
Code | External reason why a user goes offline. |
Acc Data before Tariff Switch | Traffic volume before tariff switching, including the number of upstream traffic bytes, number of upstream packets, number of downstream traffic bytes, and number of downstream packets. |
Acc Data after Tariff Switch | Traffic volume after tariff switching, including the number of upstream traffic bytes, number of upstream packets, number of downstream traffic bytes, and number of downstream packets. |
Bills | Number of existing bills in the local bill pool. |
Void-No | Number of unused bills in the local bill pool. |
Max-Volume | Number of available bills in the local bill pool or CF card. |
Alarm-Threshold | Alarm threshold for local bills. |
Bill-Size | Size of bills in the local bill pool. |
Locked | Whether bills in the local bill pool are locked.
|
Bills-Num | Number of bills in the CF card. |
Session-Id | Accounting session ID, with a specified length in the following versions:
|
Start-Time | Time the accounting starts. |
Access-Type | User access type. |
Ref | Internal reason why a user goes offline, which is a supplement to an external reason that causes a user to go offline. |
User-received | Quantities of downstream bytes and packets received from a user. |
User-sent | Quantities of upstream bytes and packets sent to a user. |
PeVlan/CeVlan | Inner/Outer VLAN tag. |