The ability to
access either web user interface on the Cisco ASR 1000 Series Routers is
disabled by default.
The legacy web user
interface must be configured before the graphics-based web user interface can
be enabled.
 Note |
The web user
interface will not work if the Management Ethernet interface has not been
configured or is not working; specifically, the default route must be specified
in the Management Ethernet VRF before the web user interface can be configured.
|
To enable the
entire web user interface, perform the following tasks:
SUMMARY STEPS1.
(Optional)
Ensure the clock setting on your router is accurate by entering the
show
clock command.
2.
Connect to your
router and enter the
configure
terminal command to enter global configuration
mode.
3.
Set the HTTP
server authentication method to local by entering the
ip
http
authentication
local
command.
4.
Enable the
legacy web user interface by entering one of the following global configuration
commands:
5.
Create and name
a persistent web user interface transport map by entering the
transport-map
type
persistent
webui
transport-map-name command.
6.
Enable HTTP,
HTTPS, or both by entering the following commands in transport map
configuration mode:
7.
(Optional)
Enter the
show
transport-map
name
transport-map-name privileged EXEC command to
verify that your transport map is properly configured.
8.
Enable the
transport map by entering the
transport
type
persistent
webui
input
transport-map-name global configuration command.
DETAILED STEPS
Step 1
| (Optional)
Ensure the clock setting on your router is accurate by entering the
show
clock command.
Example:
Router# show clock
*13:56:59.257 DST Mon May 5 2008
If the router
time is not properly set, use the
clock
set and
clock
timezone commands for setting the router clock.
|
Step 2
| Connect to your
router and enter the
configure
terminal command to enter global configuration
mode.
|
Step 3
| Set the HTTP
server authentication method to local by entering the
ip
http
authentication
local
command.
|
Step 4
| Enable the
legacy web user interface by entering one of the following global configuration
commands:
- ip
http
server—Enables HTTP on port 80, which is the
default HTTP port.
- ip
http
port
port-number—Enables HTTP on the nondefault
user-specified port.
- ip
http
secure-server—Enables HTTPS on port 443, the
default HTTPS port.
- ip
http
secure-port
port-number—Enables HTTPS on the nondefault
user-specified port.
The legacy web
user interface becomes available at this point of the procedure. Users
attempting to access the web user interface after this step is completed will
see the legacy web user interface only.
To enable the
graphics-based web user interface, proceed to Step 5 and complete the remaining
steps in this procedure.
|
Step 5
| Create and name
a persistent web user interface transport map by entering the
transport-map
type
persistent
webui
transport-map-name command.
|
Step 6
| Enable HTTP,
HTTPS, or both by entering the following commands in transport map
configuration mode:
- server—Enables HTTP.
- secure-server—Enables HTTPS.
Port numbers
cannot be set within the transport map. The port numbers defined in Step 4 are
also used with these settings in the persistent web user interface transport
map.
|
Step 7
| (Optional)
Enter the
show
transport-map
name
transport-map-name privileged EXEC command to
verify that your transport map is properly configured.
|
Step 8
| Enable the
transport map by entering the
transport
type
persistent
webui
input
transport-map-name global configuration command.
|
What to Do Next
Examples
In the following
example, the HTTP server authentication method is set to local:
Router# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)# ip http authentication local
Router(config)#
exit
In the following
example, the web user interface using the default HTTP port is enabled:
Router# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)# ip http server
Router(config)# transport-map type persistent webui http-webui
Router(config-tmap)# server
Router(config-tmap)# exit
Router(config)# exit
Router# show transport-map name http-webui
Transport Map:
Name: http-webui
Type: Persistent Webui Transport
Webui:
Server: enabled
Secure Server: disabled
Router# configure terminal
Router(config)# transport type persistent webui input http-webui
*Apr 22 02:43:55.798: %UICFGEXP-6-SERVER_NOTIFIED_START: R0/0: psd: Server wui has been notified to start
In the following
example, the web user interface using the default HTTPs port is enabled:
Router# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)# ip http secure-server
Router(config)# transport-map type persistent webui https-webui
Router(config-tmap)# secure-server
Router(config-tmap)# exit
Router(config)# transport type persistent webui input https-webui
*Apr 22 02:38:43.597: %UICFGEXP-6-SERVER_NOTIFIED_START: R0/0: psd: Server wui has been notified to start
In the following
example, the web user interface using the default HTTP and HTTPS ports is
enabled:
Router# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)# ip http server
Router(config)# ip http secure-server
Router(config)# transport-map type persistent webui http-https-webui
Router(config-tmap)# server
Router(config-tmap)# secure-server
Router(config-tmap)# exit
Router(config)# transport type persistent webui input http-https-webui
*Apr 22 02:47:22.981: %UICFGEXP-6-SERVER_NOTIFIED_START: R0/0: psd: Server wui has been notified to start