(English)
- Manual assignment
You can assign the IP address by connecting to the Switch Module via the local console. Refer to the following examples, you can configure them.
AOS CLI
>> # /cfg/sys/dhcp | disable | (Disable dhcp) | ||
>> # /cfg/l3/if 256 |
| (Select IP | interface 256) | |
>> IP Interface 256# addr 205.21.17.3 | (Assign IP | address for the Interface) | ||
Current IP | address: | 0.0.0.0 |
|
|
New pending IP address: 205.21.17.3 |
|
| ||
Pending new subnet | mask: 255.255.255.0 |
|
| |
. . . . . . . . . . . . | (Enable IP | interface 256) | ||
>> IP Interface 256# ena | ||||
>> IP Interface 256# ../gw 4 | (Select default gateway 4) | |||
>> Default | gateway | 4# addr 205.21.17.1 | (Assign IP | address for a router) |
>> Default | gateway | 4# ena | (Enable default gateway 4) | |
>> Default | gateway | 4# apply | (Apply the | configuration) |
>> Default | gateway | 4# save | (Save the configuration) |
ISCLI
Switch> enable |
| (Enter Privileged EXEC mode) |
Switch# configure terminal |
| (Enter Global Configuration mode) |
Switch(config)# no system dhcp | (Disable dhcp) | |
Switch(config)# interface ip | 256 | (Enter Interface IP Configuration mode) |
(Assign IP address for the Interface) | ||
| (Enable IP interface 256) | |
| (Exit to Global Configuration mode) | |
Switch(config)# ip gateway 4 | address 205.21.17.1 | (Assign default gateway 4) |
Switch(config)# ip gateway 4 | enable | (Enable default gateway 4) |
Switch(config)# copy | (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 enabled dhcp of the Switch Module, the IP address obtained from the DHCP server overrides the static IP address. When assigning the IP address manually, disable the dhcp.
35