Chapter 28 Billing
UAG CLI Reference Guide
159
28.2.2 Billing Command Example
This example sets the accounting method to time-to-finish and configures the idle timeout that
elapses before the UAG disconnects a user.
This example enables and creates a custom discount pricing plan. It uses button A to assign the
base charge and also shows the discount status and plan settings.
This example creates a billing profile named billing_1hour and displays the profile settings.
This example applies the billing profile billing_1hour to button A of the web-based account
generator and button A on a connected statement printer. It also displays the default discount price
Router# configure terminal
Router(config)# billing accounting-method time-to-finish
Router(config)# billing accumulation idle-detection timeout 30
Router(config)#
Router# configure terminal
Router(config)# billing discount activate
Router(config)# billing discount button a charge-by-level
Router(config)# billing discount unit 3 price 1.9
Router(config)# show billing discount status
Billing discount status:
activate: yes
button: a
charge_by_level: yes
Router(config)#show billing discount rule
No. Conditions Unit Unit price
===============================================================================
1 when >= 3 eur 1,90
Router(config)#
Router# configure terminal
Router(config)# billing profile billing_1hour
Router(billing profile button-a)# activate
Router(billing profile button-a)# price 2
Router(billing profile button-a)# time-period hour 1
Router(billing profile button-a)# exit
Router(config)# show billing profile
Billing Profile: billing_30mins
activate: yes
time period: 30 minute
price: eur 0,00
Billing Profile: billing_1hour
activate: yes
time period: 1 hour
price: eur 2,00
Router(config)#