Technical Documentation

custom-options

Syntax

custom-options {banner-message string;footer-bgcolor color;footer-message string;form-header-bgcolor color;form-header-message string;form-reset-label label name;form-submit-label label name;header-bgcolor color;header-logo filename;header-message string;post-authentication-url url-string;}

Hierarchy Level

[edit services captive-portal]

Release Information

Statement introduced in JUNOS Release 10.1 for EX Series switches.

Description

Specify the design elements of a captive portal login page.

Options

banner-message—The first screen displayed before the captive portal login page is displayed—for example, a disclaimer message.

Range: 1–2047 characters

footer-bgcolor —The hexadecimal color code for the color of the footer bar across the bottom of the captive portal login page—for example, #2E8B57 (sea green).

Values: # symbol followed by six characters.

footer-message—Text message displayed in the footer bar across the bottom of the captive portal login page.

Range: 1–2047 characters
Default: Copyright @2010, Juniper Networks Inc.

form-header-bgcolor —The hexadecimal color code for the background color of the header bar across the top of the form area of the captive portal login page.

Values: # symbol followed by six characters.

form-header-message—Text message displayed in the header bar across the top of the form area of the captive portal login page.

Range: 1–255 characters
Default: Captive Portal User Authentication

form-reset-label—Label displayed in the button that the user can select to clear the username and password fields on the form.

Range: 1–255 characters
Default: Reset

form-submit-label —Label displayed in the button that the user selects to submit their login information—for example, Log In or OK.

Range: 1–255 characters
Default: Log In

header-bgcolor—The hexadecimal color code for the color of the header bar across the top of the captive portal login page.

Values: # symbol followed by six characters.

header-logo—Filename of the file containing the image of the logo displayed at the top of the captive portal login page. The image file can be in GIF, JPEG, or PNG format.

Default: The Juniper Networks logo

header-message—Text displayed in the header bar across the bottom of the captive portal login page.

Range: 1–2047 characters
Default: User Authentication

post-authentication-url—URL to which the users are directed upon successful authentication—for example www.mycafe.com.

Range: 1–255 characters
Default: The page originally requested by the user.

Required Privilege Level

routing—To view this statement in the configuration.

routing–control—To add this statement to the configuration.


Published: 2010-01-15