26.1 Advertisement Overview
You can set the UAG to display an advertisement web page as the first web page whenever the user
connects to the Internet.
26.2 Advertisement Commands
This table lists the advertisement commands. You must use the
to enter the configuration mode before you can use these commands.
Table 85 advertisement Commands
COMMAND
[no] advertisement activate
advertisement flush
[no] advertisement name description
url url
advertisement rename description_old
description_new
show advertisement
show advertisement activation
26.2.1 Advertisement Command Example
This example shows how to set an advertisement rule and displays the rule settings.
Router# configure terminal
Router(config)# advertisement activate
Router(config)# advertisement name example url http://www.example.com
Router(config)# show advertisement
advertisement rule: 1
name: example
url: http://www.example.com
Router(config)#
UAG CLI Reference Guide
C
HAPTER
DESCRIPTION
Enables the advertisement feature. The no command disables the
advertisement feature.
Deletes all advertisement rules.
Sets a descriptive name for the advertisement web page and enters the
web site address to create a new rule. The
advertisement rule.
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.
url: 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.
Gives an existing rule a new name.
Displays settings of advertisement rule(s).
Displays whether the advertisement feature is enabled or not.
Advertisement
configure terminal
command removes the
no
2 6
command
150