You are on page 1of 5

SAN-LAB-1

SAN-LAB-1
There are three stages in the SWITCH configuration

1) Installation of Switch
2) Setting IP address
3) Configuration of Switch

-Install properly switch in desired rack and connect the proper cables so that the LED on the
switch turns to GREEN

-If the LED turns on to AMBER it means still the switch is in boot process

-There are four basic roles or modes in BROCADE switch

USER:

This role is done by level-1 engineers in company. In this Mode only they can monitor
the switch that’s it.

ADMIN:

This role is done by level-2 engineers in a company. In this mode they can do admin task
such as downloads, uploads and any changes in the switch.

FACTORY:

This role is done by only BROCADE engineers.

ROOT:

In this role switch is reset to factory setting and also clearing whole the switch setting.

1
SAN-LAB-1

TASK:-

Construct a Fabric in which it contain switch, host and a storage device with appropriate
commands.

We need to install LPFC drivers from NFS server in HOST so we need to mount.

Here we are assuming ip address of NFS server is 192.168.5.40

HOST side config

#mount 192.168.5.40: /source/mnt

#cd mnt

#cd SAN

#cd Emulex

#pkgadd –d {this command is to install the packages}

{then it will prompt some questions we need to type as follows}

2 1

2
SAN-LAB-1

#reboot -- -r

#boot {when we type this command system will reboot and set the above configurations}

#pkg info –l lpfc {this command is to check wheather LPFC drivers are installed correctly are
not}

SWITCH side config

Now TELNET to switch

>switchshow {shows the switch node WWNN}

>portshow {shows the port node WWPN}

To change any configurations in the switch at first we need to disable the switch

>switchdisable

>switchname < >

>configure {after typing this command when pressed enter it prompt for enter the domain
ID it means this command is used to change the domain ID}

>cntrl D {it will save and exit}

>switchenable

>configshow {shows the entire configuration}

>portcfgshow {it will display all the port configuaration}

>portcfgspeed <port number> <speed of port like for 1G-1,2G-2…4G-4….0-autonegotable}

>portshow <port number> {display the particular port configuration}

>portcfgLport <port number> {it will convert particular port into loop port}

>portcfgGport <port number> {it will convert particular port into generic port}

3
SAN-LAB-1

>portdisable <port number> { to disable particular port}

>portenable <port number> {to enable particular port}

>portcfgpersistentdisable <port number> {this command will permanently disable the port}

>portcfgpersistentenable <port number> {this command will permanently enable the port}

Switch Backup

>configupload {it will prompt the following }

Host ip add:

FTP:

Root

Config file name:

Password:

>switchdisable

>configdownload {{it will prompt the following }

Host ip add:

FTP:

Root

Config file name:

Password:

>switchenable

Upgrade and downgrade switch

>firmwaredownload

Some other usefull commands

>tempshow {shows the temparature}

>psshow {power status}

>fanshow {fan conditons with rpm}

4
SAN-LAB-1

>nsshow {shows the name server}

>nscamshow {shows the remote switch details}

>grep –I wwpn/var/adm/messages {to check the WWPN numbers}

>/usr/sbin/hbanyware/hbanyware & {display the HBA}

You might also like