User Manual

xStackĀ® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide
138
Chapter 11
Basic IP Commands
disable]} | proxy_arp [enable | disable] {local [enable | disable]} | bootp | dhcp | ipv6
[ipv6address <ipv6networkaddr> | state [enable | disable]] | ip_mtu <value 512-1712> | ipv4
{ipaddress <network_address> | state [enable | disable] | gateway
11-1 config ipif
Description
Configure the parameters for an L3 interface. For IPv4, only the system interface can be specified
for the way to get the IP address. If the mode is set to BOOTP or DHCP, then the IPv4 address will
be obtained through the operation of protocols. The manual configuration of the IP address will be
of no use. If the mode is configured to BOOTP or DHCP first, and then the user configures IP
address later, the mode will be changed to manual configured mode. For IPv6, multiple addresses
can be defined on the same L3 interface. For IPv4, multi-netting must be done by creation of a
secondary interface. Note that an IPv6 address is not allowed to be configured on a secondary
interface.
Format
config ipif <ipif_name 12> [{ipaddress <network_address> | vlan <vlan_name 32> | state
[enable | disable]} | proxy_arp [enable | disable] {local [enable | disable]} | bootp | dhcp |
ipv6 [ipv6address <ipv6networkaddr> | state [enable | disable]] | ip_mtu <value 512-1712> |
ipv4 state [enable | disable] | dhcpv6_client [enable | disable]]
Parameters
ipif - Specifies the IP interface configured.
<ipif_name 12> - Enter the name of the IP interface used here. This name can be up to 12
characters long. The default interface is 'System'.
ipaddress - (Optional) The IP address and netmask of the IP interface to be created.
<network_address> - Specify the address and mask information using the traditional format
(for example, 10.1.2.3/255.0.0.0 or in CIDR format, 10.1.2.3/8).
vlan - (Optional) The name of the VLAN corresponding to the IP interface.
<vlan_name 32> - Specify the VLAN name. The maximum length is 32 characters.
state - Enable or disable the IP interface.
enable - Enable the IP interface.