User Tools

Site Tools


storage:brocade_gateway

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
storage:brocade_gateway [2021/01/01 21:25]
127.0.0.1 external edit
storage:brocade_gateway [2024/01/05 18:20] (current)
manu
Line 45: Line 45:
 F-Port to N-Port mapping has been updated successfully F-Port to N-Port mapping has been updated successfully
 </​cli>​ </​cli>​
 +
 +
 +<​code>​
 +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)
 +</​code>​
 +
 +<cli prompt='>'>​
 +FLEX-A1-BLUE:​admin>​ ag --modeshow
 +Access Gateway mode is enabled.
 +FLEX-A1-BLUE:​admin>​ fabricshow
 +Error: This command is not supported in AG mode
 +FLEX-A1-BLUE:​admin>​
 +
 +FLEX-A1-BLUE:​admin>​ ag --mapshow
 +N_Port ​ Configured_F_Ports ​     Static_F_Ports ​ Current_F_Ports Failover Failback PG_ID PG_Name
 +------------------------------------------------------------------------------------------------
 +   ​0 ​   1;21                    None            1;​3;​4;​5;​6; ​      ​1 ​      ​1 ​        ​0 ​   pg0
 +                                                7;​8;​10;​12;​14
 +  29    2;22                    None            2;​9;​11;​13 ​       1       ​1 ​        ​0 ​   pg0
 +  30    3;23                    None            None             ​1 ​      ​1 ​        ​0 ​   pg0
 +  31    4;24                    None            None             ​1 ​      ​1 ​        ​0 ​   pg0
 +  32    5;25                    None            None             ​1 ​      ​1 ​        ​0 ​   pg0
 +  33    6;26                    None            None             ​1 ​      ​1 ​        ​0 ​   pg0
 +  34    7;27                    None            None             ​1 ​      ​1 ​        ​0 ​   pg0
 +  35    8;28                    None            None             ​1 ​      ​1 ​        ​0 ​   pg0
 +  36    9                       ​None ​           None             ​1 ​      ​1 ​        ​0 ​   pg0
 +  37    10                      None            None             ​1 ​      ​1 ​        ​0 ​   pg0
 +  38    11                      None            None             ​1 ​      ​1 ​        ​0 ​   pg0
 +  39    12                      None            None             ​1 ​      ​1 ​        ​0 ​   pg0
 +  40    13                      None            None             ​1 ​      ​1 ​        ​0 ​   pg0
 +  41    14                      None            None             ​1 ​      ​1 ​        ​0 ​   pg0
 +  42    15                      None            None             ​1 ​      ​1 ​        ​0 ​   pg0
 +  43    16                      None            None             ​1 ​      ​1 ​        ​0 ​   pg0
 +  44    17                      None            None             ​1 ​      ​1 ​        ​0 ​   pg0
 +  45    18                      None            None             ​1 ​      ​1 ​        ​0 ​   pg0
 +  46    19                      None            None             ​1 ​      ​1 ​        ​0 ​   pg0
 +  47    20                      None            None             ​1 ​      ​1 ​        ​0 ​   pg0
 +------------------------------------------------------------------------------------------------
 +
 +
 +FLEX-A1-BLUE:​admin>​ ag --mapdel 40 13
 +F_Port to N_Port mapping has been updated successfully
 +FLEX-A1-BLUE:​admin>​ ag --mapdel 39 12
 +FLEX-A1-BLUE:​admin>​ ag --mapadd 0 "​3;​4;​5;​6;​7"​
 +F_Port to N_Port mapping has been updated successfully
 +
 +
 +FLEX-A1-BLUE:​admin>​ ag --mapshow
 +N_Port ​ Configured_F_Ports ​     Static_F_Ports ​ Current_F_Ports Failover Failback PG_ID PG_Name
 +------------------------------------------------------------------------------------------------
 +   ​0 ​   1;​2;​3;​4;​5; ​             None            1;​2;​3;​4;​5; ​      ​1 ​      ​1 ​        ​0 ​   pg0
 +        6;7                                     6;7
 +  29    8;​9;​10;​11;​12; ​          ​None ​           8;​9;​10;​11;​12; ​   1       ​1 ​        ​0 ​   pg0
 +        13;14                                   13;14
 +
 +
 +
 +sanb01:​FID128:​admin>​ switchshow
 +switchName: ​    ​sanb01
 +....
 +  12  12   ​6f0c00 ​  ​id ​   N16     ​Online ​     FC  F-Port ​ 1 N Port + 7 NPIV public (AoQ)
 +  13  13   ​6f0d00 ​  ​id ​   N16     ​Online ​     FC  F-Port ​ 1 N Port + 7 NPIV public (AoQ)
 +</​cli>​
 + 
storage/brocade_gateway.1609532719.txt.gz · Last modified: 2021/01/01 21:25 by 127.0.0.1