Got it

Summary of switch configurations

Latest reply: Aug 7, 2019 03:03:45 12131 2 4 0 0

NOTE: The resources marked with an asterisk (*) require that you log in using an account.

 

This post introduces how to configure zones of a Brocade FC switch, reset its password, and also common configuration operations with Brocade, Cisco, and QLogic switches.

 

[Configuring zones of a Brocade FC switch]

 Step 1: Connect to a switch

Connect a PC to a management network port of a Brocade FC switch using a network cable. The switch default IP address is 10.77.77.77, the switch subnet mask 255.255.255.0, the default user name admin, and the password is password (all characters are lowercase.)

Summary of switch configurations-1228021-1

 

Step 2: Change the switch name

Click Switch Admin, and type a new name for the switch in Switch Name and Domain ID of the Switch tab. NOTE: The domain ID of each switch must be different if they are cascaded.

Summary of switch configurations-1228021-2

Summary of switch configurations-1228021-3

Then click Apply at the lower right corner.

 

Step 3: Change the IP address of the FC switch.

Click the Network tap, and type a new IP address, a new subnet mask, and a gateway IP in the IPv4 as shown in the following figure.

Summary of switch configurations-1228021-4

Drag the scroll box on the right side to the bottom and click Apply.

Summary of switch configurations-1228021-5

Then the PC is disconnected from the FC switch. Connect the PC to another FC switch and repeat Step 1 through Step 3 until the information of the two switches is changed. 

Step 4: Configure Zones

Configure the IP address of the PC on the same network segment as that of the switch and connect the PC to the switch. Log in to the switch and click Zone Admin.

Summary of switch configurations-1228021-6

Click the Zone Config tab and click New Zone Config. Enter a new config name such as Config1 in the Create New Config box that is displayed and click OK.

Summary of switch configurations-1228021-7

Click the Zone tab and New Zone. Enter a new zone name such as P570_S2600 in the Create New Zone box that is displayed and click OK. NOTE: Only underscores can be used to connect characters in a zone name.

Summary of switch configurations-1228021-8

In the Member Selection List on the Zone tab, choose Ports & Attached Devices > 1 (a switch name). Select a port to be added in the Zone and click Add Member. Make sure that the port is displayed on the right side of the window.

Summary of switch configurations-1228021-9

Repeat the Step 4 until all define-required zones and zone members are defined.

 

Step 5: Enable defined configurations

Click Zone Config, and select all new defined zones on the left side. Click Add Member to add these zones to the zone config. Make sure that all new defined zones are added to the Zone Config Member box.

Summary of switch configurations-1228021-10

Click Save Config. A dialog box is displayed. Click Yes.NOTE: All the information about zone configurations is saved to the configuration file Config1, but the configuration file is not enabled.

Summary of switch configurations-1228021-11

Click Enable Config and select Config1 in the dialog box that is displayed to enable the configuration file.

Summary of switch configurations-1228021-12

A dialog box is displayed. Click Yes

Summary of switch configurations-1228021-13

Check the information bar at the lower left corner. When the Successfully committed the changes to the fabric is displayed, the newly configured information takes effect.

Check the information Enabled Zone Config: at the lower right side. When the information changes to Enabled Zone Config: Config1, the configuration file is successfully enabled and takes effect.

Summary of switch configurations-1228021-14

NOTE: Information about when to enable the configuration file. When the configuration file for a switch is enabled, the entire fabric encounters instant intermittent disconnections, but the enabling process can still be complete online. However, if a database with intensive read and write operations is used, the database cannot tolerate intermittent disconnections shorter than 0.3 seconds.<0}

 

[Resetting the password of a Brocade FC switch]

1. Use user root to recover the initial password of user admin.

Reset the password for a Brocade 300 SAN Switch. Let's take an HP StorageWorks 8/8 SAN Switch as an example. 8 of its 24 ports are activated. The switch is actually a Brocade 300 SAN Switch with the HP brand, including its delivery-attached CD-ROM.

The default user name and password of a Brocade 300 SAN Switch are admin and password. As the user name and its password have been changed, it is necessary to reset the switch. One way to reset the switch is to run commands using a cable to connect through the console port, because there is no reset button in the switch.

The OS of the Brocade 300 uses Linux 2.6 kernel. The administrative account with the highest permission is user root. Use user root to reset the switch's password.

 

swd77 login: root

Password:  fibranne

 

After using the account to log in, you find the following information:

 

Disclaimer for Root and Factory Accounts Usage!

 

This Fibre Channel switch is equipped with Root and Factory accounts

that are intended for diagnostics and debugging purposes solely by

the Equipment vendor's trained engineers. Improper use of the

functionality made available through the Root or Factory account could

cause significant harm and disruption to the operation of the SAN fabric.

 

Your use of the functionality made available through the Root or Factory

account is at your sole risk and you assume all liability resulting from

such use. The Equipment vendor shall have no liability for any losses

or damages arising from or relating to the use of the Root or Factory

account (and the functionality enabled thereby) by anyone other than

the Equipment vendor's authorized engineers.

 

Proceeding with the usage of this switch as the Root or Factory user

explicitly indicates your agreement to the terms of this disclaimer.

 

Please change passwords for switch default accounts now.

Use Control-C to exit or press 'Enter' key to proceed.

 

Use Control-C to exit. If you press Enter to proceed, all account passwords are reset with the following information:

 

Warning:  Access to  the Root  and Factory accounts may be required  for

proper  support  of  the switch.  Please  ensure  the Root  and  Factory

passwords are  documented in a secure location.  Recovery of a lost Root

or Factory password will result in fabric downtime.

 

for user - root

Changing password for root

Enter new password:

Password unchanged.

passwd: Authentication token manipulation error

Please change passwords for switch default accounts now.

for user - factory

Changing password for factory

Enter new password:

Password unchanged.

passwd: Authentication token manipulation error

Please change passwords for switch default accounts now.

for user - admin

Changing password for admin

Enter new password:

Password unchanged.

passwd: Authentication token manipulation error

Please change passwords for switch default accounts now.

for user - user

Changing password for user

Enter new password:

Password unchanged.

passwd: Authentication token manipulation error

 

After logging in, run the passwddefault command to set a password to the factory default.

 

swd77:root> passwddefault

Password policies are already set to default.

All account passwords have been successfully set to factory default.

swd77:root>

2. Use the Boot PROM to recover a password.

When you forget the password of user admin and cannot log in using user root, you can change the OS of the switch to a single-user mode to initialize the password.Connect the serial port of your PC to the switch and then restart the switch. When press ESC key within 4 sec is displayed, press the ESC key within 4 seconds. The following options are displayed:

- 1) Start system

Used to reboot the system.

- 2) Recover password.

Used to generate a character string for your support provider to recover the Boot PROM password.

- 3) Enter command shell.

Used to enter the command shell, to reset all passwords on the system.
2. Choose 3,
Command Prompt shell
  The system is coming up, please wait...

Checking system RAM - press any key to stop test

01a00000

System RAM check terminated by keyboard

System RAM check complete

Press escape within 4 seconds to enter boot interface.

1) Start system.

2) Recover password.

3) Enter command shell.

Option? 3
  3. Run the printenv command.

4. Run the setenv OSLoadOptions single command.

5. Run the boot command and sh-2.04# is displayed.

6. Run the mount -o remount,rw,noatime / command.

7. Run the mount /dev/hda2 /mnt command.<0}

8. Run the /sbin/passwddefault command to initialize the password.<0}

9. Restart the switch and run the reboot-f command.<0}

10. After restarting the switch, you can use user admin and password to log in to the switch.


 

Mr.V
Official Created Sep 6, 2013 02:55:10

Thank You
View more
  • x
  • convention:

Summary of switch configurations-3026537-1
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.