Sei sulla pagina 1di 2

Setting up user account

Type the following: config t username <user_account> password 0 <password> role <network-admin or networkoperator>

Configure VSAN
Type the following: config t vsan database vsan <vsan_number> name <name> for example vsan 30 name PROD

Adding interfaces to VSAN (adding switch ports)


Type the following: config t vsan database vsan <vsan_number> interface fc <line_card/port_number>

Enabling switch port which (by default all ports are shutdown)
Type the following: config t interface fc <line_card/port_number> no shutdown (will enable port) shutdown (will disable port)

Device alias (setting up aliasing for switch ports)


Type the following: device-alias database device-alias name <hostname_HBA0> pwwn <WWN> end config t device-alias commit

Create zones
Type the following: config t zone name <zone_name> vsan <vsan_number> member device-alias <hostname_HBA> member device-alias <storage_port> repeat for each zone required

Add zones to zoneset


Type the following: config t zoneset name <zoneset_name> vsan <vsan_number> member <zone_name> repeat for each zone which is required within the zoneset

Activate zoneset
Type the following: config t zoneset activate name <zoneset_name> vsan <vsan_number>

Set domain id per vsan (domain ids are unique per vsan)
Type the following: config t fcdomain domain <domain_id> static vsan <vsan_number>

Copy running-config to startup configuration


Type the following: need to be in exec mode (root directory) copy running-config startup-config

Join existing fabric


Type the following: config t fcdomain priority <1-254> vsan <vsan_number> Note: Priority can be set between 1-254, 1 being the highest (principal), if you have the same priority on two switches which are merging then the lowest WWN will become the principal switch infterface fc <slot_number/port_number> switchport mode <mode_type> E extended port Fx F port auto autosense mode Note: All ports by default will be Fx ports Make sure you have identical VSAN on both switches Add relevant ports to both vsans on both switches Make sure the domain ID is different Cable both together

Show commands
Version of OS show version Switch information (equivalent to switchshow) - show fcdomain Information on particular SAN - show fcdomain vsan <vsan_number> Show license - show license usage What is logged in - show flogi database Zones - show zones Active zones - show zones active Active zoneset per vsan - show zoneset active vsan <vsan_number> Port information - show interface fc <slot/port_number> Ports in which vsans - show vsan membership (all vsans) or show vsan <vsan_num> membership (specific vsan) Device alias database - show device-alias database Display the destination switchs domain ID - show fcdomain domain-list vsan <vsan_number> Show trunking information show interface trunck vsan <vsan-vsan range> show trunk protocol (show if enabled) Select more than one interface config t interface fc1/1-5, fc2/1-4 Check user account details show user-account (shows all users) show user-account <user_account> (shows specific user details) Show current users logged in - show users

Potrebbero piacerti anche