xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
150
20
IP
C
OMMANDS
(I
NCLUDING
IP
M
ULTINETTING
)
IP Multinetting is a function that allows multiple IP interfaces to be assigned to the same VLAN. This is beneficial to the
administrator when the number of IPs on the original interface is insufficient and the network administrator wishes not to resize the
interface. IP Multinetting is capable of assigning another IP interface on the same VLAN without affecting the original stations or
settings of the original interface.
Two types of interfaces are configured for IP multinetting, primary and secondary, and every IP interface must be classified as one of
these. A primary interface refers to the first interface created on a VLAN, with no exceptions. All other interfaces created will be
regarded as secondary only, and can only be created once a primary interface has been configured. There may be 256 interfaces per
VLAN (one primary, and up to 255 secondary) and they are, in most cases, independent of each other. Primary interfaces cannot be
deleted if the VLAN contains a secondary interface. Once the user creates multiple interfaces for a specified VLAN (primary and
secondary), that set IP interface cannot be changed to another VLAN.
IP Multinetting is a valuable tool for network administrators requiring a multitude of IP addresses, but configuring the Switch for IP
multinetting may cause troubleshooting and bandwidth problems, and should not be used as a long term solution. Problems may
include:
•
The Switch may use extra resources to process packets for multiple IP interfaces.
•
The amount of broadcast data, such as RIP update packets and PIM hello packets, will be increased
The IP interface commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following
table.
Each command is listed, in detail, in the following sections.
Command Parameters
create ipif
<ipif_name 12> {<network_address>} <vlan_name 32> {secondary | state
[enable | disable]}
config ipif
<ipif_name 12> [{ipaddress <network_address> | vlan <vlan_name 32> |
state [enable | disable]} | 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 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>}
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>
{secondary | state [enabled | disabled]}
Description This
command
will 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). (This parameter may also appear as <ip_addr/netmask>).
<vlan_name 32>
−
The name of the VLAN that will be associated with the