D-Link DES-3200 Switch User Manual


 
xStack® DES-3200 Series Layer 2 Ethernet Managed Switch CLI Reference Guide
160
config ipif
Purpose
Used to configure the System IP interface.
Syntax
[System] [ { ipaddress <network_address> | vlan <vlan_name 32> | state [enable |
disable] }(1) | bootp | dhcp | dhcp_option12 [ hostname <hostname 63> |
clear_hostname | state [ enable | disable ] ] | ipv6 ipv6address <ipv6networkaddr> ]
Description
This command is used to configure the System IP interface on the Switch.
Parameters
System Enter System.
ipaddress <network_address> IP address and netmask of the IP interface to be
created. Users can 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 <vlan_name 32> The name of the VLAN corresponding to the System IP
interface.
state [enable | disable] Allows users to enable or disable the IPv4 and IPv6
interface.
bootp Allows the selection of the BOOTP protocol for the assignment of an IPv4 IP
address to the Switch’s System IP interface.
dhcp Allows the selection of the DHCP protocol for the assignment of an IPv4 IP
address to the Switch’s System IP interface. If users are using the autoconfig feature,
the Switch becomes a DHCP client automatically after rebooting so it is not
necessary to change the ipif settings.
ipv6 ipv6address <ipv6networkaddr> IPV6 network address. The address should
specify a host address and length of network prefix length. There can be multiple V6
addresses defined on an interface. Thus, as a new address is defined, it is added on
this ipif.
dhcp option12 hostname - Specify the host name to be inserted in the DHCP
discover (DHCPDISCOVER) and DHCP request (DHCPREQUEST) message. Rules
for the host name specified are as follows:
The specified host name must start with a letter, end with a letter or digit.
Use only letters, digits, and hyphen as interior characters.
The maximum length is 63.
By default, the hostname is empty.
dhcp option12 clear_hostname - To clear the hostname setting. If the host name is
empty, the system name will be used to encode option 12. If the length of system
name is more than 63, superfluous characters are truncated. If the system name is
also empty, the product model name is used to encode option 12.
dhcp option12 state – Specify to enable or disable insertion of option 12 (host name)
in the DHCP discover (DHCPDISCOVER) and DHCP request (DHCPREQUEST)
message.
By default, option 12 state is disabled.
Restrictions
Only Administrator-level users can issue this command.