Chapter 25 Walled Garden
UAG CLI Reference Guide
149
25.2.1 walled-garden rule Sub-commands
The following table describes the sub-commands for several walled-garden rule commands. Note
that not all rule commands use all the sub-commands listed here.
25.2.2 Walled Garden Command Example
This example shows how to enable the walled garden feature and insert a walled garden link rule at
position 1 of the checking order. This example also displays the rule settings. The link rule uses the
following settings:
•Activate: yes
• Name: Example1
• URL: www.example.com
Table 84 walled-garden rule Sub-commands
COMMAND DESCRIPTION
[no] activate Enables this entry. The no command disables the entry.
[no] name description Sets a descriptive name for the walled garden link to be displayed in the
login screen. The
no command clears the description.
description: You can use up to 31 alphanumeric characters (A-Z, a-z, 0-
9) and underscores (_). Spaces are not allowed. The first character must
be a letter.
[no] hidden Sets the UAG to not display the web site link in the user login screen.
This is helpful if a user’s access to a specific web site is required to stay
connected but he or she does not need to visit that web site.
The
no command displays the the web site link in the user login screen.
[no] url url Sets the URL or IP address of the web site. Use “http://” followed by up to
262 characters (0-9a-zA-Z;/?:@&=+$\.-_!~*'()%). For example, http://
www.example.com or http://172.16.1.35.
The
no command removes the web site address.
Router# configure terminal
Router(config)# walled-garden activate
Router(config)# walled-garden rule insert 1
Router(walled-garden)# activate
Router(walled-garden)# name Example1
Router(walled-garden)# url http://www.example.com
Router(walled-garden)# exit
Router(config)# show walled-garden
walled garden rule: 1
active: yes
url: http://www.example.com
name: Example1
Router(config)#