Setting the switch IP address

You can configure the SAN96B-5 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. If you are using IPv6, see the Fabric OS Command Reference for details when issuing 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

Complete the following steps to configure the switch with 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. As you enter a value and then press Enter for a line in the following example, the next line will appear.

    For instance, the Ethernet IP Address appears first. When you enter a new IP address and then press Enter or simply press Enter to accept the existing value, the Ethernet Subnetmask line appears.

    In addition to the Ethernet IP address itself, you can set the Ethernet subnet mask, the Gateway IP address, and whether to obtain the IP address through DHCP or not.
    switch:admin> ipaddrset
    Ethernet IP Address [192.168.74.102]:
    Ethernet Subnetmask [255.255.255.0]:
    Gateway IP Address [192.168.74.1]:
    DHCP [Off]: off
    If you are going to use an IPv6 address, enter the network information in semicolon-separated notation as a standalone command.
    switch:admin> ipaddrset -ipv6 --add 1080::8:800:200C:417A/64
    IP address is being changed...Done.
  3. Optionally, verify that the address was correctly set by entering the ipAddrShow command at the prompt.
  4. Optionally, record the IP address on the pull out tab provided for this purpose on the port side of the switch.