The authors and Brocade Communications Systems, Inc. shall have no liability or responsibility to any person or entity with respect to any loss, cost, liability, or damages arising from the information contained in this book or the computer programs that accompany it.
Access Gateway solution. • Chapter 3, “Disabling Access Gateway Mode” provides instructions on disabling Access Gateway mode so that the switch can be used as a fabric switch. Access Gateway Administrator’s Guide 53-1000633-01...
• Chapter 4, “Managing Ports in Access Gateway mode” provides instructions on changing N_Ports to F_Ports, mapping F_Ports to N_Ports, and changing failover and failback policies. • Chapter 4, “Managing Ports in Access Gateway mode” provides instructions on changing N_Ports to F_Ports, mapping F_Ports to N_Ports, and changing failover and failback policies.
For definitions specific to Brocade and Fibre Channel, see the Brocade Glossary. The following terms are used in this manual to describe Access Gateway mode and its components. Access Gateway (AG) Fabric OS mode for embedded switches that reduces SAN (storage area network) deployment complexity by leveraging NPIV (N_Port ID virtualization).
On Brocade Access Gateway, the configuration of F_Port to N_Port routes. Additional information This section lists additional Brocade and industry-specific documentation that you might find helpful. BROCADE RESOURCES The most recent version of documentation is provided on the Brocade Web site, through Brocade Connect.
The switch serial number and corresponding bar code are provided on the serial number label, as illustrated below. *FT00X0054E9* FT00X0054E9 The serial number label is located as follows: Brocade 3014—On the top of the chassis, under the insertion arm Brocade 3016 and 4012—On the bottom of the switch module Access Gateway Administrator’s Guide 53-1000633-01...
Forward your feedback to: documentation@brocade.com Provide the title and version number and as much detail as possible about your issue, including the topic heading and page number and your suggestions for improvement. Access Gateway Administrator’s Guide 53-1000633-01...
DCC policy in the enterprise fabric should include N_Port WWN and port WWNs of all F_Ports on Access Gateway mapped to that N_Port. In case of DCC policy violation, the port in the enterprise fabric to which N_Port is connected will be disabled. This will bring down the corresponding N_Port and F_Ports mapped to it on Access Gateway.
N_Port to an edge fabric switch. Using N_Port ID virtualization (NPIV), Brocade Access Gateway allows multiple FC initiators to access the SAN on the same physical port. This reduces the hardware requirements and management overhead of hosts to the SAN connections.
Port mapping Brocade Access Gateway uses mapping—that is, pre-provisioned routes—to direct traffic from the hosts to the fabric. When you first enable Access Gateway mode, the F_Ports are mapped to a set of predefined N_Ports, see Appendix A, “Default Port Mapping”.
Switch_B F_B2 Port initialization To ensure that all hosts are brought online when Brocade Access Gateway starts up, the ports are initialized in the following manner: 1. All N_Ports are initialized. During N_Port initialization all the F_Ports are disabled (kept OFFLINE).
Host log in request Failover policy The Brocade Access Gateway N_Port failover policy allows hosts to automatically remap to an online N_Port if the N_Port they are connected to goes offline. The failover policy evenly distributes the F_Ports that are mapped to an offline N_Port among all the online N_Ports. The failover policy is a parameter of each N_Port.
Original mapped route (offline) FIGURE 5 Example 1 and 2 failover policy behavior Failback policy The Brocade Access Gateway failback policy automatically reroutes the F_Ports back to the originally mapped N_Ports as those N_Ports come back online. Access Gateway Administrator’s Guide 53-1000633-01...
Page 18
2. The F_Port is reenabled on the original N_Port. 3. The host establishes a new connection with the fabric. Example: Failback Policy In Example 3, the Brocade Access Gateway N_1 remains disabled because the corresponding F_A1 port is offline. However N_2 comes back online. See Figure 5 on page 7 for the original failover scenario.
NOTE On the 200E, you must enable all ports using POD licensing before enabling Access Gateway mode. USING THE CLI TO ENABLE ACCESS GATEWAY MODE Enabling Access Gateway mode is a disruptive process; the switch is disabled and rebooted. Once you enable Access Gateway mode, only a limited subset of Fabric OS commands are available and all fabric-related service requests are forwarded to the fabric switches.
Page 21
5. Enter the ag modeenable command to enable Access Gateway mode. switch:admin> ag --modeenable The switch automatically reboots and comes back online in Access Gateway mode using a factory default F_Port to N_Port mapping. See Appendix A, “Default Port Mapping”.
Page 22
Enabling Access Gateway mode Enter the ag mapshow command without any options to display all the mapped ports. The following example shows a mapping that has been reconfigured, three N_Ports 17, 19 and 20 have no mappings and are not connected to the fabric.
Notes on joining the switch to a fabric After the switch reboots when Access Gateway mode is disabled, the default zone is set to no access. Therefore the switch does not immediately join the fabric to which it is connected. Use one of the following methods to join the switch to the fabric: •...
Page 25
3. Enter the cfgSave command to commit the defzone changes. 4. Enter the switchEnable command to enable the switch and allow it to merge with the fabric. The switch automatically joins the fabric. Access Gateway Administrator’s Guide 53-1000633-01...
Page 26
Notes on joining the switch to a fabric Access Gateway Administrator’s Guide 53-1000633-01...
Managing Ports in Access Gateway mode This chapter explains how to use the CLI to manage the ports on Brocade Access Gateway. NOTE Refer to the Web Tools Admin Guide for information on setting up Access Gateway using Web Tools. In this chapter •...
Failback(1=enabled/0=disabled) : 1 Current F_Ports : 2;8; Configured F_Ports : 2; DISPLAYING THE PORT STATUS This section explains how to determine the ports status. To display the port status 1. Connect and log in to the switch. Access Gateway Administrator’s Guide 53-1000633-01...
Online N-Port 10:00:00:05:1e:35:10:1e 0x5a0000 Configuring port maps In Access Gateway mode, the F_Ports are mapped to N_Ports. The first time Access Gateway mode is enabled, the default F_Port to N_Port mapping is used. See Appendix A, “Default Port Mapping”. This section explains how to change the mapping. When you update the mapping only the F_Ports that are added or removed are affected.
Page 30
F_Ports to the N_Port. Where the f_portlist can contain multiple F_Port numbers separated by semicolons, for example “17;18”. switch:admin> ag --mapadd 13 "5;6" F-Port to N-Port mapping has been updated successfully Access Gateway Administrator’s Guide 53-1000633-01...
CAUTION If the failback policy is enabled and autofailback occurs, this will interrupt traffic because the ports need to relogin to their original mapped port thus causing a disruption in traffic. Access Gateway Administrator’s Guide 53-1000633-01...
Failover policy is disabled for port 13 ENABLING THE FAILBACK POLICY A switch in Access Gateway mode supports automatic F_Port failback to N_Ports when that port comes back online. By default the failback policy is enabled. When an N_Port with an enabled failback policy comes back online, the F_Ports that were originally mapped to it are automatically rerouted back to the N_Port.
4. Connect the HBA, host, or other FCP initiator to the F_Port NOTE A switch in Access Gateway mode must have at least one port configured as an N_Port. Therefore the maximum number of F_Ports that could be mapped to an N_Port is the number of ports on the switch minus one.
Configuring additional F_Ports Figure 7 shows a diagram of a host connected to an embedded switch’s external F_Port when Brocade Access Gateway is enabled. Note that the newly configured F_Port was mapped to an N_Port. FIGURE 7 Example of adding an external F_Port (F9) on an embedded switch...
Page 35
N_Port mode. switch:admin> portcfgnport Ports 9 10 11 12 13 14 15 --------------------+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+-- Locked N_Port ...... ON ON ON ON ON Access Gateway Administrator’s Guide 53-1000633-01...
Page 37
Appendix Default Port Mapping The following table shows the default F_Port to N_Port maps that are automatically configured when Access Gateway mode is enabled. All N_Ports have failover and failback enabled. TABLE 4 Access Gateway default F_Port to N_Port mapping...
Page 38
Default Port Mapping Access Gateway Administrator’s Guide 53-1000633-01...
Appendix Compatibility In Access Gateway mode, the switch can connect to a fabric that supports NPIV. Fabric OS supports NPIV in v5.0.1 and later. This section describes the supported Access Gateway configurations. Access Gateway Mode Switches The following switches support Access Gateway mode: •...
Page 40
Interoperability with McDATA and Cisco The following instructions will allow you to connect your McDATA and Cisco edge fabrics to the Access Gateway enabled switch by enabling NPIV functionality. How to configure McDATA switch 1. Login as admin on the McDATA switch.
Inadvertently turned off On the edge switch, enter the portCfgShow command. switch ports Verify that NPIV status for the port to which Brocade Access Gateway is connected is ON. If the status displays as “--” NPIV is disabled. Enter the portCfgNpivPort <port_number>...
Page 42
If it returns, “Failback (or Failover) on N_Port <port_number> is not supported.” See “Managing the failover and failback policies” page 21. Access Gateway is mode Access Gateway must be disabled. Disable switch using the switchDisable command. not wanted Enable Access Gateway mode using the ag modeDisable command.
Appendix Access Gateway Commands This appendix contains the commands for Access Gateway mode in the Fabric OS 5.3.0 release. System messages can be found in the Fabric OS Message Reference.This appendix uses the same conventions as the Fabric OS Command References.
Page 44
Maps F_Ports to a specific N_Port to the fabric. Any F_Port can be mapped to only one N_Port. F_Ports are enabled only if the N_Port is online and NPIV is enabled on the fabric port that is connected to Access Gateway. mapadd <N_Port> “<F_Port1;F_Port2;...>”...
Page 45
Examples To display Access Gateway information: switch:admin> ag --show Name : switch NodeName : 10:00:00:05:1e:35:10:57 Number of Ports : 16 IP Address(es) : 10.115.74.54 Firmware Version : v5.2.1.v5.2.x_maint_061106_2 N_Ports F_Ports Attached N_Port information: Port PortID PortWWN FO FB IP Addr...
Need help?
Do you have a question about the Gateway and is the answer not in the manual?
Questions and answers