xStack
®
DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
D G S – 3 4 2 6 : 5 #
enable autoconfig
Purpose
Used to activate the auto-configuration function for the Switch. This will load a
configuration from the TFTP server specified in the reply.
Syntax
enable autoconfig
Description
When autoconfiguration is enabled on the Switch, the DHCP reply will contain a
configuration file and path name. It will then request the file from the TFTP server
specified in the reply. When autoconfig is enabled, the IPIF settings will automatically
become DHCP client.
Parameters None.
Restrictions
Only Administrator and Operator-level users can issue this command.
NOTE:
Dual–purpose (DHCP/TFTP) server utility software may require entry of the
configuration file name and path within the user interface. Alternatively, the DHCP software
may require creating a separate ext file with the configuration file name and path in a specific
directory on the server. Consult the documentation for the DCHP server software if unsure.
Example usage:
To enable auto-configuration on the Switch:
D G S – 3 4 2 6 : 5 # e n a b l e a u t o c o n f i g
C o m m a n d : e n a b l e a u t o c o n f i g
S u c c e s s .
D G S – 3 4 2 6 : 5 #
When auto-configuration is enabled and the Switch is rebooted, the normal login screen will appear for a few moments while the
autoconfig request (i.e. download configuration) is initiated. The console will then display the configuration parameters as they
are loaded from the configuration file specified in the DHCP or TFTP server. This is exactly the same as using a
download config
command. After the entire Switch configuration is loaded, the Switch will automatically “logout” the server.
Upon booting up the autoconfig process is initiated, the console screen will appear similar to the example below. The
configuration settings will be loaded in normal order.
D G S – 3 4 2 6 G i g a b i t E t h e r n e t S w i t c h
C o m m a n d L i n e I n t e r f a c e
F i r m w a r e : B u i l d 2 . 6 0 . B 2 6
C o p y r i g h t ( C ) 2 0 0 9 D – L i n k C o r p o r a t i o n . A l l r i g h t s r e s e r v e d .
D G S – 3 4 2 6 : 5 #
D G S – 3 4 2 6 : 5 #
D G S – 3 4 2 6 : 5 # d o w n l o a d c o n f i g 1 0 . 4 1 . 4 4 . 4 4 c : \ c f g \ s e t t i n g . t x t
C o m m a n d : d o w n l o a d c o n f i g 1 0 . 4 1 . 4 4 . 4 4 c : \ c f g \ s e t t i n g . t x t
C o n n e c t i n g t o s e r v e r . . . . . . . . . . . . . . . . . . . D o n e .
D o w n l o a d c o n f i g u r a t i o n . . . . . . . . . . . . . . . . . D o n e .
The very end of the autoconfig process including the logout appears like this:
63