DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide
144
Restrictions
Only Administrators, Operators and Power-Users can issue this command.
Example
To create an IP interface:
DWS-3160-24PC:admin#create ipif Inter2 192.168.16.1/24 default state enable
secondary
Command: create ipif Inter2 192.168.16.1/24 default state enable secondary
Success.
DWS-3160-24PC:admin#
12-14
config ipif
Description
This command is used to configure the IP interface.
Format
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]]
Parameters
ipif
- Specifies the name of the IP interface.
<ipif_name 12>
- Enter the IP interface name used here. This name can be up to 12
characters long.
ipaddress
- Configures a network on an ipif. The address should Specifies a host address and
length of network mask. Since an ipif can have only one IPv4 address, the new configured
address will overwrite the original one.
<network_address>
- Enter the network address used here.
vlan
- Specifies the name of the VLAN here.
<vlan_name 32>
- Enter the VLAN name used here. This name can be up to 32 characters
long.
proxy_arp
- Enable/disable of proxy ARP function. It is for IPv4 function. Default: Disabled.
enable
- Specifies that the proxy ARP option will be enabled.
disable
- Specifies that the proxy ARP option will be disabled.
local
- This setting controls whether the system provides the proxy reply for the ARP packets
destined for IP address located in the same interface as the received interface. When proxy
ARP is enabled for an interface, the system will do the proxy reply for the ARP packets
destined for IP address located in a different interface. For ARP packets destined for IP
address located in the same interface, the system will check this setting to determine whether
to reply.
enable
- Specifies that the local option will be enabled.
disable
- Specifies that the local option will be disabled.
bootp
- Use BOOTP to obtain the IPv4 address.
dhcp
- Use DHCP to obtain the IPv4 address.
ipv6
- Specifies that the IPv6 configuration will be done.
ipv6address
- Specifies the IPv6 network address. The address should Specifies a host