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

Hide thumbs Also See for 5920 series:
Table of Contents

Advertisement

3.
Telnet to 192.168.2.2 from Switch A.
<SwitchA> telnet 192.168.2.2
4.
Enter the username market and password market as prompted. (Details not shown.)
You are logged in to Switch D or Switch E.

Automatic configuration using HTTP server and Tcl script

Network requirements
As shown in
Configure the servers so Switch A can obtain a Tcl 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 42 Network diagram
 
Configuration procedure
1.
Configure the DHCP server:
# Enable DHCP.
<DeviceA> system-view
[DeviceA] dhcp enable
# Configure address pool 1 to assign IP addresses on subnet 192.168.1.0/24 to clients.
[DeviceA] dhcp server ip-pool 1
[DeviceA-dhcp-pool-1] network 192.168.1.0 24
# Specify the URL of the script file for the clients.
[DeviceA-dhcp-pool-1] bootfile-name http://192.168.1.40/device.tcl
2.
Configure the HTTP server:
# Edit the configuration file device.tcl on the HTTP server.
return
system-view
telnet server enable
local-user user
password simple abcabc
service-type telnet
quit
user-interface vty 0 4
authentication-mode scheme
Figure
42, Switch A does not have a configuration file.
175

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

5900 series

Table of Contents