Chapter 32 Hotspot
ZyWALL Series CLI Reference Guide
264
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
plan settings, that is, the billing profile settings for button A when it is selected as the button to assign the
base charge.
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)#
Router# configure terminal
Router(config)# printer-manager button a billing_1hour
Router(config)# show billing discount default rule
No. Conditions Unit Unit price
===========================================================================
====
default when >= 1 eur 2,00
Router(config)#