Cisco Systems MDS 9020 Switch User Manual


 
Send documentation comments to mdsfeedback-doc@cisco.com
3-10
Cisco MDS 9020 Fabric Switch Configuration Guide and Command Reference
OL-6988-02
Chapter 3 Initial Configuration
Assigning a Switch Name
Assigning a Switch Name
Each switch in the fabric requires a unique name. You can assign names to easily identify the switch by
its physical location, its 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.
Note This guide refers to the Cisco MDS 9020 Fabric Switch as switch, and it uses the switch# prompt.
To change the name of the switch, perform this task:
Where Do You Go Next?
After reviewing the default configuration, you can change it or perform other configuration or
management tasks. The initial setup can be performed at the CLI only. However, you can continue to
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.
To verify the status of a switch at any time, enter the show module command in EXEC mode. A sample
output of the show module command follows:
switch# show module
Mod Ports Module-Type Model Status
--- ----- ------------------------------- ------------------ ------------
1 20 1/2/4 Gbps FC/Supervisor DS-C9020-20K9 active *
Mod Sw Hw World-Wide-Name (WWN)
--- ------------ ------ --------------------------------------------------
1 2.1(2) ------- 10:00:00:0d:ec:19:cb:01
Mod MAC-Address Serial-Num
--- -------------------------------------- ----------
1 00-c0-dd-03-d4-e4 0426a07855
* this terminal session
If the status is OK or active, you can continue with your configuration.
Command Purpose
Step 1
switch# config t
Enters configuration mode.
Step 2
switch(config)# switchname myswitch1
myswitch1(config)#
Changes the switch name prompt as specified.
Step 3
myswitch1(config)# no switchname
switch(config)#
Reverts the switch name prompt to its default (switch#).