beautypg.com

Naming a port group, Adding and removing n_ports in a port group – Brocade Network OS Administrator’s Guide v4.1.1 User Manual

Page 229

background image

1. Enter the configure terminal command to enter global configuration mode.

switch# configure terminal

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. The port group ID (pgid) must not exceed 64

characters.

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.

switch(config-rbridge-id-3-ag-pg-1)#

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

on page 227

for details.

Naming a port group

You can name or rename a port group and use this name in place of the port group ID.

Access Gateway and the PG policy must be enabled for this command to succeed.

Use the rename pgid command while in the configuration mode for a port group to change the port
group name. The name cannot exceed 64 characters.

1. Enter the configure terminal command to enter global configuration mode.

switch# configure terminal

2. Enter the rbridge-id rbridge-id command to enter RBridge ID configuration 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. Enter the port group ID, such as pg 1, to enter configuration mode for the port group.

switch(config-rbridge-id-3-ag)# pg 1

5. Change the name of the port group using the rename pgid command. In the following example, port

group is named pg-array24.

switch(config-rbridge-id-3-ag-pg-1)# rename pg-array24

The port group name must not exceed 64 characters.

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 this 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.

Naming a port group

Network OS Administrator’s Guide

229

53-1003225-04