D-Link DGS-3100 Switch User Manual


 
DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual
12
1
17
BASIC IP COMMANDS
The Basic IP commands in the Command Line Interface (CLI) are listed (along with the appropriate
parameters) in the following table.
Command Parameter
config ipif system
[{ipaddress <network_address> | vlan <vlan_name 32> | state [enable | disable]}
| {dhcp | vlan <vlan_name 32>}]
show ipif {system}
Each command is listed in detail, as follows:
config ipif system
Purpose To configure the System IP interface.
Syntax
config ipif system [{ipaddress <network_address> | vlan
<vlan_name 32> | state [enable | disable]} | dhcp] {dhcp | vlan
<vlan_name 32>}]
Description The config ipif system command configures the System IP
interface on the Switch.
Parameters system - The IP interface name to be configured. The default IP
Interface name on the Switch is ‘System’. All IP interface
configurations done are executed through this interface name.
<network_address> IP address and netmask of the IP interface to
be created. The address and mask information may be specified by
using the traditional format (for example, 10.1.2.3/255.0.0.0 or in
CIDR format, 10.1.2.3/16).
<vlan_name 32> The name of the VLAN corresponding to the
System IP interface.
state [enable | disable] Enables or disables the IP interface.
dhcp | vlan <vlan_name 32 Specifies the DHCP protocol for the
assignment of an IP address to the Switch’s System IP interface and
the VLAN name to use for the DHCP Protocol..
Restrictions Only Administrator or operator-level users can issue this command.
Example usage:
To configure the IP interface System:
DGS3100# config ipif System ipaddress 10.48.74.122/8
Success.
DGS3100#