Network OS Administration Guide

Supporting Network OS 6.0.1a

Part Number: 53-1003768-04

Adding and removing N_Ports in a port group

After creating a port group, you must add N_Ports to the group. You must delete N_Ports from a group if you want to move them to another port group or not include them in a port group.

Access Gateway and the PG policy must be enabled for the nport interface fibrechannel command to succeed.

Use the nport interface fibrechannel port command while in command mode for a specific port group to add an N_Port to the group. Use the no nport interface fibrechannel port command to remove an N_Port. Before you can add a port to a port group, you must remove it from the port group where it currently exists, unless the port is in port group 0 (pg 0). If you remove a port from a port group, it will default to port group 0. You cannot delete a port from port group 0.
NOTE
Under FlexPort, after you move a VF_Port from one port group to another, it is possible that an N_Port may not be available in the target port group.
  1. Determine the port group on the switch where the port is currently a member by entering the show ag pg rbridge-id rbridge-id while in the privileged EXEC command mode.
    switch# show ag pg rbridge-id 3
  2. Enter the configure terminal command to enter global configuration mode.
    switch# configure terminal
  3. Enter the rbridge-id command to enter rbridge ID configuration mode.
    switch(config)# rbridge-id 3
  4. Enter the ag command to enter Access Gateway command mode.
    switch(config-rbridge-id-3)# ag
  5. Enter the port group ID, such as pg 1, to enter configuration mode for the port group where the N_Port currently resides.
    switch(config-rbridge-id-3-ag)# pg 1
  6. To delete the N_Port from the group, use the no nport interface fibrechannel port command. In the following example, N_Port 3 is removed from port group 1. Before deleting the N_Port, all VF_Ports mapped to the N_Port should be remapped. If the port resides in port group 0 (pg 0), you do not need to remove it from the port group before adding it to a different port group and can skip to the next step.
    switch(config-rbridge-id-3-ag-pg-1)# no nport interface fibrechannel 3/0/3
    You can delete multiple N_Ports by listing the ports separated by spaces as in the following example.
    no nport interface fibrechannel 3/0/3 3/0/5
  7. Enter the configuration mode for port group ID where you want to add the port, for example pg 2.
    switch(config-rbridge-id-3-ag)# pg 2
  8. Add the N_Port to the group using the nport interface fibrechannel port command, where port is a supported N_Port number for the switch in rbridge-id/slot/port format.
    switch(config-rbridge-id-3-ag-pg-2)# nport interface fibrechannel 3/0/3
    You can add multiple N_Ports by listing the ports separated by spaces. For example:
    nport interface fibrechannel 3/0/3 3/0/5
  9. Verify that the ports were added or removed from the port groups using the show ag pg rbridge-id rbridge-id while in the privileged EXEC command mode.
    show ag pg rbridge-id 3
    Refer to Displaying port grouping information for details on this command.