web-mgmt

This command manages access to the web management service.

Syntax

Enters Web Management Service mode.
web-mgmt
Starts the web management service on a listening address-port pair with an optional session timer.
web-mgmt address port [ timer | off ]
Disables the web management service.
no web-mgmt

Parameters

address
Identifies the listening IP address on the appliance. The default value is 0.0.0.0.
  • When the value is 0.0.0.0, the service listens on all active IPv4 addresses.
  • When the value is ::, the service listens on all active IPv4 and IPv6 addresses.
Attention: For a management service, the value of 0.0.0.0 or :: is a security risk.
port
Identifies the listening port on the appliance. The default value is 9090.
timer
Sets the idle-session timer in seconds. Enter a value in the range 0 - 65535. The default value is 600. A value of 0 disables the session timer.
off
Restores the idle-session timer to its default value.

Guidelines

The web-mgmt command manages access to the web management service.

Use the no web-mgmt command to disable the web management service.

Examples

  • Enters Web Management Service mode.
    # web-mgmt
    Modify Web Management Service configuration
  • Modify the web management service for the specified IP address-port pair. The idle-session timer uses the default value of 10 minutes.
    # web-mgmt 10.10.13.31 9090
    Web management successfully started
  • Modify the web management service for the specified IP address-port pair. Set the idle-session timer to 15 minutes.
    # web-mgmt 10.10.13.31 9090 900
    Web management successfully started
  • Restore the idle-session timer to its default value.
    # web-mgmt 10.10.13.31 9090 off
    Web management successfully started
  • Disable the idle-session timer.
    # web-mgmt 10.10.13.31 9090 0
    …
    Web management successfully started
  • Disable the web management service.
    # no web-mgmt
    Web management successfully disabled
  • Enable the web management service with its previously defined settings.
    # web-mgmt
    Modify Web Management Service configuration
    # admin-state enabled
    # exit