Automatic Configuration Using Http Server And Python Script - HP 5920 series Fundamentals Configuration Manual

Hide thumbs Also See for 5920 series:
Table of Contents

Advertisement

user-role network-admin
quit
interface Ten-GigabitEthernet 1/0/1
port link-mode route
ip address dhcp-alloc
return
# Start HTTP service software and enable HTTP service. (Details not shown.)
Verifying the configuration
1.
Power on Switch A.
2.
After Switch A starts up, display assigned IP addresses on Device A.
<DeviceA> display dhcp server ip-in-use
IP address
192.168.1.2
3.
Telnet to 192.168.1.2 from Device A.
<DeviceA> telnet 192.168.1.2
4.
Enter the username user and password abcabc as prompted. (Details not shown.)
You are logged in to Switch A.

Automatic configuration using HTTP server and Python script

Network requirements
As shown in
Configure the servers so Switch A can obtain a Python script to complete the following configuration
tasks:
Enable the administrator to Telnet to Switch A to manage Switch A.
Require the administrator to enter the correct username and password at login.
Figure 43 Network diagram
 
Configuration procedure
1.
Configure the DHCP server:
Client identifier/
Hardware address
0030-3030-632e-3239-
3035-2e36-3736-622d-
4574-6830-2f30-2f32
Figure
43, Switch A does not have a configuration file.
Lease expiration
Dec 12 17:41:15 2013
176
Type
Auto(C)

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

5900 series

Table of Contents