xStack
®
DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
151
20
IP COMMANDS (INCLUDING IPV6)
The IP interface commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the
following table.
Command Parameters
create ipif <ipif_name 12> {<network_address>} <vlan_name 32> {state [enable | disable]}
config ipif <ipif_name 12> [{ipaddress <network_address> | vlan <vlan_name 32> | state [enable |
disable]} (1) | bootp | dhcp | ipv6 ipv6address <ipv6networkaddr>]
enable ipif {<ipif_name 12> | all}
disable ipif {<ipif_name 12> | all}
delete ipif [<ipif_name 12> {ipv6address <ipv6networkaddr>} | all]
show ipif {<ipif_name 12>}
enable autoconfig*
disable autoconfig
show autoconfig
enable
ipif_ipv6_link_local_auto
[<ipif_name 12> | all ]
disable
ipif_ipv6_link_local_auto
[<ipif_name 12> | all ]
show
ipif_ipv6_link_local_auto
{<ipif_name 12>}
*See Switch Utility Commands for descriptions of all autoconfig commands.
Each command is listed, in detail, in the following sections.
create ipif
Purpose Used to create an IP interface on the Switch.
Syntax
create ipif <ipif_name 12> {<network_address>} <vlan_name 32> {state [enable |
disable]}
Description This command is used to create an IP interface.
Parameters
<ipif_name 12> − The name for the IP interface to be created. The user may enter an
alphanumeric string of up to 12 characters to define the IP interface.
<network_address> − IP address and netmask of the IP interface to be created. 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_name 32> − The name of the VLAN that will be associated with the above IP
interface.
state [enable | disable] − Allows the user to enable or disable the IP interface.
Restrictions Only Administrator and Operator-level users can issue this command.
Example usage:
To create the IP interface, p1 on VLAN Tiberius: