D-Link DGS-3600 Switch User Manual


 
xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
149
create ipif
above IP interface.
secondary – Enter this parameter if this configured IP interface is to be a
secondary IP interface of the VLAN previously specified. secondary
interfaces can only be configured if a primary interface is first configured.
state [enable | disable] Allows the user to enable or disable the IP interface.
Restrictions Only administrator-level users can issue this command.
Example usage:
To create the primary IP interface, p1 on VLAN Trinity:
DGS-3600:4#create ipif p1 10.1.1.1 Trinity state enabled
Command: create ipif p1 10.1.1.1 Trinity state enabled
Success.
DGS-3600:4#
To create the secondary IP interface, s1 on VLAN Trinity:
DGS-3600:4#create ipif p1 12.1.1.1 Trinity secondary state enable
Command: create ipif p1 12.1.1.1 Trinity secondary state enable
Success.
DGS-3600:4#
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