Configure The HTTP Server On The Switch

 Thank to: https://guides.co/

Step 1
Set the DNS domain name on the switch.

Cisco IOS® Software does not allow for certificates, or even self-generated keys, to be created and installed without first defining a DNS domain name on the device. Enter the following:

  • C3750X(config)#ip domain-name domain_name
Step 2
Generate keys to be used for HTTPS by entering the following:

  • C3750X(config)#crypto key generate rsa general-keys mod 2048
Step 3
Enable the HTTP servers on the switch.

The HTTP server must be enabled on the switch to perform the HTTP / HTTPS capture and redirection. Enter the following:

  • C3750X(config)#ip http server
  • C3750X(config)C3750X(config)#ip http secure-server

Comentarios

Entradas populares de este blog

Guía de herramientas básicas para estudiantes: 31 apps y webs imprescindibles para ayudarte con los estudios

Comando FOR para archivos BAT

Policy Based Routing example: route one subnet via ISP A and another via ISP B