show web-server

Display the web server information.

Syntax

Default

None

Command Mode

User EXEC

Command Output

The show web-server command displays the following information:

Output field

Description

Status

Specifies whether the web server is enabled or disabled.

Secure-only

Specifies whether the web server secure-only is enabled for HTTPS access to the switch.

TLS-minimum-version

Specifies the minimum version of TLS protocol configured on the switch.

RO Username Status

Specifies if read-only user is enabled for the web server.

RO Password

Specifies the read-only password.

RWA Username

Specifies the username. The default is admin.

RWA Password

Specifies the password for the web server.

Def-display-rows

Specifies the web server default display row width.

Inactivity timeout

Specifies the web-server login session inactivity timeout.

Html help tftp source-dir

Specifies the the TFTP or FTP directory for Help files.

HttpPort

Specifies the HTTP port for web access. The default value is 80.

HttpsPort

Specifies the HTTPS port for web access. The default value is 443.

NumHits

Specifies the number of hits to the web server.

NumAccessChecks

Specifies the number of access checks performed by the web server.

NumAccessBlocks

Specifies the number of access attempts blocked by the web server.

NumRxErrors

Specifies the number of receive errors the web server encounters.

NumSetRequest

Specifies the number of set-requests sent to the web server.

Minimum password length

Specifies the minimum password length. The default is 8 characters.

Last Host Access Blocked

Specifies the IP address of the last host access blocked by the web server.

In use certificate

Specifies if the certificate is self-signed or user installed.

Certificate Trustpoint CA Name

Specifies the name of the Certificate Authority.

Certificate with Subject Name

Specifies the name of the subject certificate.

Ciphers-Tls

Specifies the ciphers for preset version of TLS for the web server.

SSL renegotiation

Specifies whether the web server SSL renegotiation is enabled or disabled.

Example

Switch:1(config)#show web-server
Web Server Info :

        Status                    : off
        Secure-only               : enabled
        TLS-minimum-version       : tlsv12
        RO Username Status        : disabled
        RO Username               : user
        RO Password               : ********
        RWA Username              : admin
        RWA Password              : ********
        Def-display-rows          : 30
        Inactivity timeout        : 900 sec
        Html help tftp source-dir :
        HttpPort                  : 80
        HttpsPort                 : 443
        NumHits                   : 0
        NumAccessChecks           : 0
        NumAccessBlocks           : 0
        NumRxErrors               : 0

        NumTxErrors               : 0
        NumSetRequest             : 0
        Minimum password length   : 8
        Last Host Access Blocked  : 0.0.0.0
        In use certificate        : Self signed
        Certificate Truspoint CA Name :
        Certificate with Subject Name : 823

        Ciphers-Tls               : TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
                                    TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256
                                    TLS_DHE_RSA_WITH_AES_256_CBC_SHA256 TLS_DHE_RSA_WITH_AES_256_CBC_SHA
                                    TLS_DHE_RSA_WITH_AES_128_CBC_SHA256 TLS_DHE_RSA_WITH_AES_128_CBC_SHA
                                    TLS_RSA_WITH_AES_256_CBC_SHA256 TLS_RSA_WITH_AES_256_CBC_SHA
                                    TLS_RSA_WITH_AES_128_CBC_SHA256 TLS_RSA_WITH_AES_128_CBC_SHA

        SSL renegotiation         : enabled