![D-Link DES-3528 - xStack Switch - Stackable Скачать руководство пользователя страница 178](http://html.mh-extra.com/html/d-link/des-3528-xstack-switch-stackable/des-3528-xstack-switch-stackable_cli-reference-manual_76439178.webp)
xStack® DES-3528/DES-3552 Series Layer 2 Managed Stackable Fast Ethernet Switch CLI Reference Guide
178
config ipif
Purpose
Used to configure the IP interface.
Syntax
config ipif <ipif_name 12> [{ipaddress <network_address> | vlan <vlan_name 32> |
proxy_arp [enable | disable] {local [enable | disable]} | state [enable | disable]} | bootp |
dhcp | ipv6 [ipv6address <ipv6networkaddr> | state [enable | disable]] | ipv4 state
[enable | disable] | dhcpv6_client [enable | disable] | dhcp_option12 [hostname
<hostname 63> | clear_hostname | state [enable | disable]]]
Description
This command is used to configure the IP interface on the Switch.
Parameters
<ipif_name 12>
−
Enter an alphanumeric string of up to 12 characters to identify this IP
interface.
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_name 32>
−
The name of the VLAN corresponding to the System IP interface.
state [enable | disable]
−
Allows users to enable or disable the IP interface.
proxy_arp [enable | disable]
– Allows users to enable or disable the proxy ARP function. The
default setting is
Disabled
.
local [ enable | disable]
- Controls whether the system provides the proxy reply for the ARP
packets destined for IP address located in the same subnet as the received interface.When
proxy ARP is enabled for an interface, the system will reply the ARP query destined for IP
address located in a different IP subnet from the interface IP. For ARP packets destined for
IP address located in the same IP subnet as the interface IP, the system will check this
setting to determine whether to reply. The default setting is
Disabled
.
bootp
−
Allows the selection of the BOOTP protocol for the assignment of an IP address to
the Switch’s System IP interface.
dhcp
−
Allows the selection of the DHCP protocol for the assignment of an IP address to the
Switch’s System IP interface. If users are using the autoconfig feature, the Switch becomes a
DHCP client automatically so it is not necessary to change the ipif settings.
ipv6
– Specifies that IPv6 address will be enabled or disabled.
ipv4
- Specifies that IPv4 address will be enabled or disabled.
dhcpv6_client
- Specifies to enable or diable the assignment of an IP address to the Switch’s
System IP interface from the DHCPv6 protocol.
dhcp_option12
- Specify the DHCP option 12.
hostname
- Specify the host name to be inserted in the DHCPDISCOVER and
DHCPREQUEST message.
<hostname 63>
- Enter a name starting with a letter, end with a letter or digit, and have only
letters, digits, and hyphen as interior characters; the maximal length is 63.
clear_hostname
- To clear the hostname setting. If host name is empty, system name will be
used to encode option 12. The length of system is more than 63, the superfluous chars will
be truncated. If system name is also empty, then product model name will be used to encode
option 12.
state
- Enable or disable insertion of option 12 in the DHCPDISCOVER and
DHCPREQUEST message. The state is disable by default.
enable
- Enable insertion of option 12 in the DHCPDISCOVER and DHCPREQUEST
message.
disable
- Disable insertion of option 12 in the DHCPDISCOVER and DHCPREQUEST
message.
Restrictions
Only Administrator, Operator and Power User-level users can issue this command.
Example usage:
To configure the IP interface System:
DES-3528:admin# config ipif System ipaddress 10.48.74.122/8
Command: config ipif System ipaddress 10.48.74.122/8
Success.