emc brocade switch cookbook 2.2.11[1]

Upload: sunilchowdary-paladugu

Post on 05-Apr-2018

380 views

Category:

Documents


15 download

TRANSCRIPT

  • 7/31/2019 EMC Brocade Switch Cookbook 2.2.11[1]

    1/199

    DATA CENTER

    Brocade Switch Cookbook

  • 7/31/2019 EMC Brocade Switch Cookbook 2.2.11[1]

    2/199

    DATA CENTER COOKBOOK

    Brocade Directors 2 of 199

    CONTENTSBrocade Switch Cookbook ................................................................................................................................................................................................ 1Contents ............................................................................................................................................................................................................................... 2Chapter 1: Brocade Switch Introduction ..................................................................................................................................................................... 10

    Overview of Brocade 5100 .......................................................................................................................................... 10Port side view of Brocade 5100 .................................................................................................................................. 10Overview of Brocade 300 ............................................................................................................................................ 12Port side view of Brocade 300 .................................................................................................................................... 12Overview of Brocade 5300 .......................................................................................................................................... 13Port side view of Brocade 5300 .................................................................................................................................. 14Access Gateway support ............................................................................................................................................. 14

    Chapter 2: Basic Configuration ..................................................................................................................................................................................... 16Assigning IP address .................................................................................................................................................... 16

    Creating serial connection ................................................................................................................................... 16Using DHCP (Dynamic Host Configuration Protocol) to assign IP address ........................................................ 16Static IP address .................................................................................................................................................. 16IPv6 Auto configuration ........................................................................................................................................ 17View IP configuration ............................................................................................................................................ 17

    Domain IDs ................................................................................................................................................................... 17Viewing your Domain ID ....................................................................................................................................... 17Setting your Domain ID ........................................................................................................................................ 18

    Ports ............................................................................................................................................................................. 18Enable a port ........................................................................................................................................................ 18Disable a port ....................................................................................................................................................... 19Ports on Demand license ..................................................................................................................................... 19Setting Port Speed ............................................................................................................................................... 20Setting Port name ................................................................................................................................................ 20Swapping port area IDs ........................................................................................................................................ 21

    Customizing the switch name ..................................................................................................................................... 21Checking Switch Status ............................................................................................................................................... 21Chassis names ............................................................................................................................................................. 21Customizing chassis names ........................................................................................................................................ 21Switch activation and deactivation ............................................................................................................................. 22

    Disabling a switch ................................................................................................................................................ 22Enabling a switch ................................................................................................................................................. 22

    Switch shutdown .......................................................................................................................................................... 22Powering off a Brocade switch ............................................................................................................................ 22

    Setting the date and time ............................................................................................................................................ 23

    Synchronizing the local time with an external source ........................................................................................ 23Webtools....................................................................................................................................................................... 24

    Configuring IP and netmask information ............................................................................................................ 24Blade management ..................................................................................................................................................... 25Enabling or disabling a blade ...................................................................................................................................... 25Setting a slot-level IP address ..................................................................................................................................... 25Viewing IP addresses ................................................................................................................................................... 26

  • 7/31/2019 EMC Brocade Switch Cookbook 2.2.11[1]

    3/199

    DATA CENTER COOKBOOK

    Brocade Directors 3 of 199

    Switch configuration .................................................................................................................................................... 26Enabling and disabling a switch .................................................................................................................................. 26Changing the switch name .......................................................................................................................................... 26Changing the switch domain ID .................................................................................................................................. 26Viewing and printing a switch report........................................................................................................................... 27Switch restart ............................................................................................................................................................... 27Performing a fast boot ................................................................................................................................................. 27Performing a reboot ..................................................................................................................................................... 27Configuring fabric settings .......................................................................................................................................... 27Assigning a name to a port .......................................................................................................................................... 28Enabling and disabling a port ..................................................................................................................................... 28Persistent enabling and disabling ports ..................................................................................................................... 29Enabling and disabling NPIV ports .............................................................................................................................. 29Configuring BB credits on an F_Port ........................................................................................................................... 29Chapter 3: Account Management............................................................................................................................. 31Overview ....................................................................................................................................................................... 31

    User Roles .................................................................................................................................................................... 31Local database user accounts .................................................................................................................................... 31

    Creating account: ................................................................................................................................................. 31Displaying Account Information: .......................................................................................................................... 31Deleting account: ................................................................................................................................................. 32Modifying account: ............................................................................................................................................... 32Changing password for current login account .................................................................................................... 33Changing password for different login account .................................................................................................. 33

    Local account database distribution .......................................................................................................................... 34Distributing the local user database ................................................................................................................... 34Accepting distribution of user databases on the local switch ........................................................................... 34Rejecting distributed user databases on the local switch ................................................................................. 34

    Password policies ........................................................................................................................................................ 34Enabling the admin lockout policy....................................................................................................................... 35Unlocking an account ........................................................................................................................................... 35Disabling the admin lockout policy...................................................................................................................... 35

    Authentication servers on the switch ......................................................................................................................... 35Adding a RADIUS or LDAP server to the switch configuration ............................................................................ 35Enabling and disabling a RADIUS or LDAP server .............................................................................................. 36Deleting a RADIUS or LDAP server from the configuration ................................................................................ 36Changing a RADIUS or LDAP server configuration .............................................................................................. 36Changing the order in which RADIUS or LDAP servers are contacted for service............................................. 36Displaying the current RADIUS configuration ..................................................................................................... 36Configuring local authentication as backup ....................................................................................................... 36

    Chapter 4: Setting the Protocols .............................................................................................................................. 38Secure Copy ................................................................................................................................................................. 38

    Setting up SCP for configUploads and downloads ............................................................................................. 38Secure Shell protocol................................................................................................................................................... 38

    Allowed-user ......................................................................................................................................................... 38Configuring SSH authentication .......................................................................................................................... 38

  • 7/31/2019 EMC Brocade Switch Cookbook 2.2.11[1]

    4/199

    DATA CENTER COOKBOOK

    Brocade Directors 4 of 199

    Deleting keys on the switch ................................................................................................................................. 40Telnet protocol ............................................................................................................................................................. 40

    Blocking Telnet ..................................................................................................................................................... 40Unblocking Telnet ................................................................................................................................................. 41

    Chapter 5: Configuration file and Firmware management .................................................................................... 42Configuration file backup ............................................................................................................................................ 42

    Uploading a configuration file in interactive mode ............................................................................................. 42Configuration file restoration ............................................................................................................................... 42

    Installing firmware ....................................................................................................................................................... 43Firmware download from network ....................................................................................................................... 43Firmware download from a USB device .............................................................................................................. 44

    Webtools....................................................................................................................................................................... 45Creating a configuration backup file ........................................................................................................................... 45Restoring a configuration ............................................................................................................................................ 46Uploading and downloading from USB storage.......................................................................................................... 48Performing a firmware download ................................................................................................................................ 49Chapter 6: Licensing .................................................................................................................................................. 52Licensing overview ....................................................................................................................................................... 528G License ................................................................................................................................................................... 52Viewing installed licenses............................................................................................................................................ 52Adding a licensed feature ............................................................................................................................................ 52Removing a licensed feature ...................................................................................................................................... 53Ports on Demand ......................................................................................................................................................... 54

    Activating Ports on Demand ................................................................................................................................ 54Displaying the port license assignments ............................................................................................................ 54

    Web tools...................................................................................................................................................................... 55Licensed feature management ................................................................................................................................... 55Activating a license on a switch .................................................................................................................................. 56Assigning slots for a license key ................................................................................................................................. 56Removing a license from a switch .............................................................................................................................. 56Universal time based licensing ................................................................................................................................... 57Chapter 7: Virtual Fabrics .......................................................................................................................................... 58Overview ....................................................................................................................................................................... 58Enabling Virtual Fabric mode ...................................................................................................................................... 58Logical Switches .......................................................................................................................................................... 59

    Creating Logical Switches .................................................................................................................................... 59Assigning/Removing ports to logical switches.................................................................................................... 60Displaying logical switch configuration ............................................................................................................... 61Changing Fabric ID of switch ............................................................................................................................... 62Setting /Removing IP address for fabric ............................................................................................................. 62

    Logical Fabric and ISL sharing .................................................................................................................................... 62Configuring the switch to use XISL ...................................................................................................................... 63

    Deleting a logical switch .............................................................................................................................................. 63Disable Virtual Fabrics ................................................................................................................................................. 64NPIV overview............................................................................................................................................................... 64

  • 7/31/2019 EMC Brocade Switch Cookbook 2.2.11[1]

    5/199

    DATA CENTER COOKBOOK

    Brocade Directors 5 of 199

    Configuring NPIV ................................................................................................................................................... 65Viewing NPIV port configuration information ...................................................................................................... 66

    Web Tools ..................................................................................................................................................................... 68Selecting a logical switch from the Switch View......................................................................................................... 68Viewing Logical ports ................................................................................................................................................... 70Chapter 8: Zoning ....................................................................................................................................................... 72Overview ....................................................................................................................................................................... 72Zoning Configurations.................................................................................................................................................. 72Zone aliases ................................................................................................................................................................. 73

    Creating an aliases ............................................................................................................................................... 73Adding members to alias ..................................................................................................................................... 73Removing members from alias ............................................................................................................................ 73Deleting an aliases ............................................................................................................................................... 74Viewing aliases in defined configuration ............................................................................................................ 74

    Creating a Zone ............................................................................................................................................................ 74Adding members to zone ..................................................................................................................................... 75Removing members from zone ........................................................................................................................... 75Deleting a zone ..................................................................................................................................................... 75Viewing zoning in defined configuration ............................................................................................................. 75

    Default zoning mode.................................................................................................................................................... 76Zoning database size ................................................................................................................................................... 76Zoning Configurations.................................................................................................................................................. 77

    Creating zoning configurations ............................................................................................................................ 77Adding zones to zoning configuration ................................................................................................................. 77Removing zones from zoning configuration ........................................................................................................ 77Enable a zoning configuration ............................................................................................................................. 78Disabling a zoning configuration ......................................................................................................................... 78Deleting a zone configuration .............................................................................................................................. 79Clearing changes to configuration ....................................................................................................................... 79Viewing all zone configuration information ......................................................................................................... 79Viewing selected zone configuration ................................................................................................................... 80Viewing configuration in effective zone database .............................................................................................. 80Clearing all zone configurations .......................................................................................................................... 81

    Zone object maintenance ............................................................................................................................................ 81Copying a zone object .......................................................................................................................................... 81Deleting a zone object.......................................................................................................................................... 82Renaming a zone object ...................................................................................................................................... 83

    Zoning configuration management ............................................................................................................................. 83New switch addition ..................................................................................................................................................... 83Web Tools ..................................................................................................................................................................... 83Zoning configurations .................................................................................................................................................. 83

    Opening the Zone Administration window .......................................................................................................... 84Setting the default zoning mode ......................................................................................................................... 84Zoning management ............................................................................................................................................ 84Refreshing fabric information .............................................................................................................................. 86Saving local zoning changes ................................................................................................................................ 86Select a zoning view ............................................................................................................................................. 86

  • 7/31/2019 EMC Brocade Switch Cookbook 2.2.11[1]

    6/199

    DATA CENTER COOKBOOK

    Brocade Directors 6 of 199

    Creating and populating zone aliases ................................................................................................................. 87Adding and removing members of a zone alias ......................................................................................................... 87

    Renaming zone aliases ........................................................................................................................................ 87Deleting zone aliases ........................................................................................................................................... 88Creating and populating zones ............................................................................................................................ 88Adding and removing members of a zone .......................................................................................................... 88

    Renaming zones ................................................................................................................................................... 89Cloning zones ....................................................................................................................................................... 89Deleting zones ...................................................................................................................................................... 89Creating zone configurations ............................................................................................................................... 90Adding or removing zone configuration members .............................................................................................. 90Renaming zone configurations ............................................................................................................................ 90Cloning zone configurations ................................................................................................................................ 91Deleting zone configurations ............................................................................................................................... 91Enabling zone configurations .............................................................................................................................. 91Disabling zone configurations ............................................................................................................................. 91Displaying enabled zone configurations ............................................................................................................. 92Adding a WWN to multiple aliases and zones .................................................................................................... 92

    Removing a WWN from multiple aliases and zones ........................................................................................... 92Replacing a WWN in Multiple Aliases and Zones ............................................................................................... 93Searching for zone members............................................................................................................................... 93Clearing the Zoning Database ............................................................................................................................. 93Zone configuration analysis ................................................................................................................................. 94Best practices for zoning ..................................................................................................................................... 94

    Chapter 9: Admin Domains ........................................................................................................................................ 95Administrative Domains (Admin Domains) overview ................................................................................................. 95

    Requirements for Admin domains ....................................................................................................................... 96System defined Admin domains .......................................................................................................................... 96Admin domains and logins .................................................................................................................................. 97Admin Domain management for physical fabric administrators ....................................................................... 97

    Configuration ................................................................................................................................................................ 98Setting default zoning mode for admin domains ............................................................................................... 98Creating an Admin domain .................................................................................................................................. 99User assignments to admin domains ............................................................................................................... 100Creating new user account to manage admin domains ................................................................................. 100Assigning Admin Domains to an existing user account ................................................................................... 100Creating a physical fabric administrator user account ................................................................................... 101Removing an Admin Domain from a user account .......................................................................................... 101Activating an Admin Domain ............................................................................................................................. 101Deactivating an Admin Domain ........................................................................................................................ 102Adding members to an existing Admin Domain ............................................................................................... 102Removing members from an Admin Domain ................................................................................................... 102Renaming an Admin Domain ............................................................................................................................ 103Deleting an Admin Domain ............................................................................................................................... 103Deleting all user-defined Admin Domains........................................................................................................ 104Deleting all user-defined Admin Domains non-disruptively ............................................................................ 104

    SAN management with Admin domains .................................................................................................................. 108Executing a command in a different AD context ............................................................................................. 108Displaying an Admin Domain configuration ..................................................................................................... 108

  • 7/31/2019 EMC Brocade Switch Cookbook 2.2.11[1]

    7/199

    DATA CENTER COOKBOOK

    Brocade Directors 7 of 199

    Switching to a different Admin Domain context .............................................................................................. 109Web Tools .................................................................................................................................................................. 109

    Creating and populating domains .................................................................................................................... 109Creating an Admin Domain ............................................................................................................................... 109Adding ports or switches to the fabric .............................................................................................................. 112Activating or deactivating an Admin Domain ................................................................................................... 113

    Modifying Admin Domain members ................................................................................................................. 113Renaming Admin Domains ............................................................................................................................... 114Deleting Admin Domains .................................................................................................................................. 114Clearing the Admin Domain configuration ....................................................................................................... 115

    Chapter 10: Routing and Trunking ........................................................................................................................ 116Inter-Switch Links (ISLs) ........................................................................................................................................... 116Routing policies ......................................................................................................................................................... 117

    Displaying the current routing policy ................................................................................................................ 117Setting the routing policy .................................................................................................................................. 117Setting up the AP route policy ........................................................................................................................... 117

    Route selection ......................................................................................................................................................... 118Dynamic Load Sharing ...................................................................................................................................... 118Setting DLS ........................................................................................................................................................ 118

    Trunking overview ..................................................................................................................................................... 119Basic trunk group configuration ............................................................................................................................... 119

    Re-initializing ports for trunking........................................................................................................................ 119Enabling Trunking on a port .............................................................................................................................. 120Enabling Trunking on a switch .......................................................................................................................... 120Displaying trunking information ....................................................................................................................... 120

    F_Port trunking ......................................................................................................................................................... 120Enabling F_Port trunking................................................................................................................................... 121Disabling F_Port trunking.................................................................................................................................. 121

    FC-FC Routing ............................................................................................................................................................ 121Setting up the FC-FC routing service ................................................................................................................ 121Verifying the setup for FC-FC routing ................................................................................................................ 122Assigning backbone fabric IDs ......................................................................................................................... 122Creating an FCIP tunnel .................................................................................................................................... 123Inter-fabric link configuration ........................................................................................................................... 123Configuring an IFL for both edge and backbone connections ........................................................................ 123Setting router port cost for an EX_Port ............................................................................................................ 127Configuring EX_Port frame trunking ................................................................................................................. 127

    LSAN zone configuration .......................................................................................................................................... 127Controlling device communication with the LSAN ........................................................................................... 128

    Web Tools .................................................................................................................................................................. 130Disabling or enabling ISL trunking ................................................................................................................... 130Viewing trunk group information ...................................................................................................................... 131F_Port trunk groups ........................................................................................................................................... 132Creating and maintaining F_Port trunk groups................................................................................................ 132FC-FC routing management .............................................................................................................................. 133Opening the FC Routing module ....................................................................................................................... 134Configuring an EX_Port ..................................................................................................................................... 135Editing the configuration of an EX_Port ........................................................................................................... 135

  • 7/31/2019 EMC Brocade Switch Cookbook 2.2.11[1]

    8/199

    DATA CENTER COOKBOOK

    Brocade Directors 8 of 199

    Viewing LSAN zones .......................................................................................................................................... 136Viewing LSAN Devices ....................................................................................................................................... 136Configuring the backbone fabric ID .................................................................................................................. 137Enabling Access Gateway mode ....................................................................................................................... 137Disabling Access Gateway mode ...................................................................................................................... 138Viewing the Access Gateway settings .............................................................................................................. 138Port configuration .............................................................................................................................................. 139Creating port groups ......................................................................................................................................... 139Editing or Viewing port groups .......................................................................................................................... 141Deleting port groups .......................................................................................................................................... 142Access Gateway policy modification ................................................................................................................. 143Path Failover and Failback policies .................................................................................................................. 143Modifying Path Failover and Failback policies ................................................................................................. 143Enabling the Automatic Port Configuration policy ........................................................................................... 143

    Chapter 11: Brocade 8000 ..................................................................................................................................... 145Brocade 8000 overview ........................................................................................................................................... 145FCoE and Layer 2 capabilities .................................................................................................................................. 145Fibre Channel capabilities ........................................................................................................................................ 146Port side of Brocade 8000 ....................................................................................................................................... 146CEE Command Line Interface .................................................................................................................................. 147

    Accessing the CEE CLI through the console or Telnet ..................................................................................... 147Saving your configuration changes .................................................................................................................. 148Saving configuration changes with the write command ................................................................................. 148

    CEE Commands ........................................................................................................................................................ 149Using the do command as a shortcut .............................................................................................................. 150

    CEE Integrations ....................................................................................................................................................... 150Integrating a Brocade 8000 switch on a SAN ................................................................................................. 151CEE and LAN integration ................................................................................................................................... 151CEE map attributes ........................................................................................................................................... 151Configuring DCBX .............................................................................................................................................. 152Configuring Spanning Tree Protocol ................................................................................................................. 153Configuring VLAN Membership ......................................................................................................................... 153Configuring the CEE Interfaces ......................................................................................................................... 155Server connections to the Brocade 8000 switch ............................................................................................ 156Fibre Channel configuration for the CNA ......................................................................................................... 156Ethernet configuration for the CNA .................................................................................................................. 156

    Minimum CEE configuration to allow FCoE traffic flow ........................................................................................... 156Fabric OS Native and Access Gateway modes ........................................................................................................ 157

    Enabling Access Gateway mode ....................................................................................................................... 158Disabling Access Gateway mode ...................................................................................................................... 159

    Web Tools .................................................................................................................................................................. 159

    FC0E configuration tasks .................................................................................................................................. 159Quality of Service (QoS) configuration .............................................................................................................. 159Adding a CEE map ............................................................................................................................................. 160Adding a traffic class map ................................................................................................................................ 162LLDP-DCBX configuration .................................................................................................................................. 163Configuring global LLDP characteristics .......................................................................................................... 163Adding an LLDP profile ...................................................................................................................................... 164

  • 7/31/2019 EMC Brocade Switch Cookbook 2.2.11[1]

    9/199

    DATA CENTER COOKBOOK

    Brocade Directors 9 of 199

    Configuring CEE interfaces ............................................................................................................................... 167Configuring a link aggregation group (LAG) ..................................................................................................... 168Configuring VLANs ............................................................................................................................................. 170Configuring FCoE login groups .......................................................................................................................... 172Displaying FCoE Port Information ..................................................................................................................... 174Displaying LAG information ............................................................................................................................... 177Displaying VLAN information ............................................................................................................................ 177Displaying FCoE login groups ............................................................................................................................ 178Displaying QoS information .............................................................................................................................. 178Displaying LLDP-DCBX information .................................................................................................................. 179Displaying CEE interface statistics ................................................................................................................... 180Enabling and disabling a CEE interface ........................................................................................................... 183Enabling and disabling a LAG ........................................................................................................................... 184Enabling and disabling LLDP ............................................................................................................................ 184Enabling and disabling QoS priority-based flow control .................................................................................. 184Enabling and disabling FCoE ports ................................................................................................................... 185

    Chapter 12: Brocade 7800 ..................................................................................................................................... 186Overview of Brocade 7800 Extension Switch ......................................................................................................... 186

    Feature comparison - base 7800 and with the Upgrade License .......................................................................... 187Available licenses ..................................................................................................................................................... 188Port Side of Brocade 7800....................................................................................................................................... 188Installing SFPs and cabling the Brocade 7800 ....................................................................................................... 1897800 Switch license option...................................................................................................................................... 190Fibre Channel routing services configuration .......................................................................................................... 190FCIP............................................................................................................................................................................ 190

    VE_Ports and FCIP tunnels on the 7800 switch .............................................................................................. 191Configuration preparation ................................................................................................................................. 191

    Configuration steps ................................................................................................................................................... 192Setting VE_ports to persistently disabled state ............................................................................................... 192Configuring VEX_ports ....................................................................................................................................... 192Configuring the media type for GbE ports 0 and 1 .......................................................................................... 192Configuring a GbE or XGE port IP address ....................................................................................................... 193Configuring an IP route ..................................................................................................................................... 193Validating IP connectivity .................................................................................................................................. 194Creating an FCIP tunnel .................................................................................................................................... 194Creating additional FCIP circuits ...................................................................................................................... 195Verifying the FCIP tunnel configuration ............................................................................................................ 195Enabling persistently disabled ports ................................................................................................................ 195Modifying an FCIP tunnel .................................................................................................................................. 195Modifying an FCIP circuit................................................................................................................................... 196Deleting an IP interface .................................................................................................................................... 196Deleting an IP route........................................................................................................................................... 196Deleting an FCIP tunnel .................................................................................................................................... 196Deleting an FCIP circuit ..................................................................................................................................... 196

    Chapter 13: Getting technical help ............................................................................................................................................................................ 197SupportSave .............................................................................................................................................................. 197

  • 7/31/2019 EMC Brocade Switch Cookbook 2.2.11[1]

    10/199

    DATA CENTER COOKBOOK

    Brocade Directors 10 of 199

    CHAPTER 1:BROCADE SWITCH INTRODUCTION

    Overview of Brocade 5100The Brocade 5100 is an Enterprise class 1U, 40-port Fibre Channel 1, 2, 4 or 8 Gbps Fibre Channel switch

    that offers the next generation Brocade, single-chip architecture for Storage Area Networks (SANs). The

    Brocade 5100 is designed to function in large-scale enterprise SANs and can also fit the requirements of

    small to medium-sized work groups.

    Because the Brocade 5100 has a slim 1U height and a high port count, you can use the Brocade

    5100 to create very dense fabrics in a relatively small space. With its flexible Ports On Demand

    (POD) capability, the Brocade 5100 provides excellent overall value as the foundation of a SAN with the

    ability to grow with an organizations SAN needs.

    Up to 40 ports of high-performance 8 Gbps technology and POD scaling from 24 to 32 or 40 ports.

    Support for 1, 2, 4, and 8 Gbps auto-sensing Fibre Channel switch and router ports.

    FICON, FICON Cascading and FICON Control Unit Port ready.

    Two hot-swappable, redundant integrated power supply and fan FRUs.

    Universal ports that self-configure as E, F, M, or FL ports. Ex_Ports are activated on a per port basis with the

    optional Integrated Routing license.Fibre Channel Routing (FCR) service that provides improved scalability and fault isolation (through the

    optional Integrated Routing license).

    An RJ45 Ethernet management port, that in conjunction with EZSwitchSetup, supports switch IP address

    discovery and configuration, eliminating the need to attach a serial cable to configure the switch IP address

    and greatly increasing the ease of use.

    USB port that provides storage for firmware updates, output of the supportSave command and storage for

    configuration uploads and downloads

    Inter-Switch Link (ISL) Trunking (licensable), which allows up to eight ports (at 1, 2, 4, or 8 Gbps speeds)

    between a pair of switches combined to form a single, logical ISL with a speed of up to 128 Gbps full duplex

    for optimal bandwidth utilization and load balancing.

    Dynamic Path Selection (DPS), which optimizes fabric-wide performance and load balancing by

    automatically routing data to the most efficient available path in the fabric.

    Industry-leading extended distance support, which enables native Fibre Channel extension greater than 590

    km.Expanded security for up to 16,000 hardware zones. Hardware zoning is accomplished at the port level of

    the switch or by World Wide Name (WWN). Hardware zoning permits or denies delivery of frames to any

    destination port address.

    Unicast, multicast (255 groups), and broadcast data traffic type, are support.

    Brocade Small Form-Factor Pluggable (SFP) or SFP+ optical transceivers support any

    combination of Short Wavelength (SWL), Long Wavelength (LWL) or Extended Long Wavelength

    (ELWL) optical media among the switch ports.

    Brocade Fabric Operating System (Fabric OS), which delivers distributed intelligence

    throughout the network and enables a wide range of value-added applications including

    Brocade Advanced Web Tools and Brocade Zoning. Optional Fabric Services include: Adaptive

    Networking with QoS, Brocade Extended Fabrics, Brocade Enhanced Group Management, Brocade

    Fabric Watch, ISL Trunking, Integrated Routing, and End-to-End Performance Monitoring (APM).

    Port-to-port latency minimized to 700 nanoseconds through the use of cut-through frame

    routing at 8 Gbps.

    Port side view of Brocade 5100The port side of the Brocade 5100 includes the system status LED, console port, Ethernet port and LEDs,

    USB port, and Fibre Channel ports and the corresponding port status LEDs.

    Figure 1shows the port side of the Brocade 5100.

  • 7/31/2019 EMC Brocade Switch Cookbook 2.2.11[1]

    11/199

    DATA CENTER COOKBOOK

    Brocade Directors 11 of 199

    FIGURE 1: Port-side view of the Brocade 5100

    The Fibre Channel ports on the Brocade 5100 are numbered from left to right, in eight-port groups from 0 to

    39 as illustrated in Figure 2.

    FIGURE 2: Port Numbering on the Brocade 5100

  • 7/31/2019 EMC Brocade Switch Cookbook 2.2.11[1]

    12/199

    DATA CENTER COOKBOOK

    Brocade Directors 12 of 199

    Overview of Brocade 300The Brocade 300 is a cost-effective and highly-scalable 1, 2, 4, or 8 Gbps switch, designed for

    small to mid-sized businesses. Like all Brocade switches, the Brocade 300 runs on the Brocade

    Fabric Operating System (Fabric OS) and is compatible with other Brocade switches, which enables

    seamless connectivity into heterogeneous SAN environments.The Brocade 300 is a dual purpose device that you can use either as a full-functioned switch or as an

    N_Port ID Virtualization (NPIV) access gateway. When functioning as an access gateway, the Brocade 300

    provides a single platform for all SAN connectivity.

    1U chassis that can be installed as a standalone unit or mounted in a standard Electronic

    Industries Association (EIA) 48.26 cm (19 inches) cabinet.

    One built-in fixed power unit (not a FRU).

    Three built-in fans (there are no fan FRUs) that allows the a single fan failure and permits the switch to

    continue to function properly.

    On-demand scaling of 8 to 24 8 Gbps ports.

    ASIC technology supporting 1, 2, 4 and 8 Gbps auto-sensing Fibre Channel ports.

    A flexible design that enables the Brocade 300 to function as either a full-functioned switch or an NPIV

    access gateway.

    RJ45 Ethernet management port that in conjunction with EZSwitchSetup, supports switch IP addressdiscovery and configuration.

    USB port that provides storage for firmware updates, output of the supportSave command and storage for

    configuration uploads and downloads.

    Inter-Switch-Link Trunking (licensable) which enables up to eight ports (at 1, 2, 4, or 8 Gbps speeds)

    between a pair of switches to be combined to form a single, logical ISL switch with a speed of up to 64 Gbps

    (128 Gbps full duplex) for optimal bandwidth utilization and load balancing.

    Dynamic Path Selection (DPS) which optimizes fabric-wide performance and load balancing by automatically

    routing data to the most efficient available path in the fabric.

    Port side view of Brocade 300

  • 7/31/2019 EMC Brocade Switch Cookbook 2.2.11[1]

    13/199

    DATA CENTER COOKBOOK

    Brocade Directors 13 of 199

    Overview of Brocade 5300The Brocade 5300 is an 80-port 1, 2, 4, or 8 Gbps Fibre Channel switch that delivers Brocade sixth

    generation ASIC technology and architecture for Fibre Channel Storage Area Networks (SANs). The Brocade

    5300 is designed for the needs of enterprise environments that require a high-port footprint for port

    aggregation. With its high auto-sensing port count and ports-on-demand flexibility, the Brocade 5300 is an

    ideal solution as a fan-out switch from a director core, or as the core switch in a fabric. The Brocade 5300

    satisfies demanding Reliability, Availability, and Serviceability (RAS), performance and scalability

    requirements of an enterprise switch while delivering interoperability and ease-of-use advantages found

    only in the Brocade product family. The Brocade 5300 is the latest enterprise offering from the Brocade

    family of entry-to-enterprise products, and offers the following features and capabilities:

    Up to 80 auto-sensing ports of high-performance 8 Gbps technology in a single domain.

    Ports On Demand scaling from 48 to 64 or 80 ports.

    Full 1:1 subscription on all 80 ports at 8 Gbps.

    1, 2, 4 and 8 Gbps auto-sensing Fibre Channel switch and router ports.

    FICON and FICON Control Unit Port ready.

    Fibre Channel Routing (FCR) service, which provides improved scalability and fault isolation, along with

    multi-vendor interoperability through the optional Integrated Routing license.

    Two hot-swappable, redundant power supply FRUs.Three hot-swappable fan FRUs in an N+1 configuration to provide hardware-redundant cooling.

    Universal ports that self-configure as E, F, M or FL ports. Ex_Ports are activated on a per port basis with the

    optional Integrated Routing license.

    An RJ45 Ethernet management port, in conjunction with EZSwitchSetup, that supports switch IP address

    discovery and configuration, eliminating the need to attach a serial cable to configure the switch IP address

    and greatly increasing the ease of use.

    USB port that provides storage for firmware updates, output of the supportSave command and storage for

    configuration uploads and downloads.

    Inter-Switch Link (ISL) Trunking (licensable), which allows up to eight ports (at 1, 2, 4, or 8 Gbps speeds)

    between a pair of switches combined to form a single, logical ISL with a speed of up to 64 Gbps (128 Gbps

    full duplex) for optimal bandwidth utilization and load balancing.

    Dynamic Path Selection (DPS), which optimizes fabric-wide performance and load balancing by

    automatically routing data to the most efficient available path in the fabric.

    Industry-leading extended distance support, which enables native Fibre Channel extension greater than 590km (366 miles).

    Brocade Small Form-Factor Pluggable (SFP) or SFP+ optical transceivers that support any combination of

    Short Wavelength (SWL), Long Wavelength (LWL), or Extended Long Wavelength (ELWL) optical media

    among the switch ports.

    Unicast, multicast (255 groups), and broadcast data traffic type support.

    Brocade Fabric Operating System (FOS), which delivers distributed intelligence throughout the network and

    enables a wide range of value-added applications including Brocade Advanced

  • 7/31/2019 EMC Brocade Switch Cookbook 2.2.11[1]

    14/199

    DATA CENTER COOKBOOK

    Brocade Directors 14 of 199

    Web Tools and Brocade Zoning. Optional Fabric Services include: Adaptive Networking with QoS, Brocade

    Extended Fabrics, Brocade Enhanced Group Management, Brocade Fabric Watch, ISL Trunking, Integrated

    Routing, and End-to-End Performance Monitoring (APM).

    Port-to-port latency minimized to 2100 nanoseconds through the use of cut-through frame routing at 8

    Gbps.

    Port side view of Brocade 5300

    Access Gateway support

    Brocade 5100 and Brocade 300 have Access gateway support. Brocade 5300 does not support access

    gateway mode.

    1. At the terminal application prompt, type , and press Enter to disable switch mode.

  • 7/31/2019 EMC Brocade Switch Cookbook 2.2.11[1]

    15/199

    DATA CENTER COOKBOOK

    Brocade Directors 15 of 199

    2. If you are converting an Brocade 300or Brocade 5100 currently configured as a switch to Access Gatewaymode, type and press Enter to save the current configuration.

    3. To enable Access Gateway mode, type , and press Enter. The switch automatically rebootsand comes back online in Access Gateway mode.

    4. Enter the command to ensure that the switch is in Access Gateway mode.5. Enter to display the F_port to N_port mapping. The F_ports connect to servers, and the

    N_ports connect to Fabrics.

  • 7/31/2019 EMC Brocade Switch Cookbook 2.2.11[1]

    16/199

    DATA CENTER COOKBOOK

    Brocade Directors 16 of 199

    CHAPTER 2:BASIC CONFIGURATION

    Assigning IP address

    We need to create a console connection to the switch to assign an IP address to the Ethernet interface. This

    IP address can be used later to access the remotely (Telnet, SSH, FTP etc) or to perform managementactivities.

    Creating serial connectionConnect the serial cable to the RJ-45 serial port (shown in Figure 1 as number 2) on the switch and to an

    RS-232 serial port on the workstation. If the serial port on the workstation is RJ-45 instead of RS-232,

    remove the adapter on the end of the serial cable and insert the exposed RJ-45 connector into the RJ-45

    serial port on the workstation.

    Open a terminal emulator application (such as HyperTerminal on a PC, or TERM, TIP, or Kermit in a UNIX

    environment), and configure the application as follows:

    In a Windows environment:

    In a UNIX environment, enter the following string at the prompt:

    If ttyb is already in use, use ttya instead and enter the following string at the prompt:

    Using DHCP (Dynamic Host Configuration Protocol) to assign IP address

    On Brocade 300, 5100 & 5300 DHCP is enabled by default. If you have the DHCP server on the same IP

    subnet as the switch then you can use DHCP to assign IP address to your switch. If not, you have to assign

    static IP address.

    Static IP addressOnce the console connection is up you can configure a static IP address as follows:

    1. Login to the switch using the default password, which is .2. Use the command to assign an IP address

    switch:admin> ipaddrset

    Ethernet IP Address [192.168.10.10]: 192.168.10.12

    Ethernet Subnetmask [255.255.255.0]: 255.255.255.0

    Gateway IP Address [192.168.10.1]: 192.168.10.1

    DHCP [Off]:off

  • 7/31/2019 EMC Brocade Switch Cookbook 2.2.11[1]

    17/199

    DATA CENTER COOKBOOK

    Brocade Directors 17 of 199

    switch:admin>

    The values inside the square braces are the default or previously assigned values. Just press enter at the

    prompts if wish to keep the values in the braces.

    If you are going to use an IPv6 address, enter the network information in semicolon-separatednotation as prompted.

    switch:admin> i

    IP address is being changed...Done.

    IPv6 Auto configuration

    Here are the steps to enable/disable IPv6 auto configuration.

    1. Enter the command to enable IPv6 auto configuration for allmanaged entities on the target platform.

    2. Enter the command to disable IPv6 auto configuration for all

    managed entities on the target platform.

    View IP configuration

    To view the IP configuration of the switch use command

    switch:admin> ipaddrshow

    SWITCH

    Ethernet IP Address: 192.168.10.12

    Ethernet Subnetmask: 255.255.255.0

    Gateway IP Address: 192.168.10.1

    DHCP: Off

    switch:admin>

    Domain IDs

    Domain IDs are set dynamically on Brocade switches. The default value is 1. You can change the domain ID

    if you want to control the ID number or resolve conflict while merging fabrics. Conflicts can be automatically

    resolved if one of the two switchs domain ID is not set persistently.

    Below are the steps to view and set the Domain Ids.

    Viewing your Domain ID

    1. Log in using account with admin privileges.

    2. Issue the command

    DS_5100:admin> fabricshow

    Switch ID Worldwide Name Enet IP Addr FC IP Addr Name

    -------------------------------------------------------------------------

    1: fffc01 10:00:00:05:1e:02:0e:de 10.246.54.240 0.0.0.0 "DS_200B"

    2: fffc02 10:00:00:05:1e:02:93:75 10.246.54.241 0.0.0.0 "DS_5100"

    4: fffc04 10:00:00:05:1e:44:b6:00 10.246.54.79 10.10.10.10 >"ED_DCX_B"

    The Fabric has 3 switches

  • 7/31/2019 EMC Brocade Switch Cookbook 2.2.11[1]

    18/199

    DATA CENTER COOKBOOK

    Brocade Directors 18 of 199

    The switch with the arrow (>) next to its name is the principal switch. Below is the description of the output.

    : The switchs domain_ID and embedded port D_ID. The numbers are broken down as follows:

    Example

    64 is the switch domain_ID

    fffc40 is the hexidecimal format of the embedded port D_ID.

    The switchs WWN.

    The switchs Ethernet IP address for IPv4- and IPv6-configured switches. For IPv6 switches,

    only the static IP address displays.

    : The switchs Fibre Channel IP address.

    The switchs symbolic or user-created name in quotes. An arrow (>) indicates the

    principal switch.

    Setting your Domain ID

    Here are the steps to configure Domain ID manually

    1. Connect to the switch and log in on an account assigned to the admin role.2. Enter the command to disable the switch.3. Enter the command.4. Enter after the Fabric Parameters prompt:

    Fabric parameters (yes, y, no, n): [no]

    5. Enter a unique domain ID at the Domain prompt. Use a domain ID value from 1 through 239 for normaloperating mode (FCSW-compatible).

    Domain: (1..239) [1]

    6. Respond to the remaining prompts, or press Ctrl-D to accept the other settings and exit.7. Enter the command to re-enable the switch.

    PortsBy default, all licensed ports are enabled. You can disable and re-enable them as necessary. Ports

    that you activate with the Ports on Demand license must be enabled explicitly, as described in

    Ports on Demand. If ports are persistently disabled and you use the command to enable a

    disabled port, the port will revert to being disabled after a power cycle or a switch reboot. To ensure the port

    remains enabled, use the command as instructed below.

    Enable a port

    1. Log in with account that has admin privileges2. Issue the portnumbercommand.

    switch:admin> portenable 10

    3. Issue the portnumbercommand to enable a port that has been persistently

    disabled.

    switch:admin> portcfgpersistentenable 10

  • 7/31/2019 EMC Brocade Switch Cookbook 2.2.11[1]

    19/199

    DATA CENTER COOKBOOK

    Brocade Directors 19 of 199

    Disable a port

    1. Log in with account that has admin privileges

    2. Issue the portnumbercommand.

    switch:admin> portdisable 10

    3. Issue the portnumbercommand to persistently disable a port.

    switch:admin> portcfgpersistentdisable 10

    Ports on Demand licenseTo enable additional ports, you must install Ports On Demand (POD) licenses. To install a POD license, you

    can either use the supplied license key or generate a license key. Typically the switch is shipped with a

    paper pack that specifies the transaction key to use with the Software License Keys link. Use this

    transaction key on my.brocade.com Web site and follow the instructions to generate the key.

    1. Login to my.brocade.com

    2. Scroll down to Licensing tools and click on Enter the Software Portal

    You can also use this site to generate other license keys for your switch. After you have installed the licensekeys using the command, you must enable the ports. You can do so without disrupting switch

    operation by using the command on each port individually. Alternatively, you can disable and re-

    enable the switch to activate all ports simultaneously.

    switch:admin> licenseadd DXXtN3LmRSMWCSW3XmfSBPfrWKLZ3HMTN73rP9GANJMA

    adding license-key [DXXtN3LmRSMWCSW3XmfSBPfrWKLZ3HMTN73rP9GANJMA]

    Use the command to view all the licenses.

  • 7/31/2019 EMC Brocade Switch Cookbook 2.2.11[1]

    20/199

    DATA CENTER COOKBOOK

    Brocade Directors 20 of 199

    Setting Port Speed

    1. Log in with account that has admin privileges

    2. Issue the portnumber command.

    The following example sets the speed for port 3 to 8 Gbps:

    ecp:admin>

    done.

    The following example sets the speed for port 3 to autonegotiate:

    ecp:admin>

    done.

    3. Issue the command to set all ports to same speed setting.

    The following example sets the speed for all ports on the switch to 8 Gbps:

    switch:admin>

    Committing configuration...done.

    The following example sets the speed for all ports on the switch to autonegotiate:

    switch:admin> switchcfgspeed 0

    Committing configuration...done.

    Following things can be entered for speed settings:

    Speed_Level: 0 - Auto Negotiate (Hardware)

    1 - 1Gbps

    2 - 2Gbps

    4 - 4Gbps

    8 - 8Gbps

    ax - Auto Negotiate (Hardware) + retries

    s - Auto Negotiate (Software)

    Setting Port name

    To set a name for the port we use the command. The name of the port is shown in

    output. It is not to be confused with the port World-Wide Name (pWWN).

    1. Log in with account that has admin privileges2. Use command portnumber desired name

    switch:admin> portname 1 -n "To DCX"

    switch:admin> portshow 1

    portIndex: 1

    portName: To DCX

    portHealth: No Fabric Watch License

  • 7/31/2019 EMC Brocade Switch Cookbook 2.2.11[1]

    21/199

  • 7/31/2019 EMC Brocade Switch Cookbook 2.2.11[1]

    22/199

    DATA CENTER COOKBOOK

    Brocade Directors 22 of 199

    ecp:admin> chassisname newname

    3. Record the new chassis name for future reference.

    Switch activation and deactivation

    By default, the switch is enabled after power is applied and diagnostics and switch initializationroutineshave finished. You can disable and re-enable it as necessary.

    Disabling a switch

    1. Connect to the switch and log in using an account assigned to the admin role.

    2. Enter the command.

    All Fibre Channel ports on the switch are taken offline. If the switch was part of a fabric, thefabric is

    reconfigured.

    Enabling a switch

    1. Connect to the switch and log in using an account assigned to the admin role.2. Enter the command.

    All Fibre Channel ports that passed POST are enabled. If the switch has interswitch links (ISLs)to a fabric, it

    joins the fabric.

    Switch shutdownTo avoid corrupting your file system, Brocade recommends that you perform graceful shutdowns of Brocade

    enterprise-class platforms.

    Warm reboot refers to shutting down the appliance per the instructions below, also known as a

    graceful shutdown. Cold boot refers to shutting down the appliance by suddenly shutting down power and then

    turning it back on, also known as a hard boot.

    Powering off a Brocade switchThe following procedure describes how to gracefully shut down a switch.

    1. Connect to the switch and log in using an account assigned to the admin role.2. Enter the command.3. At the prompt, enter y.

    switch:admin>

    This command will shutdown the operating systems on your switch.

    You are required to power-cycle the switch in order to restore operation.

    Are you sure you want to shutdown the switch [y/n]?

    4. Wait until the following message displays:

    Broadcast message from root (ttyS0) Wed Jan 25 16:12:09 2006...

    The system is going down for system halt NOW !!

    INIT: Switching to runlevel: 0

    INIT: Sending processes the TERM signal

    Unmounting all filesystems.

    The system is halted

    flushing ide devices: hda

  • 7/31/2019 EMC Brocade Switch Cookbook 2.2.11[1]

    23/199

    DATA CENTER COOKBOOK

    Brocade Directors 23 of 199

    Power down.

    5. Power off the switch.

    Setting the date and time

    1. Connect to the switch and log in using an account assigned to the admin role.2. Enter the date command, using the following syntax:

    "mmddHHMMyy"

    The values represent the following:

    mm is the month; valid values are 01 through 12.

    dd is the date; valid values are 01 through 31.

    HH is the hour; valid values are 00 through 23.

    MM is minutes; valid values are 00 through 59.

    yy is the year, valid values are 00 -37 and 70-99 (year values from 70-99 are interpreted as

    1970-1999, year values from 00-37 are interpreted as 2000-2037).

    Example of showing and setting the date

    switch:admin>

    Fri Sep 29 17:01:48 UTC 2007

    Stealth200E:admin>

    Mon Feb 4 10:10:00 UTC 2008

    Synchronizing the local time with an external sourceThe tsClockServer command accepts multiple server addresses in IPv4, IPv6, or DNS name

    formats. When multiple NTP server addresses are passed, tsClockServer sets the first obtainable

    address as the active NTP server. The rest are stored as backup servers that can take over if the

    active NTP server fails. The principal or primary FCS switch synchronizes its time with the NTP

    server every 64 seconds.

    1. Connect to the switch and log in using an account assigned to the admin role.2. Enter the tsClockServer command:

    switch:admin> ""

    In this syntax, ntp1 is the IP address or DNS name of the first NTP server, which the switch

    must be able to access. The second variable, ntp2, is the second NTP server and is optional.

    The operand is optional; by default, this value is LOCL, which uses the local

    clock of the principal or primary switch as the clock server.

    Example of setting the NTP server

    switch:admin>LOCL

    switch:admin>

    Example of displaying the NTP server

    switch:admin>

    10.1.2.3

  • 7/31/2019 EMC Brocade Switch Cookbook 2.2.11[1]

    24/199

    DATA CENTER COOKBOOK

    Brocade Directors 24 of 199

    Example of setting up more than one NTP server using a DNS name

    switch:admin>

    Updating Clock Server configuration...done.

    Updated with the NTP servers

    Changes to the clock server value on the principal or primary FCS switch arepropagated to all switches in the fabric.

    Webtools

    Configuring IP and netmask information

    1. Click the Network tab.

    2. In the appropriate IP address section, enter the IP address you want to use for the IP

    interface.

    3. Use the IPv4 Address section or the IPv6 Address section to specify IP addresses.4. In the IPv4 Address section:

    a. In the Ethernet IP field, enter the Ethernet IP address.

    b. In the Ethernet Mask field, enter the Ethernet Mask address.

    c. In the GateWay IP address field, enter the gateway IP address.

    5. In the IPv6 Address section, in the Ethernet IPv6 field, enter the Ethernet IP address.6. You can also enable automatic configuration of IPv6 addresses by selecting Enable IPV6 Auto

    Configuration. The automatically generated IPv6 addresses are displayed under AutoConfigured IPV6 Addresses. Eight auto-configured addresses are created per switch, and up to

    24 for a 48000, DCX, or DCX-4S chassis (eight per chassis, and eight per each installed CP).

  • 7/31/2019 EMC Brocade Switch Cookbook 2.2.11[1]

    25/199

    DATA CENTER COOKBOOK

    Brocade Directors 25 of 199

    Blade management

    Web Tools provides the ability to enable and disable blades, and to set slot-level IP addresses forblades. The procedure in this section applies only to the Brocade 48000 and Brocade DCX andDCX-4S enterprise-class platforms.

    Enabling or disabling a bladeUse the following procedure to enable or disable a blade.

    1. Open the Switch Administration window.

    2. Click the Blade tab

    The Firmware Version columns display the firmware loaded onto each blade. A blade can havemore than one firmware image loaded onto it. The Enable Blade column in the Blade tab paneindicates whether the blade is enabled.

    3. Select the Enable Blade check box for each blade you want to enable. Clear the check box todisable the blade. You cannot enable or disable the CP blades.

    4. Click Apply.

    Setting a slot-level IP address

    Use the following procedure to set an IP address.

    1. Open the Switch Administration window.2. Click the Blade tab.3. Click Set IP address.4. Select a slot number from the list.5. Enter the IP address, subnet mask, and Gateway IP address.6. Select a type from the list.7. Click Add to add the new entry to the table.

    When you click Add, the values remain in the fields.The Clear Gateway and Clear IP buttons are available for clearing fields in the table.To remove a configuration, select a row in the table and click Delete.

    8. Click Apply to save the values currently shown in the table or click Cancel to close the dialogbox without saving any of your changes.To update the switch with your changes, you must update the table using the Add and Deletebuttons, and then click A