Difference between revisions of "Configuring brocade switch for SAN zoning"
(Created page with "<yambe:breadcrumb>Switch_configuration_notes|Switch configuration</yambe:breadcrumb> =Configure brocade switch for SAN zoning= Simliar to Configuring Cisco MDS 9124 fiber s...") |
m |
||
Line 14: | Line 14: | ||
For example, <tt>alicreate "server2_sw2_port0", "50:00:d3:10:05:01:02:03"</tt> | For example, <tt>alicreate "server2_sw2_port0", "50:00:d3:10:05:01:02:03"</tt> | ||
'<tt>alishow</tt>' can be used see defined aliases. | * '<tt>alishow</tt>' can be used see defined aliases. | ||
* '<tt>alidelete</tt>' can be used to delete defined aliases. | |||
Line 25: | Line 26: | ||
Example: <tt>zonecreate "server2_zone", "server2_sw2_port0; storage_port1; storage_port2; storage_port3"</tt> | Example: <tt>zonecreate "server2_zone", "server2_sw2_port0; storage_port1; storage_port2; storage_port3"</tt> | ||
'<tt>zoneshow</tt>' can be used to see defined zones. | * '<tt>zoneshow</tt>' can be used to see defined zones. | ||
* '<tt>zonedelete</tt>' can be used to delete defined zones. | |||
Line 36: | Line 38: | ||
Example: <tt>cfgcreate "switch2", "server1_zone; server2_zone; server3_zone ..."</tt> | Example: <tt>cfgcreate "switch2", "server1_zone; server2_zone; server3_zone ..."</tt> | ||
'<tt>cfgshow</tt>' can be used to see defined configurations. | * '<tt>cfgshow</tt>' can be used to see defined configurations. | ||
* '<tt>cfgdelete</tt>' can be used to delete defined configuration. | |||
Revision as of 09:24, 27 January 2019
<yambe:breadcrumb>Switch_configuration_notes|Switch configuration</yambe:breadcrumb>
Configure brocade switch for SAN zoning
Simliar to Configuring Cisco MDS 9124 fiber switch for SAN configuring brocade switch for SAN can be done in following steps
- Configure aliases for all WWNs connected to brocade switch
- Create zones with all targets and one initiator per zone.
- Create a configuration (similar to zoneset in case of Cisco) which includes all zones
Create alias for WWN
To create alias for WWN use:
alicreate "<alias-name>", "<wwn-number>"
For example, alicreate "server2_sw2_port0", "50:00:d3:10:05:01:02:03"
- 'alishow' can be used see defined aliases.
- 'alidelete' can be used to delete defined aliases.
Create zone using aliases
To create zone using aliases use:
zonecreate "lt;zone-name>", "<alias1>; <alias2>; <alias3>; ... "
Example: zonecreate "server2_zone", "server2_sw2_port0; storage_port1; storage_port2; storage_port3"
- 'zoneshow' can be used to see defined zones.
- 'zonedelete' can be used to delete defined zones.
Create configuration using zones
To create configuration using zones use:
cfgcreate "<cfg-name>", "<zone1-name>; <zone2-name>; <zone3-name>; ...
Example: cfgcreate "switch2", "server1_zone; server2_zone; server3_zone ..."
- 'cfgshow' can be used to see defined configurations.
- 'cfgdelete' can be used to delete defined configuration.
Save defined configuration
To save defined configuration use:
cfgsave
Enable configuration
To enable configuration (ie apply it on running switch) use:
cfgenable <cfg-name>
For example, cfgenable switch2
List WWN seen by switch
To list all WWN seen by switch use:
switchshow
See detailed port information
To see detailed information about port use:
portshow <port-number>
where <port-number> starts from 0. For example portshow 0.
<yambe:breadcrumb>Switch_configuration_notes|Switch configuration</yambe:breadcrumb>