xStack Gigabit Layer 3 Switch Command Line Interface Manual
config ipif
Description
This command is used to configure the System IP interface on the
Switch.
Parameters
<ipif_name 12>
- Enter the previously created IP interface name
desired to be configured.
ipaddress <network_address>
−
IP address and netmask of the IP
interface to be configured. 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 <vlan_name 32>
−
The name of the VLAN corresponding to
the previously created IP interface. If a primary and secondary IP
interface are configured for the same VLAN (subnet), the user
cannot change the VLAN of the 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:
DGS-3324SRi:4#config ipif System ipaddress 10.48.74.122/8
Command: config ipif System ipaddress 10.48.74.122/8
Success.
DGS-3324SRi:4#
enable ipif
Purpose
Used to enable an IP interface on the Switch.
Syntax
enable ipif {<ipif_name 12> | all}
Description
This command will enable the IP interface function on the Switch.
Parameters
<ipif_name 12>
−
The name of a previously configured IP interface
the user wishes to enable. Enter an alphanumeric entry of up to
twelve characters to define the IP interface.
all
– Entering this parameter will enable all the IP interfaces
currently configured on the Switch.
Restrictions None.
Example usage:
To enable the ipif function on the Switch:
138