Network OS Administration Guide

Supporting Network OS 6.0.1a

Part Number: 53-1003768-04

Displaying Access Gateway configuration data

Use the show running-config rbridge-id rbridge id ag and show ag rbridge-id rbridge-id commands to display Access Gateway configuration data.

To display AG configuration data, use the following methods:
  • Use the show running-config rbridge-id rbridge-id ag command to display the configured N_Port to VF_Port mappings, port grouping information, and other parameters. This shows the factory-default configuration, unless parameters have been modified by the user.
  • Use the show ag rbridge-id rbridge-id command to display the current and active status of AG configuration, such as the switch identification, number and type of ports, enabled policies, port grouping, and attached fabric details. This displays only ports that are currently online and current mappings. For example, this will show VF_Ports that have failed over to an N_Port if an N_Port that has gone offline.
NOTE
Display of current, active mapping, or configured mapping for a port group using the show ag rbridge-id rbridge-id and show running-config rbridge-id rbridge-id ag commands depends on the enabled or disabled state of Login Balancing mode. For more information, refer to Automatic Login Balancing mode.
  1. Make sure you are in Privileged EXEC mode and have a switch prompt such as the following.
    switch#
  2. Perform one of the following steps:
    • Enter the show running-config rbridge-id rbridge-id ag command as in the following example for RBridge 1.
      switch# show running-config rbridge-id 1 ag
    • Enter the show ag rbridge-id rbridge-id command as shown in the following example for RBridge 5.
      switch# show ag rbridge-id 5

    If Access Gateway is enabled, data such as the following displays for show running-config rbridge-id rbridge-id ag, as shown in the following example for RBridge 1:

    device# show running-config rbridge-id 1 ag 
    rbridge-id 1
     ag
      enable
      counter reliability 25
      timeout fnm 120
      nport interface FiberChannel 1/0/1
       map fport interface Fcoe 1/1/1 1/1/2 1/1/3 1/1/4 1/1/5 1/1/6 1/1/7 1/1/8 1/1/9 1/1/10 1/1/11 1/1/12 1/1/13 1/1/14 1/1/15 1/1/16 1/1/17 1/1/18 1/1/19 1/1/20 1/1/21 1/1/22 1/1/23 1/1/24 1/1/25 1/1/26 1/1/27 1/1/28 1/1/29 1/1/30 1/1/31 1/1/32 1/1/33 1/1/34 1/1/35 1/1/36 1/1/37 1/1/38 1/1/39 1/1/40 1/1/41 1/1/42 1/1/43 1/1/44 1/1/45 1/1/46 1/1/47 1/1/48 1/1/49 1/1/50 1/1/51 1/1/52 1/1/53 1/1/54 1/1/55 1/1/56 1/1/57 1/1/58 1/1/59 1/1/60 1/1/61 1/1/62 1/1/63 1/1/64
      !
      nport interface FiberChannel 1/0/2
      !
      pg 0
       nport interface FibreChannel 1/0/1 1/0/2
       modes lb
       rename pg0
      !
     !
    !
    

    If Access Gateway is enabled, data such as the following displays for show ag rbridge-id rbridge-id, as shown in the following example for RBridge 1:

    device# show ag rbridge-id 1
    Rbridge-ID 1:
    ----------------------------------------------------------------------------------------
    Name                  : device
    NodeName              : 10:00:00:27:f8:cf:9b:b8
    Number of Ports       : 128
    IP Address(es)        : 11.11.11.11
    Firmware Version      : v6.0.1
    Number of N_Ports(Fi) : 1
    Number of VF_Ports    : 1
    Policies Enabled      : pg
    Port Group information :
    PG_IDPG_NamePG_ModePG_Members
    ----------------------------------------------------------
    0        pg0     lb      1/0/1, 1/0/2
    
    ----------------------------------------------------------
    Fabric Information :
    Attached Fabric NameN_Ports(Fi)
    ----------------------------------------------------------
    10:00:00:05:33:ae:8a:87 1/0/2
    ----------------------------------------------------------
    N_Port(Fi) information :
    Port     PortID        Attached PWWN        IP_Addr         VF_Ports
    ------------------------------------------------------------------------------------
    Fi 1/0/2       0x010200  2f:03:00:05:33:ae:8a:87   11.11.11.11     1/1/1
    ------------------------------------------------------------------------------------
    VF_Port information :
    VF_Port   Eth_Port     PortID     Attached PWWN            N_Port(Fi)
    ------------------------------------------------------------------------------------
    1/1/1     Te 1/0/25    0x010201  10:00:00:05:1e:d4:88:be   1/0/2     
    1/1/1     Te 1/0/25    0x010202  77:77:77:77:77:77:77:00   1/0/2     
    1/1/1     Te 1/0/25    0x010203  77:77:77:77:77:77:77:01   1/0/2     
    1/1/1     Te 1/0/25    0x010204  77:77:77:77:77:77:77:02   1/0/2     
    1/1/1     Te 1/0/25    0x010205  77:77:77:77:77:77:77:03   1/0/2     

    If AG is not enabled, "AG mode not set" displays, as shown in the following example for RBridge 2:

    device# show ag rbridge-id 2
    AG mode not set.
    NOTE
    You can also enter show ag rbridge-id all to display AG configuration data for all switches in the VCS cluster.