Network OS Administration Guide

Supporting Network OS 6.0.1a

Part Number: 53-1003768-04

Displaying port mapping

You can display current and configured VF_Port to N_Port mapping on a specific switch or on all switches enabled for Access Gateway in the VCS cluster.

Display current, active VF_Port to N_Port mapping on a specific switch or on all switches enabled for Access Gateway in the VCS cluster using the show ag map rbridge-id rbridge-id command while in Privileged EXEC mode.

Display configured VF_Port to N_Port mapping on a switch using the show running-config rbridge-id rbridge id ag command.

Perform one of the following steps while in privileged EXEC mode:
  • To display current, active, VF_Port mapping for a specific N_Port, enter show ag map nport rbridge-id rbridge-id.
    switch# show ag map nport interface fiberChannel 200/0/1 rbridge-id 200
  • To display current, active VF_Port mapping to all N_Ports on a switch, enter show ag map rbridge-id rbridge-id.
    switch# show ag map rbridge-id 200
  • To display VF_Port mapping to a N_Ports on all switches in the VCS cluster, enter show ag map rbridge-id all.
    switch# show ag map rbridge-id all
  • To display configured mapping on a switch, enter show running-config rbridge-id rbridge id ag.
    switch# show running-config rbridge-id 1 ag

Current and configured mapping display

Display of current, active mapping, or configured mapping for a port group using the show ag map and show running-config rbridge-id rbridge id ag commands depend on the enabled or disabled state of Login Balancing mode. For more information, refer to Automatic Login Balancing mode.

The following example is sample output from the show ag map rbridge-id rbridge-id command, which shows current, active port mapping. The "Current_VF_Ports" column shows that there are no VF_Ports online.

switch# show ag map rbridge 5
RBridge-ID 5:
---------------------------------------------------
N_Port(Fi)    PG_ID  PG_Name  Current_VF_Ports
---------------------------------------------------
5/0/1         0      pg0      None
5/0/2         0      pg0      None
5/0/3         0      pg0      None
5/0/4         0      pg0      None
5/0/5         0      pg0      None
5/0/6         0      pg0      None
5/0/7         0      pg0      None
5/0/8         0      pg0      None
---------------------------------------------------

The following example is sample output from the show running-config rbridge-id rbridge id ag command to show configured port mapping. The output lists N_Port numbers on the switch, and then mapped VF_Ports following "map fport interface fcoe."

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