custom-options
Syntax
custom-options { banner-message string; footer-bgcolor color; footer-message string; footer-text-color color; form-header-bgcolor color; form-header-message string; form-header-text-color color; form-reset-label label name; form-submit-label label name; header-bgcolor color; header-logo filename; header-message string; header-text-color color; post-authentication-url url-string; }
Hierarchy Level
[edit services captive-portal]
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 or a terms and conditions of use page.
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.
footer-text-color — Color of the text in the footer.
Default: The default color is white.
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-header-text-color—Color of the text in the form header.
Default: The default color is black.
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.
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
header-text-color—Color of the text in the header.
Default: The default color is white.
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.
Release Information
Statement introduced in Junos OS Release 10.1.