Switch Command Reference Guide

406
C
HAPTER
16: I
NTERNET
P
ROTOCOL
(IP)
ip interface define
(3900/9300/9400/
3500
9000
9400
3900
9300
9000 Layer 2)
Defines an IP interface.
Valid Minimum Abbreviation
ip i def
Important Consideration
Before you define the IP (routing) interface, first define a virtual LAN
(VLAN) and select IP as a protocol that the VLAN supports, as
described in Chapter 16.
Options
IP Interface Define Example
Enter IP address: 158.101.1.1
Enter subnet mask [255.255.0.0]: 255.255.255.0
Enter VLAN interface index {2|?}[2]:2
Prompt Description Possible Values [Default]
IP address IP address of the interface,
chosen from the range of
addresses that the central agency
assigned to your organization.
This address is specific to your
network and system.
A valid IP address
in the range of
addresses that
are assigned to
your
organization
Subnet mask 32-bit number that uses the
same format and representation
as an IP address. The subnet
mask determines which bits in
the IP address are interpreted as
the network number, the
subnetwork number, and the
host number. Each IP address bit
that corresponds to a 1 in the
subnet mask is in the
network/subnetwork part of the
address. Each IP address bit that
corresponds to a 0 is in the host
part of the IP address.
A valid subnet
mask in
accordance with
the bits that are
used for network
number,
subnetwork, and
host number
Depends on
specified IP
address
VLAN interface
index
Index number of the IP VLAN
that is associated with the IP
interface.
(Not applicable if you have more
than one VLAN)
A selectable
VLAN index
? (for a list of
selectable
VLAN
indexes)
Current
value