D-Link dgs-3420 Work Light User Manual


 
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide
138
Chapter 11
Basic IP Commands
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]]
create ipif <ipif_name 12> {<network_address>} <vlan_name 32> {secondary | state [enable |
disable] | proxy_arp [enable | disable] {local [enable | disable]}}
delete ipif [<ipif_name 12> {ipv6address <ipv6networkaddr>} | all]
enable ipif [<ipif_name 12> | all]
disable ipif [<ipif_name 12> | all]
show ipif {<ipif_name 12>}
config out_band_ipif
{ipaddress <network_address> | state [enable | disable] | gateway
<ipaddr>}
show out_band_ipif
enable ipif_ipv6_link_local_auto [<ipif_name 12> | all]
disable ipif_ipv6_link_local_auto [<ipif_name 12> | all]
show ipif_ipv6_link_local_auto {<ipif_name 12>}
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.