background image

C H A P T E R

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

3-1

Cisco MDS 9020 Fabric Switch Configuration Guide and Command Reference

OL-6988-02

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

Note

No configuration is needed 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
.

Summary of Contents for Cisco MDS 9020 - Fabric Switch

Page 1: ...ge 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 Note No configuration is need...

Page 2: ...llation 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...

Page 3: ...switch To enable 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 enable SNMP access If IP routing is enabled the swit...

Page 4: ... 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 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 CLI GUI DNS server IP network Router IP address 172 16 1 1 Telnet or SSH SNMP Management LAN Et...

Page 5: ...alue 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 ...

Page 6: ...name user password c Enter the user role Enter the user role network operator network_admin 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 alphanumeri...

Page 7: ...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 gatew...

Page 8: ...n is present The setup utility assumes system defaults and not the current system configuration values switch 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 of the system Note setup always assumes a predefined defaults irrespective of the current system configuration wh...

Page 9: ...on 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 Note To use Cisco Fabric Manager refer to the Cisco MDS 9000 Family Fabric Manager Configuration Guide Figure 3 2 illustrates serial console access and out of band access Figure 3 2 Switch Access Options CLI GUI DNS server I...

Page 10: ...configure other software features or access the switch after initial configuration by using either the CLI or the Device Manager and Fabric Manager applications To use the Cisco Fabric Manager refer to the Cisco MDS 9000 Family Fabric Manager Configuration Guide Verifying the Status of the Switch Before you begin configuring the switch you need to ensure that the switch is functioning as designed ...

Page 11: ... Month is the month in words May and YYYY is the year 2005 Note The clock command changes are saved across system resets Configuring the Time Zone You can specify a time zone for the switch To specify the local time without the daylight savings feature perform this task Command Purpose Step 1 switch config t Enters configuration mode Step 2 switch config clock timezone timezone name 23 to 23 hours...

Page 12: ...ple sets the Pacific standard offset time as negative 8 hours and 0 minutes switch config no clock timezone Disables the time zone adjustment feature Step 3 switch config clock summer time daylight_timezone_name start_week start_day start_month start_time end_week end_day end_month end_time daylight_offset_inminutes Follow this example switch config clock summer time PDT 1 Sun Apr 02 00 5 Sun Oct ...

Page 13: ...ime source and receive client synchronization requests To configure NTP in a server association perform this task Management Interface Configuration A single IP address is used to manage the switch The switch management mgmt0 interface uses this IP address The management interface on the switch allows multiple simultaneous Telnet or SNMP sessions You can remotely configure the switch through the m...

Page 14: ...gain access to the switch switch config t switch config interface mgmt 0 switch config if shutdown Shutting down this interface will drop all telnet sessions Do you wish to continue y n y The following example shuts down the interface using the force option switch config t switch config interface mgmt 0 switch config if shutdown force Note You need to explicitly configure a default gateway to conn...

Page 15: ...esses to the default gateway Figure 3 3 shows the default gateway Figure 3 3 Default Gateway Configuring the Default Gateway To configure the IP address of the default gateway follow these steps CLI GUI DNS server IP Network Router IP Address 172 16 1 1 Telnet or SSH SNMP Management LAN Ethernet connection Switch 2 mgmt 0 IP address 172 16 1 2 Console connection Default gateway 79937 Command Purpo...

Page 16: ...Disabling a Telnet Connection To disable Telnet connections to the switch perform this task Working with Configuration Files Configuration files can contain some or all of the commands needed to configure one or more switches For example you might want to download the same configuration file to several switches that have the same hardware configuration so that they have identical module and port c...

Page 17: ...l ipconf 2 logging level module 2 logging level ntp 2 logging level sysmgr 2 no snmp server contact no snmp server location zone name asdfa zoneset name dave interface mgmt0 ip address 10 20 83 122 255 255 255 0 interface fc1 1 interface fc1 2 interface fc1 3 interface fc1 4 interface fc1 5 interface fc1 6 interface fc1 7 interface fc1 8 interface fc1 9 interface fc1 10 interface fc1 11 interface ...

Page 18: ...c1 6 no shutdown Auto interface fc1 7 no shutdown Auto interface fc1 8 no shutdown Auto interface fc1 9 no shutdown Auto interface fc1 10 no shutdown Auto interface fc1 11 no shutdown Auto interface fc1 12 no shutdown Auto interface fc1 13 no shutdown Auto interface fc1 14 no shutdown Auto interface fc1 15 no shutdown Auto interface fc1 16 no shutdown Auto interface fc1 17 no shutdown Auto interfa...

Page 19: ...nloaded from a remote server using TFTP or FTP follow these steps Step 1 Log in to the switch through the console port or through a Telnet or SSH session Step 2 Configure the switch using the configuration file downloaded from the remote server using the copy scheme server address running config command where scheme is TFTP or FTP The configuration file downloads and the commands are executed as t...

Page 20: ...opy a running configuration to the bootflash file system switch copy running config bootflash my config This example shows how to overwrite the contents of an existing configuration in the nonvolatile file system switch copy bootflash my config bootflash startup config Backing Up the Current Configuration Before installing or migrating to any software configuration back up the startup configuratio...

Page 21: ...up config Note You can enter a rollback command only when a snapshot is already created Otherwise you will receive the No snapshot config found error message This example shows how to roll back to a configuration copy that was previously saved in the bootflash file system ASCII file switch copy bootflash my config startup config Note Each time a copy running config startup config command is entere...

Page 22: ... 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 ck d o c c i s c o c o m 3 22 Cisco MDS 9020 Fabric Switch Configuration Guide and Command Reference OL 6988 02 Chapter 3 Initial Configuration Deleting Files ...

Reviews: