108
18
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>
Each command is listed, in detail, in the following sections.
config ipif
Purpose Used to configure the System IP interface.
Syntax
config ipif <ipif_name 12> [{ ipaddress <network_address>
[ vlan <vlan_name 32> | state [enabled | disabled]} | 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.
<network_address> − IP address and netmask of the IP interface to
be created. You 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 you 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.
Restrictions Only administrator-level users can issue this command.
Example usage:
To configure the IP interface System: