DGS-3710 Series Layer 2 Managed Gigabit Switch CLI Reference Guide
32
Chapter 3
Basic IP Commands
config ipif
<ipif_name 12> [{ipaddress <network_address> | vlan <vlan_name 32> | state [enable |
disable]} | bootp | dhcp | ipv6 [ipv6address <ipv6networkaddr> | state [enable | disable]] | ipv4
state [enable | disable] | dhcpv6_client [enable | disable]]
create ipif
<ipif_name 12> {<network_address>} <vlan_name 32> {state [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>}
3-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.
Format
config ipif <ipif_name 12> [{ipaddress <network_address> | vlan <vlan_name 32> | state
[enable | disable]} | bootp | dhcp | ipv6 [ipv6address <ipv6networkaddr> | state [enable |
disable]] | ipv4 state [enable | disable] | dhcpv6_client [enable | disable]]
Parameters
<ipif_name 12>
- The name of the IP interface.
ipaddress
- (Optional) The IP address and netmask of the IP interface to be created.
<network_address>
- Specifies 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>
- Specifies the VLAN name. The maximum length is 32 characters.
state
- Enable or disable the IP interface.
enable
- Enable the IP interface.
disable
- Disable the IP interface.
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.
ipv6
- The following are IPv6-related parameters.
ipv6address
- The IPv6 address and subnet prefix of the IPV6 address to be created.