Network OS Administration Guide

Supporting Network OS 6.0.1a

Part Number: 53-1003768-04

Creating and removing port groups

You must create a port group with a unique ID before adding N_Ports to the group or enabling Port Grouping (PG) policy modes. Removing a port group removes all N_Ports, mapped VF_Ports, and associated PG modes.

Access Gateway must be enabled for the pg command to succeed.

When you enable Access Gateway mode, all ports belong to port group 0 (pg0). You can move ports to a separate port group by first creating a port group with a unique ID, and then adding N_Ports to that group. All VF_Ports mapped to added N_Ports also become members of the new group. Removing a port group removes all N_Ports, mapped VF_Ports, and associated PG modes.

Use the pg pgid command to configure a port group with a unique ID (pgid). The pgid is a number that cannot exceed the number of N_Ports allocated for the switch model, minus 1 for default pg 0. Therefore, for a VDX with 16 N_Ports, a valid pgid would be from 1 through 15. Once configured, you can access the port group for configuration tasks, such as adding and removing N_Ports, enabling port group modes, and renaming the group. Use the no pg pgid command to remove a port group. You enter these commands while in Access Gateway (ag) configuration mode.

Port Grouping policy is enabled by default when you enable Access Gateway mode.
  1. Enter the configure command to enter global configuration mode.
    switch# configure
  2. Enter the rbridge-id id command to enter RBridge ID mode for the specific switch.
    switch(config)# rbridge-id 3
  3. Enter the ag command to enter Access Gateway configuration mode.
    switch(config-rbridge-id-3)# ag
  4. Perform one of the following steps:
    • To create a port group, enter the pg pgid command.
      switch(config-rbridge-id-3-ag)# pg 1
    • To remove a port group, enter the no pg pgid command.
      switch(config-rbridge-id-3-ag)# no pg 1
    Creating a port group with the pg pgid command enters the PG configuration mode for the port group ID (pgid) so that you can add N_Ports and perform other PG policy configuration.
  5. Verify that the port group was created using the show ag pg pgid rbridge-id rbridge-id command from privileged EXEC configuration mode. Refer to Displaying port grouping information for details.