Chapter 62 Dynamic Guest Accounts
ZyWALL Series CLI Reference Guide
511
62.2.2 Dynamic-guest Command Example
This example shows how to create a dynamic guest account, configure the account related settings
and displays the account information.
quota {total | upload |
download} gigabytes <0..100>
Sets how much downstream and/or upstream data in Gigabytes can be
transmitted through the external interface before the account expires. 0
means there is no data limit for the user account.
quota type {total | upload-
download}
Sets a limit for the user account. This only applies to user’s traffic that is received
or transmitted through the external interface.
Note: When the limit is exceeded, the user is not allowed to access
the Internet through the Zyxel Device.
total: set a limit on the total traffic in both directions.
upload-download: set a limit on the upstream traffic and downstream traffic
respectively.
remaining-time <1..25920000>
Sets the amount of Internet access time (in seconds) remaining for the
account.
time-period <1..432000>
Sets the total account of time (in minutes) the account can use to access the
Internet through the Zyxel Device.
replenish enable Reloads the quota of a specific dynamic user’s account.
serial-number
number
Table 290 dynamic-guest Sub-commands (continued)
COMMAND DESCRIPTION
Router# configure terminal
Router(config)# dynamic-guest generate
[dynamic guest] username:gn0ti7, password:ihzun7
Router(config-dynamic-guest)# charge 5
Router(config-dynamic-guest)# expire-time 2013-06-26 14:00
Router(config-dynamic-guest)# payment-info cash
Router(config-dynamic-guest)# phone 0912345678
Router(config-dynamic-guest)# time-period 1440
Router(config-dynamic-guest)# remaining-time 86400
Router(config-dynamic-guest)# create-time 2013-06-25 14:03
Router(config-dynamic-guest)# exit
Router(config)# show dynamic-guest users
No. Status Username Create Time Expiration Time
Time Period Remaining Time Charge ayment Info
Phone Num
User Role
===========================================================================
=========
1 Unused gn0ti7 2013-06-25 14:03 2013-06-26 14:00
1day 00:00:00 1day 00:00:00 eur 5,00 cash
0912345678
billing-users
Router(config)#