Configure the servers and gateways so the access devices can obtain a configuration file to complete the
following configuration tasks:
Enable administrators of access devices to Telnet to and manage their respective access devices.
•
Require administrators to enter their respective usernames and passwords at login.
•
Figure 41 Network diagram
Configuration procedure
1.
Configure the DHCP server:
# Create a VLAN interface and assign an IP address to the interface.
<SwitchA> system-view
[SwitchA] vlan 2
[SwitchA-vlan2] port Ten-GigabitEthernet 1/0/1
[SwitchA-vlan2] quit
[SwitchA] interface vlan-interface 2
[SwitchA-Vlan-interface2] ip address 192.168.1.42 24
[SwitchA-Vlan-interface2] quit
# Enable DHCP.
[SwitchA] dhcp enable
# Enable the DHCP server on VLAN-interface 2.
[SwitchA] interface vlan-interface 2
[SwitchA-Vlan-interface2] dhcp select server
[SwitchA-Vlan-interface2] quit
# Configure the address pool market to assign IP addresses on subnet 192.168.2.0/24 to clients
in the Marketing department. Specify the TFTP server, gateway, and configuration file name for the
clients.
[SwitchA] dhcp server ip-pool market
[SwitchA-dhcp-pool-market] network 192.168.2.0 24
171