Cisco Systems MDS 9020 User Manual

Send documentation comments to mdsfeedback-doc@cisco.com
CHAPTER
3
Initial Configuration
This chapter describes how to initially configure switches so they can be accessed by other devices. This chapter includes the following sections:
Starting a Cisco MDS 9020 Fabric Switch, page 3-2
Initial Setup Routine, page 3-2
Accessing the Switch, page 3-9
Assigning a Switch Name, page 3-10
Where Do You Go Next?, page 3-10
Verifying the Status of the Switch, page 3-10
Configuring Date and Time, page 3-11
Management Interface Configuration, page 3-13
Default Gateway Configuration, page 3-15
Telnet Server Connection, page 3-16
Working with Configuration Files, page 3-16
Deleting Files, page 3-21
OL-6988-02
Note No configurationisneeded on the Cisco MDS 9020 Fabric Switch for interoperability with Brocade and
McData switches. For information on configuring these third party switches refer to the Cisco MDS 9000 Family Switch-to-Switch Interoperability Configuration Guide.
Cisco MDS 9020 Fabric Switch Configuration Guide and Command Reference
3-1
Chapter 3 Initial Configuration

Starting a Cisco MDS 9020 Fabric Switch

Send documentation comments to mdsfeedback-doc@cisco.com
Starting a Cisco MDS 9020 Fabric Switch
The following procedure is a review of the tasks you should have completed during hardware installation, including starting up the switch. These tasks must be completed before you can configure the switch.
Before you can configure a switch, follow these steps:
Step 1 Verify the following physical connections for the new Cisco MDS 9020 Fabric Switch:
The console port is physically connected to a computer terminal (or terminal server).
The management 10/100 Ethernet port (mgmt0) is connected to an external hub, switch, or router.
Refer to the Cisco MDS 9020 Fabric Switch 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:
9600 baud
8 data bits
1 stop bit
No parity
Step 3 Power on the switch. The switch boots automatically and the switch# prompt appears in your terminal
window.

Initial Setup Routine

The first time that you access a Cisco MDS 9020 Fabric Switch, it runs a setup program that prompts you for the IPaddressandotherconfigurationinformation necessary for the switch to communicate over the Ethernet interface. This information is required to configure and manage the switch.
Note The IP address can be configured from the CLI only. When you power up the switch for the first time,
assign the IP address. After you perform this step, the Cisco Fabric Manager can reach the switch through the Ethernet port.
Cisco MDS 9020 Fabric Switch Configuration Guide and Command Reference
3-2
OL-6988-02
Chapter 3 Initial Configuration
Initial Setup Routine
Send documentation comments to mdsfeedback-doc@cisco.com

Preparing to Configure the Switch

Before you configure a Cisco MDS 9020 Fabric Switch for the first time, you need the following information:
Administrator password, including:
Creating a password for the administrator (required).
Creating an additional login account and password (optional).
IP address for the switch management interface. The management interface is an out-of-band
Ethernet interface.
Subnet mask for the switch's management interface (optional).
IP addresses, including:
Destination prefix, destination prefix subnet mask, and next hop IP address, if you want to enable IP routing. Also, provide the IP address of the default network (optional).
Otherwise, provide an IP address of the default gateway (optional).
SSH service on the switch—Toenable this optional service, select the SSH key (rsa) and the number
of key bits (768 to 2048).
Default domain name (optional).
NTP server IP address (optional).
SNMP community string (optional).
Switch name—This is your switch prompt (optional).
Note Be sure to configure the IP route, the IP default network address, and the IP default gateway address to

Default Login

enable SNMP access. If IP routing is enabled, the switch uses the IP route and the default network IP address. If IP routing is disabled, the switch uses the default gateway IP address.
The Cisco MDS 9020 Fabric Switch has the network administrator as a default user (admin). Youcannot change the default user at any time. (See the “Role-Based Authorization” section on page 9-5.)
You must explicitly configure a strong password for the Cisco MDS 9020 Fabric Switch. If a password is trivial (short, easy-to-decipher), your password configurationis rejected. Be sure to configure a strong password. (See “Configuring User Accounts” section on page 9-6.) If you configure and subsequently forget this new password, you have the option to recover this password. (See the “Recovering the
Administrator Password” section on page 9-10.)
OL-6988-02
Cisco MDS 9020 Fabric Switch Configuration Guide and Command Reference
3-3
Chapter 3 Initial Configuration
Initial Setup Routine
Send documentation comments to mdsfeedback-doc@cisco.com

Setup Options

The setup scenario differs based on the subnet to which you are adding the new switch. You must configurea Cisco MDS 9020 Fabric Switch with an IP address to enable management connections from outside of the switch. Figure 3-1 shows a switch that is managed out-of-band over a connection to the network through an Ethernet port.
Figure 3-1 Management Access to Switches
Console
connection
Switch 2
Out of band management subnetwork
mgmt 0
(IP address:
172.16.1.2)
(Ethernet connection)
IP address
172.16.1.1
Management LAN
Telnet or
SSH
SNMP
Router
IP
network
CLI
DNS server
GUI
79936
3-4
Cisco MDS 9020 Fabric Switch Configuration Guide and Command Reference
OL-6988-02
Chapter 3 Initial Configuration
Initial Setup Routine
Send documentation comments to mdsfeedback-doc@cisco.com

Assigning Setup Information

This section describes how to initially configure the switch for both out-of-band and in-band management.
Note Press Ctrl-C at any prompt to skip the remaining configuration options and proceed with what is
configureduntil that point. Entering the new password for the administrator is a requirement and cannot be skipped.
Tip If you do not wish to answer a previously configured question, or if you wish to skip answers to any
questions, press Enter. If a default answer is not available (for example, switch name), the switch uses previously configured value and skips to the next question.

Configuring Out-of-Band Management

To configure the switch for first time out-of-band access, follow these steps:
Step 1 Power on the switch. The Cisco MDS 9020 Fabric Switch boots automatically. Step 2 Enter the password for the administrator.
Enter the password for admin: admin123
Step 3 Enter yes to enter the setup mode.
---- Basic System Configuration Dialog ---­This setup utility will guide you through the basic configuration of the system. Setup configures only enough connectivity for management of the system.
*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 if you want to skip any dialog. Use ctrl-c at anytime to skip all remaining dialogs.
Would you like to enter the basic configuration dialog (yes/no): yes
The setup utility guides you through the basic configuration process. Press Ctrl-C at any prompt to end the configuration process.
OL-6988-02
Cisco MDS 9020 Fabric Switch Configuration Guide and Command Reference
3-5
Chapter 3 Initial Configuration
Initial Setup Routine
Send documentation comments to mdsfeedback-doc@cisco.com
Step 4 Enter yes (no is the default) to create additional accounts.
Note Only the admin user name can create or modify user accounts.
Create another login account (yes/no) [n]: yes
While configuring your initial setup, you can create an additional user account (in the network-admin role) besides the administrator’s account. See the “Role-Based Authorization” section on page 9-5 for information on default roles and permissions.
a. Enter the user login ID.
Enter the user login ID:
b. Enter the user password.
Enter the password for user_name: Confirm the password for user_name:
c. Enter the user role.
Enter the user role [network-operator]:network_admin
user_name
user-password
user-password
Step 5 Enter yes (no is the default) to configure the read-only or read-write SNMP community string.
Configure read-only SNMP community string (yes/no) [n]: yes
a. Enter the SNMP community string.
SNMP community string:
snmp_community
Step 6 Enter a name for the switch.
Note The switch name is limited to 32 alphanumeric characters.
Enter the switch name:
switch_name
Step 7 Enter yes (yes is the default) to configure out-of-band management.
Continue with Out-of-band (mgmt0) management configuration? [yes/no]: yes
a. Enter the mgmt0 IP address.
Mgmt0 IP address:
ip_address
b. Enter the mgmt0 subnet mask.
Mgmt0 IP netmask:
subnet_mask
Step 8 Enter yes (yes is the default) to configure the default gateway (recommended).
Configure the default-gateway: (yes/no) [y]: yes
3-6
a. Enter the default gateway IP address.
IP address of the default-gateway:
default_gateway
Step 9 Enter yes (yes is the default) to enable Telnet service.
Enable the telnet service? (yes/no) [y]: yes
Cisco MDS 9020 Fabric Switch Configuration Guide and Command Reference
OL-6988-02
Chapter 3 Initial Configuration
Initial Setup Routine
Send documentation comments to mdsfeedback-doc@cisco.com
Step 10 Enter no (no is the default) to disable the SSH service.
Enabled SSH service? (yes/no) [n]: no
Step 11 Enter no (no is the default) to not configure the NTP server.
Configure NTP server? (yes/no) [n]: no
Step 12 Enter noshut (shut is the default) to configure the default switchport interface to the noshut state.
Configure default switchport interface state (shut/noshut) [shut]: noshut
Step 13 Enter deny (deny is the default) to deny a default zone policy configuration.
Configure default zone policy (permit/deny) [deny]: deny
Deny prevents traffic flow to all members of the default zone.
Step 14 You see the new configuration. Review and edit the configuration that you have just entered. Enter no
(no is the default) if you are satisfied with the configuration.
The following configuration will be applied: username admin password admin_pass role network-admin switchname switch interface mgmt0 ip address ip_address subnet_mask ip default-gateway 10.0.0.254 telnet server enable no ssh server enable no system default switchport shutdown no zone default-zone permit
Would you like to edit the configuration? (yes/no) [n]: no
Step 15 Enter yes (yes is default) to use and save this configuration:
Use this configuration and save it? (yes/no) [y]: yes
Caution If you do not save the configuration at this point, none of your changes are updated the next
time the switch is rebooted. Type yes to save the new configuration and ensure that the system images are also automatically configured. (See Chapter 4, “Software Images”.)
OL-6988-02
Cisco MDS 9020 Fabric Switch Configuration Guide and Command Reference
3-7
Loading...
+ 15 hidden pages