3.2.2Setting the IP Address

By default, the switch searches for its IP address, default gateway, and netmask using DHCP.

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. Any other format will not be accepted by the software.

Note – The IP address of the switch is in fact the IP address of the VLAN containing the management port (NETMGT). By default, the management port is on VLAN 2. Therefore, by assigning an IP address to VLAN 2 you set up network access to the switch. Only the VLAN containing the management port should be assigned an IP address. If you assign an IP address to any other VLAN, the original IP address is immediately disabled and the new address takes immediate effect.

When setting the switch IP configuration using the web interface or CLI, the following parameters are displayed or can be configured:

Current IP Address – The current address of the VLAN interface that is allowed management access.

MAC Address4 – The physical layer address for this switch.

Management VLAN – The VLAN through which you can manage the switch. By default, the management port (NETMGT) is configured as a member of this VLAN (that is, VLAN 2). However, if you change the Management VLAN, you will lose management access to the switch unless the NETMGT port has already been configured as a member of the new VLAN. If this occurs, you will have to use the console interface to add the NETMGT port to the newly configured Management VLAN. (See Section 4.3.12.8, “switchport allowed vlan” on

page -127.)

IP Address Mode – The method through which IP functionality is enabled. The options are 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 are broadcast periodically by the switch for IP configuration settings. (DHCP/BOOTP values can include the IP address, subnet mask, and default gateway.)

DHCP – Dynamic Host Configuration Protocol

Enable Client ID – Includes a client identifier in all communications with the DHCP server.

4. CLI: See “Displaying System Information” on page 3-8.

3-12Sun Fire B1600 Blade System Chassis Switch Administration Guide • June 2003

Page 50
Image 50
Sunfire B1600 manual Setting the IP Address