xStack DGS-3612G Layer 3 Gigabit Ethernet Managed Switch CLI Manual
Example usage:
To create the primary IP interface, p1 on VLAN Trinity:
DGS-3612G:4#create ipif p1 ipaddress 10.1.1.1 Trinity state enabled
Command: create ipif p1 ipaddress 10.1.1.1 Trinity state enabled
Success.
DGS-3612G:4#
To create the secondary IP interface, s1 on VLAN Trinity:
DGS-3612G:4#create ipif p1 ipaddress 12.1.1.1 Trinity secondary state enable
Command: create ipif p1 ipaddress 12.1.1.1 Trinity secondary state enable
Success.
DGS-3612G:4#
config ipif
Purpose
Used to configure an IP interface set on the Switch.
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.
<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). (This parameter may also appear as
<ip_addr/netmask>).
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.
Parameters
Example usage:
To configure the IP interface System:
DGS-3612G:4#config ipif System ipaddress 10.48.74.122/8
Command: config ipif System ipaddress 10.48.74.122/8
Success.
DGS-3612G:4#
130