User Tools

Site Tools


storage:brocade_gateway

This is an old revision of the document!


Brocade switch as transparent gateway

Use the access gateway mode if you have other vendor switch and don't want to use compatibility mode on all SAN switch. This will virtualized the brocade SAN switch, and all ISL to other SAN switches have to be configured as Nport (NPIV).

First disable the switch, no more activity on ports:

switch:admin> switchdisable
switch:admin> ag --modeenable

The switch automatically reboots and comes back online in AG mode using a factory default port mapping. For more information on AG default port mapping, see Table 5on page 12.

Enter the ag –modeshowcommand to verify that AG mode is enabled.

switch:admin> ag --modeshow
Access Gateway mode is enabled.

Enter the ag –mapshowcommand to display all the mapped ports. The ag –mapshowcommand shows all enabled N_Ports,even if those N_Ports are not connected.

switch:admin> ag --mapshow
N_Port Configured_F_Ports Current_F_Ports Failover Failback PG_ID PG_Name
----------------------------------------------------------------------------- 
0   4;5;6 4;5;6   1 0 2 SecondFabric
1   7;8;9 7;8;9   0 1 0 pg0
2   10;11 10;11 1 0 2 SecondFabric
3   12;13 12;13   0 1 0 pg0
-----------------------------------------------------------------------------

Enter the switchShowcommand to display the status of all ports. Note that the following output is an example only and may not exactly reflect output from the current Fabric OS.

switch:admin> switchshow
switchName: switch
switchType: 43.2
switchState: Online
switchMode: Access Gateway Mode

Change gateway mapping: Link F-ports “6;7” to an N-port “13”

switch:admin> ag --mapadd 13 "6;7"
F-Port to N-Port mapping has been updated successfully
FLEX-A1-BLUE:admin> switchdisable
FLEX-A1-BLUE:admin> ag --modeenable
WARNING: Access Gateway mode changes the standard behavior of the switch. Please check Access Gateway Administrator's Guide before proceeding.
Enabling agmode will remove all the configuration data on the switch
including zoning configuration, FAWWN configuration and security database. Please backup your
configuration using configupload.
This operation will reboot the switch.
Do you want to continue? (yes, y, no, n): [no] y
The following configurations need to be disabled before enabling the AG mode in the switch:
ERROR: Authentication policies are enabled in the switch.
Please disable the Authentication policies using the authutil --policy -sw(switch)/-dev(device)

FLEX-A1-BLUE:admin> authutil --help
Usage authutil:
--set    -a <fcap|dhchap|all>  set authentication type.
--set    -g <0..4|'*'>         set DH group value.
--set    -h <sha256|sha1|md5|sha1,md5|all>     set HASH type.
--show                         show authentication configuration value.
--policy -sw   <off|passive|active|on>  set switch authentication policy.
--policy -dev  <off|passive|on>            set device authentication policy.
--authinit <[<SlotNumber>/]<PortNumber>,...|allE>initiates the authentication on specified ports or all E-ports

FLEX-A1-BLUE:admin> authutil --show
AUTH TYPE     HASH TYPE     GROUP TYPE
--------------------------------------
fcap,dhchap     sha256,sha1,md5 0,1,2,3,4

Switch Authentication Policy: PASSIVE
Device Authentication Policy: OFF
FLEX-A1-BLUE:admin> authutil --policy -sw off
Warning: Activating the authentication policy requires either DH-CHAP secrets or PKI certificates depending on the protocol selected. Otherwise, ISLs will be segmented during next E-port bring-up.
ARE YOU SURE  (yes, y, no, n): [no] y
Auth Policy is set to OFF

FLEX-A1-BLUE:admin> ag --modeenable
WARNING: Access Gateway mode changes the standard behavior of the switch. Please check Access Gateway Administrator's Guide before proceeding.
Enabling agmode will remove all the configuration data on the switch
including zoning configuration, FAWWN configuration and security database. Please backup your
configuration using configupload.
This operation will reboot the switch.
Do you want to continue? (yes, y, no, n): [no] yes


After reboot:



FLEX-A1-BLUE:admin> switchshow
switchName:     FLEX-A1-BLUE
switchState:    Online
switchMode:     Access Gateway Mode


Index Port Address  Media Speed   State       Proto
==================================================
   0   0   790000   id    N16     Online      FC  N-Port  10:00:d8:1f:cc:xx:xx:xx 0x6f0c00 (AoQ)
   1   1   790100   cu    N16     Online      FC  F-Port  10:00:00:90:fa:xx:xx:xx 0x6f0c01
  13  13   790d00   cu    N16     Online      FC  F-Port  10:00:00:90:fa:xx:xx:xx 0x6f0d04
  14  14   790e00   cu    N16     Online      FC  F-Port  10:00:00:90:fa:xx:xx:xx 0x6f0c09
  29  29   791d00   id    N16     Online      FC  N-Port  10:00:d8:1f:cc:xx:xx:xx 0x6f0d00 (AoQ)
storage/brocade_gateway.1704474521.txt.gz · Last modified: 2024/01/05 18:08 by manu