IP address
192.168.2.2
192.168.2.3
192.168.3.2
192.168.3.3
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 Device A can obtain a Tcl script to complete the following configuration tasks:
Enable the administrator to Telnet to Device A to manage Device A.
•
Require the administrator to enter the correct username and password at login.
•
Figure 48 Network diagram
Configuration procedure
1.
Configure the DHCP server:
# Enable DHCP.
<DeviceB> system-view
Client-identifier/
Hardware address
3030-3066-2e65-3233-
642e-3561-6633-2d56-
6c61-6e2d-696e-7465-
7266-6163-6533
3030-3066-2e65-3230-
302e-3232-3033-2d56-
6c61-6e2d-696e-7465-
7266-6163-6533
3030-6530-2e66-6330-
302e-3335-3131-2d56-
6c61-6e2d-696e-7465-
7266-6163-6531
3030-6530-2e66-6330-
302e-3335-3135-2d56-
6c61-6e2d-696e-7465-
7266-6163-6532
Figure
48, Device A does not have a configuration file.
Lease expiration
May 6 05:21:25 2013
May 6 05:22:50 2013
May 6 05:23:15 2013
May 6 05:24:10 2013
210
Type
Auto(C)
Auto(C)
Auto(C)
Auto(C)