D-Link xStackTM DGS/DXS-3300 Series Switch User Manual


 
xStack DGS/DXS-3300 Series Layer 3 Stackable Gigabit Ethernet Switch CLI Manual
131
create ipif
Purpose Used to create an IP interface on the Switch.
Syntax
create ipif <ipif_name 12> <network_address> <vlan_name
32> {secondary | {state [enable | disable]}
Description This command will create an IP interface.
Parameters
<ipif_name 12> The name for the IP interface to be created. The
user may enter an alphanumeric string of up to 12 characters to
define the IP interface.
<network_address> IP address and netmask of the IP interface
to be created. The address and mask information can be specified
using the traditional format (for example, 10.1.2.3/255.0.0.0 or in
CIDR format, 10.1.2.3/8).
<vlan_name 32> The name of the VLAN that will be associated
with the 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-3324SRi:4#create ipif p1 10.1.1.1 Trinity state enable
Command: create ipif p1 10.1.1.1 Trinity state enable
Success.
DGS-3324SRi:4#
To create the secondary IP interface, s1 on VLAN Trinity:
DGS-3324SRi: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-3324SRi:4#