ZyXEL Communications MSAP2000 Switch User Manual


 
218
MSAP2000 AAM User’s Guide
C HAPTER 28
IP Commands
This chapter shows you how to use the ip commands to configure the IP (Internet
Protocol) parameters.
28.1 IP Commands Introduction
Use the MSAP2000 AAM’s management IP addresses to manage it through the
network.
28.2 IP Settings and Default Gateway
Use the following command sequence to set the MSAP2000 AAM’s IP settings for
the Ethernet 1 and 2, and DSL ports, VID and default gateway. With the Ethernet 1
and 2, and DSL ports, you must connect to the MSAP2000 AAM through a port that
is a member of the management (CPU) VLAN in order to perform in-band
management.
1 ras> ip set <new ip address> [</netmask>]
2 ras> ip gateway <ip>
3 ras> config save
where
<new ip
address>
</netmask> = The bit number of the subnet mask of the IP address you want
to configure for MSAP2000 AAM’s uplink, downlink and
MSAP2000 AAM DSL ports. To find the bit number, convert
the subnet mask to binary and add all of the 1’s together. Take
“255.255.255.0” for example. 255 converts to eight 1’s in
binary. There are three 255’s, so add three eights together
and you get the bit number (24).
<ip> = The default gateway IP address you want to configure for the
MSAP2000 AAM.
Line 1 changes the IP settings for the MSAP2000 AAM’s uplink, downlink and
MSAP2000 AAM DSL ports. If you don’t enter the subnet mask, the system
automatically computes the subnet mask.
Line 2 changes the default gateway (next hop). This tells the MSAP2000 AAM
where to send packets that have a destination IP address that is not on the same
subnet as the MSAP2000 AAM’s IP address.
Line 3 saves the new configuration to the nonvolatile memory.
= The IP address you want to configure fo
r
the AAM.