beautypg.com

Configuring auto/dhcp/bootp/manual – GarrettCom Magnum MNS-6K User Manual

Page 38

background image

M A G N U M 6 K S W I T C H E S , M N S - 6 K U S E R G U I D E

ht: is the “hardware type”. For the Magnum 6K family of switches, set this to ether (for
Ethernet).

This tag must precede the “

ha”

ta

g.

ha: is the “hardware address”. Use the switch’s 12-digit MAC address
ip: is the IP address to be assigned to the switch
sm: is the subnet mask of the subnet in which the switch is installed

Configuring Auto/DHCP/Bootp/Manual


By default, the switch is configured for ‘auto’. As describer earlier in Chapter 2, in the
auto mode, the switch will first look for a DHCP server. If a DHCP server is not found, it
will then look for a BootP server. If that server is not found, the switch will first inspect to
see if the IP address 192.168.1.2 with a netmask of 255.255.255.0 is free. If the IP address
is free, MNS-6K will assign the switch that IP address. If the address is not free, MNS-6K
will poll the network for DHCP server then BootP server then check if the IP address
192.68.1.2 is freed up. This mode of assigning the IP address can be changed by using the
‘set bootmode’ command.

Syntax set bootmode type=

[bootimg=] [bootcfg=[] – assign the boot mode
for the switch

Where
- where

dhcp – look only for DHCP servers on the network for the IP address. Disable

bootp or other modes

bootp – look only for bootp servers on the network. Disable dhcp or other mode
manual – do not set the IP address automatically
auto - the switch will first look for a DHCP server. If a DHCP server is not found,

it will then look for a BootP server. If that server is not found, the switch will
check to see if the switch had a pre-configured IP address. If it did, the switch
would be assigned that IP address. If the switch did not have a pre-configured
IP address, it would inspect if the IP address 192.168.1.2 with a netmask of
255.255.255.0 is free. If the IP address is free, MNS-6K will assign the switch
that IP address. If the address is not free, MNS-6K will poll the network for
DHCP server then BootP server then check if the IP address 192.68.1.2 is freed
up

bootimg= - valid with type=bootp only. This option allows the

switch to load the image file from the BootP server. This is useful when a new switch
is put on a network and the IT policies are set to load only a specific MNS-6Kimage
which is supported and tested by IT personnel.

bootcfg= - valiad with type=bootp only. This option allows the

switch to load the configuration file from the BootP server. This is useful when a new

37