
184
For more information about the
save
command, see
Fundamentals Command Reference
.
Server-based automatic configuration examples
Automatic configuration using TFTP server
Network requirements
As shown in
, two departments of a company are connected to the network through
gateways (Switch B and Switch C). Access devices Switch D, Switch E, Switch F, and Switch G do
not have a configuration file.
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 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
Switch A
DHCP server
Switch B
DHCP relay agent
Marketing
GE1/0/1
GE1/0/2
Vlan-int2
GE1/0/3
192.168.1.41/24
192.168.1.40/24
Switch C
DHCP relay agent
R&D
GE1/0/1
GE1/0/2
TFTP server
Vlan-int2
GE1/0/1
192.168.1.42/24
Vlan-int2
GE1/0/3
192.168.1.43/24
Switch D
Switch E
Switch F
Switch G
GE1/0/1
GE1/0/1
GE1/0/1
GE1/0/1
Vlan-int3
192.168.2.1/24
Vlan-int3
192.168.3.1/24
…
…
…
…
Содержание FlexNetwork 10500 Series
Страница 139: ...130 Sysname display version ...