D-Link DES-3500Series Switch User Manual


 
DES-3500 Layer 2 Fast Ethernet Switch CLI Reference Manual
146
21
BASIC IP COMMANDS
The IP interface commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the
following table.
Command Parameters
config ipif <ipif_name 12> [{ipaddress <network_address> |
vlan <vlan_name 32> | state [enable | disable]} bootp | dhcp]
show ipif <ipif_name 12>
enable autoconfig*
Each command is listed, in detail, in the following sections.
*See Switch Utility Commands for descriptions of all autoconfig commands.
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]
Description This command is used to configure the System IP interface on the
Switch.
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).
<vlan_name 32> The name of the VLAN corresponding to the
System 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.
dhcp Allows the selection of the DHCP protocol for the assignment
of an IP address to the Switch’s System IP interface. If users are
using the autoconfig feature, the Switch becomes a DHCP client
automatically so it is not necessary to change the ipif settings.
Restrictions Only Administrator and Operator-level users can issue this command.
Example usage:
To configure the IP interface System:
DES-3526:admin#config ipif System ipaddress
10.48.74.122/8
Command: config ipif System ipaddress
10.48.74.122/8
Success.
DES-3526:admin#