User guide

(English)
40
- Assignment by DHCP
By default, the management network interface on the Switch Module is set up to obtain its IP address from the
DHCP server on the Enclosure Manager Card. You can configure the IP address in the Enclosure Manager
Card. For more information, see the Enclosure Manager Card Users Guide.
SmartPanel mode software supports only IP address assignment by DHCP.
NOTES:
If the IP address cannot be obtained from the DHCP server in L2
switch mode, access the local console of the Switch Module and
assign the IP address manually. Refer to Manual assignment below.
After assigning the IP address, access the Switch Module via the
network.
Port 19 of the Switch Module is connected with the management
network in the Blade Enclosure.
Refer to the Blade Enclosure User’s Guide and the Enclosure
Manager Card Users Guide to connect or configure the Enclosure
Management LAN port.
- Manual assignment (only in L2 switch mode)
You can assign the IP address by connecting to the Switch Module via the local console. Refer to the following
examples:
AOS CLI
>> # /cfg/sys/dhcp disable
>> # /cfg/l3/if 256
>> IP Interface 256# addr 205.21.17.3
Current IP address: 0.0.0.0
New pending IP address: 205.21.17.3
Pending new subnet mask: 255.255.255.0
. . . . . . . . . . . .
>> IP Interface 256# ena
>> IP Interface 256# ../gw 4
>> Default gateway 4# addr 205.21.17.1
>> Default gateway 4# ena
>> Default gateway 4# apply
>> Default gateway 4# save
(Disable dhcp)
(Select IP interface 256)
(Assign IP address for the Interface)
(Enable IP interface 256)
(Select default gateway 4)
(Assign IP address for a router)
(Enable default gateway 4)
(Apply the configuration)
(Save the configuration)
ISCLI
Switch> enable
Switch# configure terminal
Switch(config)# no system dhcp
Switch(config)# interface ip 256
Switch(config-ip-if)# ip address 205.21.17.3 255.255.255.0
Switch(config-ip-if)# enable
Switch(config-ip-if)# exit
Switch(config)# ip gateway 4 address 205.21.17.1
Switch(config)# ip gateway 4 enable
Switch(config)# copy running-config startup-config
(Enter Privileged EXEC mode)
(Enter Global Configuration mode)
(Disable dhcp)
(Enter Interface IP Configuration mode)
(Assign IP address for the Interface)
(Enable IP interface 256)
(Exit to Global Configuration mode)
(Assign default gateway 4)
(Enable default gateway 4)
(Save the configuration)
IMPORTANT:
When assigning an IP address and default gateway for the
management interface manually, assign them to interface 256 and
Gateway 4, respectively.
When DHCP is enabled in L2 switch mode, the IP address obtained
from the DHCP server overrides the static IP address. When
assigning the IP address manually, disable DHCP.