
Customize the User Interface on a Web Browser
FC-114
Configuration Fundamentals Configuration Guide
How SSIs Work
Once you have designed a set of HTML pages that include SSIs, you can copy these pages to a
Cisco IOS platform’s Flash memory. (See the section “Copy HTML Pages to Flash Memory” for
instructions on storing HTML pages in Flash memory later in this section.) When you retrieve these
pages from Flash memory and display them using a Web browser, any SSI command that was
designed into these pages will either display Cisco IOS command output or display a current
variable or identifier defined in Table 9. For example, the SSI ECHO command with the variable
SERVER_NAME will display the current host name of the HTTP server you are using, and the
SSI ECHO command with the variable EZSETUP_ISDN_SWITCHTYPE will display the current
ISDN switch type you are using.
Benefits of Customizing Web Pages with SSIs
Using SSIs, you can customize one set of international HTML pages (for example, in Japanese) and
copy these pages to Flash memory on multiple Cisco IOS platforms. When you retrieve these pages
from the Flash memory of a Cisco IOS platform, current variables and identifiers associated with the
platform you are currently using are displayed. SSIs save you from having to duplicate these
international pages (considered relatively large images that contain 8-bit or multibyte characters)
and store them in the source code for each platform you are using. (Refer to Table 9 to determine
which Cisco IOS platforms support which SSIs variables.)
User Interface Customization Task List
To customize your HTML pages and view them for the user interface, perform the tasks in the
following sections:
• Customize HTML Pages Using SSIs
• Copy HTML Pages to Flash Memory
• Enable the Cisco Web Browser Interface
• View Your HTML File Containing SSIs
• Display 8-Bit and Multiple Character Sets
Customize HTML Pages Using SSIs
When you are customizing an HTML page for a Web browser, type <!--#exec cmd=“xxx”--> in your
HTML file where you want Cisco IOS command output to appear on the browser page. Replace xxx
with a Cisco IOS command that can be executed in the router’s EXEC mode. (See the “SSI EXEC
Command Example” section later in this chapter.)
When you are customizing an HTML page for a Web browser, type <!--#echo var=“yyy”--> in your
HTML file where you want a value or identifier associated with a particular Cisco IOS platform (for
example, an ISDN or Frame Relay platform) to appear on the browser page. Replace yyy with an
SSI variable described in Table 9. (See the “SSI ECHO Command Example” section later in this
chapter.)
Kommentare zu diesen Handbüchern