telnet server enable
#
vlan 3
#
local-user rd
password simple rd
service-type telnet
quit
#
interface Vlan-interface3
ip address dhcp-alloc
quit
#
interface Ten-GigabitEthernet1/0/1
port access vlan 3
quit
#
user-interface vty 0 4
authentication-mode scheme
user-role network-admin
#
return
# Start TFTP service software, and specify the folder where the two configuration files reside as the
working directory. (Details not shown.)
# Verify that the TFTP server and DHCP relay agents can reach each other. (Details not shown.)
Verifying the configuration
1.
Power on Switch D, Switch E, Switch F, and Switch G.
2.
After the access devices start up, display assigned IP addresses on Switch A.
<SwitchA> display dhcp server ip-in-use
IP address
192.168.2.2
192.168.2.3
192.168.3.2
192.168.3.3
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
174
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
Type
Auto(C)
Auto(C)
Auto(C)
Auto(C)