The following procedure is a review of the tasks you should have completed during hardware installation. These tasks must be completed before you can configure the switch.
Before you configure a switch, perform the following steps:
Step 1 Verify the following physical connections for the new switch:
The console port is physically connected to a computer terminal (or terminal server).
The management Ethernet port (mgmt0) is connected to an external hub, switch, or router.
Cisco Nexus 4001I and 4005I Switch Module for IBM BladeCenter Hardware Installation Guide
for more information.
Tip Save the host ID information for future use (for example, to enable licensed features). The host ID information is provided in the Proof of Purchase document that accompanies the switch.
Step 2 Verify that the default console port parameters are identical to those of the computer terminal (or terminal server) attached to the switch console port:
8 data bits
1 stop bit
Preparing to Configure the Switch
Before you configure the switch for the first time, you need the following information:
Note If a password is weak (short, easy-to-decipher), your password configuration is rejected. Be sure to configure a strong password.
If you are using an IPv4 address for the management interface, you need the following information:
– IPv4 subnet mask for the switch management interface.
– IPv4 address of the default gateway (optional).
SSH service on the switch (optional).
To enable this service, select the type of SSH key (dsa/rsa/rsa1) and number of SSH key bits (768 to 2048).
NTP server IPv4 address (optional).
SNMP community string (optional).
switch name (optional).
This is your switch prompt.
An additional login account and password (optional).
Note If you are using IPv4, be sure to configure the IPv4 route, the IPv4 default network address, and the IPv4 default gateway address to enable SNMP access.
Configuring the Switch
This section describes how to initially configure the switch.
Note Press Ctrl-C at any prompt to skip the remaining configuration options and proceed with what you have configured up to that point. Entering the new password for the administrator is a requirement and cannot be skipped.
Tip If you do not want to answer a previously configured question, or if you want to skip answers to any questions, press Enter. If a default answer is not available (for example, switch name), the switch uses what was previously configured and skips to the next question.
Once the switch boots up and displays the initial configuration dialog on the serial console connection, you can configure the switch.
To enter the basic configuration parameters, perform the following steps:
Step 1 Use a terminal emulator to access the console port of the switch.
You can now configure the switch.
Note Register the switch immediately with your supplier. Failure to register may affect response times for the initial service call. The device must be registered to receive entitled support services.
Step 2 Enter the basic configuration information.
The following example shows how to start the basic configuration setup:
---- Basic System Configuration Dialog ---- This setup utility will guide you through the basic configuration of the system. Setup configures only enough connectivity for management *Note: setup is mainly used for configuring the system initially, when no configuration is present. So setup always assumes system defaults and not the current system configuration values. Press Enter at anytime to skip a dialog. Use ctrl-c at anytime to skip the remaining dialogs.
Step 3 Enter the setup mode by entering yes.
The following example shows how to enter the setup mode:
Would you like to enter the basic configuration dialog (yes/no): yes
Step 4 Create additional accounts by entering yes (no is the default).
The following example shows how to create additional accounts:
Create another login account (yes/no) [n]: y
a. Enter the user login ID:
Enter the User login Id :
b. Enter the user password:
Enter the password for "qatest":
Please enter a valid password. Confirm the password for "qatest":
Please enter a valid password.
c. Enter the default user role:
Enter the user role [network-operator]:
Step 5 Configure an SNMP community string by entering yes.
The following example shows how to configure an SNMP community string:
Configure read-only SNMP community string (yes/no) [n]: y SNMP community string :
Step 6 Enter a name for the switch.
The following example shows how to enter the switch name:
Enter the switch name : ibm-switch-1
Step 7 Configure out-of-band management by entering yes.
The following example shows how to configure out-of-band management:
Continue with Out-of-band (mgmt0) management configuration? (yes/no) [y]: Mgmt0 IPv4 address : 10.10.10.1 Mgmt0 IPv4 netmask : 255.255.255.0
Step 8 Configure the IPv4 default gateway (recommended) by entering yes. You can then enter its IP address.
The following example shows how to configure the default gateway:
Configure the default gateway? (yes/no) [y]: IPv4 address of the default gateway : 10.10.10.100
Step 9 Enable the Telnet service by entering yes.
The following example shows how to enable the Telnet service:
Enable the telnet service? (yes/no) [y]:
Step 10 Enable the SSH service by entering yes.
The following example shows how to enable the SSH service:
Enable the ssh service? (yes/no) [n]:
Step 11 Configure the NTP server by entering yes.
The following example shows how to configure the NTP server:
Configure the ntp server? (yes/no) [n]: The following configuration will be applied: username qatest password <user-password> role network-operator snmp-server community topspin ro ip address 10.10.10.1 255.255.255.0 ip route 0.0.0.0/0 10.10.10.100
Step 12 Configure the FCOE service by entering
), as in the following example (the default is no):
Enable FCOE service? (yes/no) [n]:
After the prompt for the FCOE service, the configuration displays.
The following configuration will be applied: username qatest password <user-password> role network-operator snmp-server community topspin ro ip address 10.10.10.1 255.255.255.0 ip route 0.0.0.0/0 10.10.10.100 Would you like to edit the configuration? (yes/no) [n]: Use this configuration and save it? (yes/no) [y]: y
Step 13 If you want to make changes to the displayed configuration, enter
); otherwise accept the default (no) by pressing
If you enter yes, the setup utility returns to the beginning of the setup, and repeats each step.
Step 14 Save this configuration by entering
), as in the following example (the default is no):.
If you do not save the configuration at this point, none of your changes are part of the configuration the next time the device reboots. Saving the configuration also automatically configures the boot variables for the kickstart and system images.
Use this configuration and save it? (yes/no) [y]: y
Note The switch has two out-of-band management interfaces. The AMM configuration is mgmt1. Mgmt 0 must be placed on a different subnet than mgmt1.