Cisco MDS 9020 Configuration Manual

Cisco MDS 9020 Configuration Manual

Fabric switch
Hide thumbs Also See for MDS 9020:

Advertisement

Quick Links

S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m

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
No configuration is needed on the Cisco MDS 9020 Fabric Switch for interoperability with Brocade and
Note
McData switches. For information on configuring these third party switches refer to the Cisco MDS
9000 Family Switch-to-Switch Interoperability Configuration Guide.
OL-6988-02
Cisco MDS 9020 Fabric Switch Configuration Guide and Command Reference
C H A P T E R
3
3-1

Advertisement

Table of Contents
loading

Summary of Contents for Cisco MDS 9020

  • Page 1: Initial Configuration

    • Deleting Files, page 3-21 • No configuration is needed on the Cisco MDS 9020 Fabric Switch for interoperability with Brocade and Note McData switches. For information on configuring these third party switches refer to the Cisco MDS 9000 Family Switch-to-Switch Interoperability Configuration Guide.
  • Page 2: Initial Setup Routine

    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 IP address and other configuration information necessary for the switch to communicate over the Ethernet interface. This information is required to configure and manage the switch.
  • Page 3: Preparing To Configure The Switch

    S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m Preparing to Configure the Switch Before you configure a Cisco MDS 9020 Fabric Switch for the first time, you need the following information: •...
  • Page 4: Setup Options

    Setup Options The setup scenario differs based on the subnet to which you are adding the new switch. You must configure a Cisco MDS 9020 Fabric Switch with an IP address to enable management connections from outside of the switch.
  • Page 5: Assigning Setup Information

    Configuring Out-of-Band Management To configure the switch for first time out-of-band access, follow these steps: Power on the switch. The Cisco MDS 9020 Fabric Switch boots automatically. Step 1 Enter the password for the administrator.
  • Page 6 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...
  • Page 7 If you do not save the configuration at this point, none of your changes are updated the next Caution 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”.) Cisco MDS 9020 Fabric Switch Configuration Guide and Command Reference OL-6988-02...
  • Page 8: Using The Setup Command

    Press Enter in case you want to skip any dialog. Use ctrl-c at anytime to skip away remaining dialogs. Would you like to enter the basic configuration dialog (yes/no): yes The setup utility guides you through the basic configuration process. Cisco MDS 9020 Fabric Switch Configuration Guide and Command Reference OL-6988-02...
  • Page 9: Accessing The Switch

    Serial console access—You can use a serial port connection to access the CLI. • Out-of-band (10/100BASE-T Ethernet) access—You can use Telnet or SSH to access a Cisco MDS • 9020 Fabric Switch or use SNMP to connect to Cisco Fabric Manager.
  • Page 10: Assigning A Switch Name

    SAN association, or the organization to which it is deployed. The assigned name is displayed in the command-line prompt. The switch name is limited to 32 alphanumeric characters. This guide refers to the Cisco MDS 9020 Fabric Switch as switch, and it uses the prompt.
  • Page 11: Configuring Date And Time

    S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m Configuring Date and Time A Cisco MDS 9020 Fabric Switch uses Universal Coordinated Time (UTC), which is the same as Greenwich Mean Time (GMT). To change the default time on the switch, enter the clock command from EXEC mode.
  • Page 12 Disables the daylight saving time adjustment feature. Step 4 switch(config)# exit Returns to EXEC mode. switch# Step 5 Verifies the time zone configuration. switch# show clock Cisco MDS 9020 Fabric Switch Configuration Guide and Command Reference 3-12 OL-6988-02...
  • Page 13: Ntp Configuration

    Before you begin to configure the management interface manually, obtain the switch’s IP address and IP Note subnet mask. Also make sure the console cable is connected to the console port. Cisco MDS 9020 Fabric Switch Configuration Guide and Command Reference 3-13 OL-6988-02...
  • Page 14: Obtaining Remote Management Access

    You need to explicitly configure a default gateway to connect to the switch and send IP packets or add a Note route for each subnet. Cisco MDS 9020 Fabric Switch Configuration Guide and Command Reference 3-14 OL-6988-02...
  • Page 15: Default Gateway Configuration

    To configure the IP address of the default gateway, follow these steps: Command Purpose Step 1 Enters configuration mode. switch# config t Step 2 switch(config)# ip default-gateway 172.16.1.1 Configures the 172.16.1.1 IP address. Cisco MDS 9020 Fabric Switch Configuration Guide and Command Reference 3-15 OL-6988-02...
  • Page 16: Table Of Contents

    S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m Telnet Server Connection The Telnet server is enabled by default on a Cisco MDS 9020 Fabric Switch. If you require a secure SSH connection, you need to disable the default Telnet connection and then enable the SSH connection. (See “Enabling SSH Service”...
  • Page 17: Displaying Configuration Files

    Use the show startup-config command to view the startup configuration file. switch# show startup-config interface fc1/1 no shutdown Auto interface fc1/2 no shutdown Auto interface fc1/3 no shutdown interface fc1/4 no shutdown Auto Cisco MDS 9020 Fabric Switch Configuration Guide and Command Reference 3-17 OL-6988-02...
  • Page 18 Auto interface fc1/16 no shutdown Auto interface fc1/17 no shutdown Auto interface fc1/18 no shutdown Auto interface fc1/19 no shutdown Auto interface fc1/20 no shutdown Auto Cisco MDS 9020 Fabric Switch Configuration Guide and Command Reference 3-18 OL-6988-02...
  • Page 19: Step 2

    S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m Downloading Configuration Files to the Switch You can configure a Cisco MDS 9020 Fabric Switch by using configuration files that you create or download from another switch. Before you begin downloading a configuration file using a remote server, do the following: •...
  • Page 20: Saving The Configuration

    This example shows how to back up the startup configuration to the TFTP server (ASCII file): • switch# copy startup-config tftp://172.16.10.100/my-config This example shows how to back up the running configuration to the bootflash: file system (ASCII • file): switch# copy running-config bootflash:my-config Cisco MDS 9020 Fabric Switch Configuration Guide and Command Reference 3-20 OL-6988-02...
  • Page 21: Rolling Back To A Previous Configuration

    The write erase command clears the binary file. Deleting Files Assuming you are already in the bootflash: file system, use the delete command to delete a file from the bootflash: file system: switch# delete dns_config.cfg Cisco MDS 9020 Fabric Switch Configuration Guide and Command Reference 3-21 OL-6988-02...
  • Page 22 S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m Cisco MDS 9020 Fabric Switch Configuration Guide and Command Reference...

Table of Contents