
188
302e-3335-3131-2d56-
6c61-6e2d-696e-7465-
7266-6163-6531
192.168.3.3 3030-6530-2e66-6330- May 6 05:24:10 2013 Auto(C)
302e-3335-3135-2d56-
6c61-6e2d-696e-7465-
7266-6163-6532
3.
Telnet to 192.168.2.2 from Switch A.
<SwitchA> telnet 192.168.2.2
4.
Enter 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
, Switch A does not have a configuration file.
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 the 192.168.1.0/24 subnet 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:
# Create a configuration file named
device.tcl
on the HTTP server.
return
system-view
telnet server enable
Switch A
Device A
DHCP server
HTTP server
GE1/0/1
192.168.1.1
192.168.1.40
GE1/0/1
Содержание FlexNetwork 10500 Series
Страница 139: ...130 Sysname display version ...