ZyXEL Communications 1000 Switch User Manual


 
IES-1000 User’s Guide
11-2 IP Commands
Line 2 clears the old parameters of the IES-1000.
Line 3 allows you to add a new IP address for the IES-1000. The MAC address of the IES-1000 is displayed in the
command prompt. The system will automatically compute the subnet mask when the system is restarted. If you
want to specify a subnet manually, add the following two commands before line 4:
192.168.1.1 ip> subnet delete ether.home
192.168.1.1 ip> subnet add ether.home ether <subnet address> <subnet mask>
where <subnet mask> is the subnet mask in hexadecimal, for example “
ff:ff:ff:00
”.
Line 4 deletes the existing default route.
Line 5 adds the new default route. The default route tells the system where the gateway (next hop) is when the IES-
1000 sends packets to a destination that is not on the same subnet as the IES-1000.
Line 6 saves the new configuration to the nonvolatile memory.
For example, if you want the IES-1000 to have 172.21.100.1 as the IP address, 255.255.255.0 for the subnet mask
and 172.21.100.254 for the default gateway, you may use the following command sequence:
192.168.1.1> ip
192.168.1.1 ip> device delete ether
192.168.1.1 ip> device add ether ether //bridge 172.21.100.1
192.168.1.1 ip> subnet delete ether.home
192.168.1.1 ip> subnet add ether.home ether 172.21.100.0 ff:ff:ff:00
192.168.1.1 ip> route delete default
192.168.1.1 ip> route add default 0.0.0.0 172.21.100.254 00:00:00:00
192.168.1.1 ip> config save
Figure 11-1 Setting IP Address and Default Gateway
The IES-1000 leaves the factory with a default IP address of 192.168.1.1 and a subnet mask of 255.255.255.0, or
FF.FF.FF.0 in hexadecimal notation, and the default gateway set at 192.168.1.254. Make sure that you configure
the IP parameters correctly before you connect an IES-1000 to the network, otherwise, you may interrupt services
already running.
11.3 General IP Commands
The following is a list of general IP commands that help with the management of the IP parameters.