Zhone 5100 参照マニュアル

ページ / 186
LAN (10/100BaseT) commands
Vpacket 5100/6100 Series Reference Manual
                                                                                                   
67
Setting the LAN IP address
You can set the IP address of a LAN by issuing the set ip lan command. You must include a 
subnet mask with each IP address that you add. Also, LAN IP addresses do not overwrite each 
other as another one is added; so, you must delete each unwanted LAN IP address. You must 
commit the changes with the commit ip command and save the changes. 
Syntax: set ip lan <IP address> <subnet mask> [nat | notnat]
Arguments:
IP address standard notation IP address
subnet mask
standard notation subnet mask (required)
nat | notnat
(optional) NAT is a primary IP address; NotNAT is a secondary IP address; 
default = NAT; to change an IP address from “NATed” to “not NATed” you 
need to delete the IP address and add it again as “notnat”
Example:
In this example, a separate LAN is configured with IP address 15.15.15.254 and a subnet mask of 
255.255.255.0.In this example, a separate network (Network 3 in Figure 3-1 on page 54) is 
configured with IP address 15.15.15.254 and subnet mask 255.255.255.0. This network co-exists 
with the 10.10.10.254 and 13.13.13.254 Ethernet networks.
Deleting a LAN IP address
You can delete a LAN IP address by issuing the set ip delete lan command. When deleting a 
LAN address, you do not have to specify whether an IP address is primary or secondary. You 
must commit the changes with the commit ip command and save the changes. 
Syntax: set ip delete lan <IP address> <subnet mask>
Arguments:
IP address
standard notation IP address
subnet mask
standard notation subnet mask (required)
Example:
In this example, the default LAN address 192.168.0.254 is deleted from the 5100/6100 VDR. The 
5100/6100 VDR generates a message confirming the deletion.
VPacket# set ip lan 15.15.15.254 255.255.255.0 nat
VPacket#
VPacket# set ip delete lan 192.168.0.254 255.255.255.0
Delete ip lan success.
VPacket#