Initial setup of the switch

The switch must be configured correctly before it can operate within a network and fabric. For instructions on configuring the switch to operate in a fabric containing Extension Switches from other vendors, refer to the Fabric OS Administrator's Guide.

If you are going to use the switch in a single-switch setup, you can use EZSwitchSetup to complete the basic configuration. See the EZSwitchSetup CD, included with the switch, for more information.

If you do not want to use EZSwitch Setup, follow the instructions in this section.

To configure the switch, complete the following tasks.

Attention: Do not connect the switch to the network until the IP address is correctly set.

Providing power to the switch

Complete these steps to power on the switch:
  1. Connect the power cords to both power supplies in the chassis.
  2. Connect the other end of the power cords to power sources on separate circuits to protect against AC failure. Ensure that the cords have a minimum service loop of 15 cm (6 in.) available and are routed to avoid stress.

    The power supplies provide power to the switch as soon as they are connected to a power source. Each power supply has two LEDs, one for AC status and one for DC status. Both LEDs turn green within one second of power being applied. The power status LED on the port side of the switch turns green as soon as either power supply LED is green. The status LED is amber only until FOS is loaded and then it turns green. The status LED is green while POST is running.

    Attention: Power is supplied to the switch as soon as the first power supply is connected to a power source. There are no switches on the power supplies to turn the power on and off.
  3. After POST is complete, verify that the switch power and status LEDs on the left of the port side of the switch are both green. See Port side of the switch for the specific location of these LEDs.
Attention: Do not connect the switch to the network until the IP address is set.

Creating a serial connection

All basic configuration tasks in this guide are accomplished using a serial connection. If you need to know the serial port pinouts, refer to Table 13.

Complete these steps to log in to the switch through the serial connection.
  1. Verify that the switch has completed POST. When POST is complete, the port status and switch power and status LEDs return to a standard healthy state.
  2. Connect the serial cable to the serial port on the switch and to an RS-232 serial port on the workstation. If the serial port on the workstation is RJ-45 instead of RS-232, remove the adapter from the end of the serial cable and insert the exposed RJ-45 connector into the RJ-45 serial port on the workstation.
  3. Open a terminal emulator application (such as HyperTerminal on a PC, or TERM, TIP, or Kermit in a UNIX environment), and configure the application as follows:
    • In a Windows environment, use 9600 bits per second, 8 databits, no parity, 1 stop bit, and no flow control.
    • In a UNIX environment using TIP, enter the following string at the prompt:
      tip /dev/ttyb -9600
      If ttyb is already in use, then use ttya instead and enter the following string at the prompt:
      tip /dev/ttya -9600

Setting the switch IP address

You can configure the switch with a static IP address, or you can use a Dynamic Host Configuration Protocol (DHCP) server to set the IP address of the switch. DHCP is enabled by default. The switch supports both IPv4 and IPv6. See the Fabric OS Command Reference for details about the ipAddrSet command.

Using DHCP to set the IP address

When using DHCP, the switch obtains its IP address, subnet mask, and default gateway address from the DHCP server. The DHCP client can only connect to a DHCP server that is on the same subnet as the switch. If your DHCP server is not on the same subnet as the switch, use a static IP address.

Setting a static IP address
  1. Log in to the switch using the default password, which is password.
  2. Use the ipAddrSet command to set the Ethernet IP address.

    If you are going to use an IPv4 IP address, enter the IP address in dotted decimal notation as prompted.

    switch:admin> ipaddrset
    Ethernet IP Address [192.168.74.102]:
    
    If you are going to use an IPv6 address, enter the network information in colon-separated notation as prompted.
    switch:admin> ipaddrset -ipv6 --add 1080::8:800:200C:417A/64
    IP address is being changed...Done.
  3. Complete the rest of the network information as prompted. (IPv4 format shown in the example):
    Ethernet IP Address [192.168.74.102]:
    Ethernet Subnetmask [255.255.255.0]:
    Gateway IP Address [192.168.74.1]:
  4. Enter off to disable DHCP when prompted.
    DHCP [OFF]: off
  5. Optionally, verify that the address was correctly set by entering the ipAddrShow command at the prompt.

Changing the switch name and chassis name

Changing the switch and chassis names are important for accurate tracking of errors in the RASlog. The messages that appear in the log will be labeled with the switch or chassis name, which makes tracking the errors much easier. Choose an easily understandable and meaningful name for the switch and chassis names.

Complete the following steps to change the chassis name and then the switch name.

  1. Log in to the switch through Telnet using the admin account.
  2. Change the chassis name by using the chassisName command.
    switch:admin> chassisname SAN42Bchassis10
  3. Change the switch name by using the switchName command
    switch:admin> switchname SAN42Bswitch10

Creating an Ethernet connection

Complete the following steps to create an Ethernet connection to the switch.

  1. Remove the plug from the Ethernet port.
  2. Connect an Ethernet cable to the switch Ethernet port and to the workstation or to an Ethernet network containing the workstation.
Note: At this point, the switch can be accessed remotely by command line or by Web Tools. Ensure that the switch is not being modified from any other connections during the remaining tasks. The Ethernet management port also supports AutoMDI/MDIX.

Setting the domain ID of the switch

Complete the following steps to set the switch domain ID.

  1. Log in to the switch through Telnet using the admin account.
  2. Modify the domain ID if required.

    The default domain ID is 1. If the switch is not powered on until after it is connected to the fabric and the default domain ID is already in use, the domain ID for the new switch is automatically reset to a unique value. If the switch is connected to the fabric after it has been powered on and the default domain ID is already in use, the fabric segments. To find the domain IDs that are currently in use, enter the fabricShow command on another extension switch in the fabric.

    Complete these steps to modify the Domain ID.

    1. Disable the switch by entering the switchDisable command.
    2. Enter the configure command. The command prompts display sequentially; enter a new value or press Enter to accept each default value.
    3. Enter y after the "Fabric param" prompt.
      Fabric param (yes, y, no, n): [no] y
    4. Enter a unique domain ID (such as the domain ID used by the previous extension switch, if still available).
      Domain: (1..239) [1] 3
    5. Complete the remaining prompts or press Ctrl+D to accept the remaining settings without completing all the prompts.
    6. Re-enable the switch by entering the switchEnable command.

Setting the date and time of the switch

The date and time switch settings are used for logging events. Switch operation does not depend on the date and time; a switch with incorrect date or time values still functions properly. You can synchronize the local time of the principal or primary fabric configuration server (FCS) switch to that of an external Network Time Protocol (NTP) server.

Complete these steps to set the date and time of a switch.

  1. Log in to the switch as admin.
  2. Enter the date command at the command line using the following syntax:
    date ["newdate"]
    This command has the following operand: "newdate". This operand specifies the new date and time enclosed in double quotation marks. this operand is optional; if omitted, the current date and time is displayed. Date and time are specified as a string in the mmddhhmmyy format. The syntax uses the following values:
    • mm: Specifies the month. Valid values are 01 to 12.
    • dd: Specifies the date. Valid values are 01 to 31.
    • hh: Specifies the hour. Valid values are 00 to 23.
    • mm: Specifies the minutes. Valid values are 00 to 59.
    • yy: Specifies the year, valid values are 00 to 37 and 70 to 99. Year values from 70 to 99 are interpreted as 1970 to 1999; year values from 00 to 37 are interpreted as 2000 to 2037.
    switch:admin> date
    Tue Sept 23 14:05:10 UTC 2014
    switch:admin> date "0923140614"
    Tue Sept 23 14:06:00 UTC 2014

Synchronizing local time with an external source

Complete the following steps to synchronize the local time of the principal or primary FCS switch with that of an external NTP server.

  1. Log in asadmin.
  2. Enter the tsClockServer ipaddr command.

    The ipaddr variable represents the IP address of the NTP server that the switch can access. This argument is optional; by default, the value is "LOCL".

    swSAN42BR:admin> tsclockserver 192.168.126.60
    Updating Clock Server configuration...done.
    Updated with the NTP servers

Correcting the time zone of a switch

If the time of your switch is off by hours (and not minutes), use the following procedure to set the time zone.

  1. Log in asadmin.
  2. You can use the tstimezone --interactive command and follow the prompts or enter the tsTimeZone command as follows:
    tstimezone [houroffset [, minuteoffset]]
    For Pacific Standard Time, enter tsTimeZone -8,0
    For Central Standard Time, enter tsTimeZone -6,0
    For Eastern Standard Time, enter tsTimeZone -5,0

The default time zone for switches is universal time conversion (UTC), which is 8 hours ahead of Pacific Standard Time. Additional time zone conversions are listed in Table 1. The parameters listed do not apply if the time zone of the switches has already been changed from the default (8 hours ahead of Pacific Standard Time). For more information about the command parameters, refer to the tsTimeZone command in the Fabric OS Command Reference.

Setting the time zone needs to be done only once, because the value is stored in nonvolatile memory. For U.S. time zones, use Table 1 to determine the correct parameter for the tsTimeZone command.

Table 1. tsTimeZone command parameter selection
Local time tsTimeZone parameter (difference from UTC)
Atlantic Standard -4,0
Atlantic Daylight -3,0
Eastern Standard -5,0
Eastern Daylight -4,0
Central Standard -6,0
Central Daylight -5,0
Mountain Standard -7,0
Mountain Daylight -6,0
Pacific Standard -8,0
Pacific Daylight -7,0
Alaskan Standard -9,0
Alaskan Daylight -8,0
Hawaiian Standard -10,0

FCIP and Fibre Channel routing services configuration

The ports on the switch are initially set to persistently disabled.

If you want to enable the FC ports as a standard E_Port or F_Port, use the portcfgpersistentenable command to enable the ports.

If you are using the FC ports as EX_Ports, you must configure the Fibre Channel Routing Services feature before enabling the ports.

Refer to the Fabric OS Administrator's Guide for detailed instructions on configuring the Fibre Channel router ports and GbE ports on the switch.