xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide
167
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
{prefix_name <string 1-12>} <ipv6networkaddr> | state [enable | disable]] | ip_mtu <value 512-
1712> | ipv4 state [enable | disable] | dhcpv6_client [enable | disable] | ip_directed_broadcast
[enable | disable] | dhcp_option12 [hostname <hostname 63> | clear_hostname | state [enable |
disable]] | dhcpv6_client_pd [enable prefix_name <string 1-12> | 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 {prefix_name <string 1-12>} <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>}
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 {prefix_name <string 1-12>} <ipv6networkaddr> | state [enable | disable]] | ip_mtu
<value 512-1712> | ipv4 state [enable | disable] | dhcpv6_client [enable | disable] |
ip_directed_broadcast [enable | disable] | dhcp_option12 [hostname <hostname 63> |
clear_hostname | state [enable | disable]] | dhcpv6_client_pd [enable prefix_name <string 1-12>
| 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'.