Specifications
xStack DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
config ipif
Purpose Used to configure the System IP interface.
Syntax
config ipif <ipif_name 12> [{ipaddress <network_address> | vlan
<vlan_name 32> | state [enable | disable]} | bootp | dhcp | ipv6
ipv6address <ipv6networkaddr>]
Description This command is used to configure an IP interface on the Switch.
Users may add one IPv4 address per interface but multiple IPv6
addresses may be added to a single interface. The format of IPv6
address resembles xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx where a
set of xxxx represents a 16-bit hexadecimal value (ex.
2D83:0C76:3140:0000:0000:020C:417A:3214).
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). Only one IPv4
address can be configured per interface.
<vlan_name 32> − The name of the VLAN corresponding to the IP
interface.
state [enable | disable] − Allows users to enable or 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. This
method is only for IPv4 addresses and if users manually configure an
IPv4 address and set this parameter, the manually set IP address will
be overwritten by this protocol.
dhcp − Allows the selection of the DHCP protocol for the assignment
of an IP address to the Switch’s System IP interface. If you are using
the autoconfig feature, the Switch becomes a DHCP client
automatically so it is not necessary to change the ipif settings. This
method is only for IPv4 addresses and if users manually configure an
IPv4 address and set this parameter, the manually set IP address will
be overwritten by this protocol.
<ipv6networkaddr> - Use this parameter to statically assign an IPv6
address to this interface. This address should define a host address
and a network prefix length. Multiple IPv6 addresses can be
configured for a single IP interface. Ex: 3ffe:501:ffff:100::1/64. The /64
represents the prefix length of the IPv6 addresses.
Restrictions Only administrator-level users can issue this command.
Example usage:
To configure the IPv4 interface System:
DGS-3400:4#config ipif System ipaddress 10.48.74.122/8
Command: config ipif System ipaddress 10.48.74.122/8
Success.
DGS-3400:4#
Example usage:
To configure the IPv6 address for IP interface Trinity:
138