Basic Configuration
3-17
3
Setting the Switch’s IP Address
This section describes how to configure an initial IP interface for management
access over the network. The IP address for this stack is obtained via DHCP by
default. To manually configure an address, you need to change the stack’s default
settings to values that are compatible with your network. You may also need to a
establish a default gateway between the stack and management stations that exist
on another network segment (if routing is not enabled on this stack).
You can manually configure a specific IP address, or direct the device to obtain an
address from a BOOTP or DHCP server. Valid IP addresses consist of four decimal
numbers, 0 to 255, separated by periods. Anything outside this format will not be
accepted by the CLI program.
Command Usage
• This section describes how to configure a single local interface for initial access to
the stack. To configure multiple IP interfaces on this stack, you must set up an IP
interface for each VLAN (page 3-208).
• To enable routing between the different interfaces on this stack, you must enable
IP routing (page 3-207).
• To enable routing between the interfaces defined on this stack and external
network interfaces, you must configure static routes (page 3-222) or use dynamic
routing; i.e., either RIP (page 3-224) or OSPF (page 3-234).
• The precedence for configuring IP interfaces is the IP / General / Routing Interface
menu (page 3-208), static routes (page 3-222), and then dynamic routing.
Command Attributes
• VLAN – ID of the configured VLAN (1-4093). By default, all ports on the stack are
members of VLAN 1. However, the management station can be attached to a port
belonging to any VLAN, as long as that VLAN has been assigned an IP address.
• IP Address Mode – Specifies whether IP functionality is enabled via manual
configuration (Static), Dynamic Host Configuration Protocol (DHCP), or Boot
Protocol (BOOTP). If DHCP/BOOTP is enabled, IP will not function until a reply has
been received from the server. Requests will be broadcast periodically by the
switch for an IP address. (DHCP/BOOTP values can include the IP address,
subnet mask, and default gateway.)
• IP Address – Address of the VLAN to which the management station is attached.
(Note you can manage the stack through any configured IP interface.) Valid IP
addresses consist of four numbers, 0 to 255, separated by periods.
(Default: 0.0.0.0)
• Subnet Mask – This mask identifies the host address bits used for routing to
specific subnets. (Default: 255.0.0.0)
• Default Gateway – IP address of the gateway router between the stack and
management stations that exist on other network segments. (Default: 0.0.0.0)