Port grouping policy – Brocade Network OS Administrator’s Guide v4.1.1 User Manual
Page 226

on page 223 to display current and configured port
mapping.
2. Enter the configure terminal command to enter global configuration mode.
switch# configure terminal
3. Enter the rbridge-id id command to enter RBridge ID mode for the specific switch.
switch(config)# rbridge-id 2
4. Enter the ag command to enter Access Gateway configuration mode.
switch(config-rbridge-id-2)# ag
5. Enter the nport port command for the N_Port where you want to change or set mapping to a
VF_Port, where nport is the N_Port number in rbridge-id/slot/port format. This accesses the
configuration mode for the N_Port.
switch(config-rbridge-id-2-ag)#
nport interface FiberChannel 2/0/4
6. Perform one of the following steps:
• To map a VF_Port to the N_Port, enter map fport interface fcoe port where port is the VF_Port
in domain/rbridge-id/port format.
switch(config-rbridge-id-2-ag-nport-if-fi-
2/0/4)# map fport interface fcoe 1/2/26
• To remove a VF_Port mapped to the N_Port, enter the no map fport interface fcoeport
command, where port is the VF_Port number in domain/rbridge-id/port format.
switch(config-rbridge-id-2-ag-nport-if-fi-
2/0/4)# no map fport interface fcoe 1/2/26
7. Return to privileged EXEC mode and enter the show running-config rbridge-id rbridge id ag
command to verify configured VF_Port to N_Port mapping. Refer to
page 223 for more information.
switch# show running-config rbridge-id 2 ag
Port Grouping policy
The Port Grouping (PG) policy partitions the VF_Ports, host, target ports within an Access Gateway-
enabled switch into independently operated groups. Port Grouping allows you to isolate specific hosts
to specific fabric ports for performance, security, or other reasons.
Port Grouping policy is enabled by default when you enable Access Gateway mode and cannot be
disabled.
To create port groups, you group N_Ports under a specific port group ID. By default, any VF_Ports
mapped to the N_Ports belonging to a port group will become members of that port group. All N_Ports
in the group are shared by all VF_Ports mapped to those N_Ports. ENodes can log in as long as an
online N_Port exists in the group.
NOTE
In Network OS commands, N_Ports are designated by the format rbridge-id/port group/N_Port.
Therefore, 5/0/1 designates RBridge 5 and that N_Port 1 resides in port group 0.
When Access Gateway mode is enabled, a default port group 0 (pg 0) is created that contains all
N_Ports on the switch. The maximum number of port groups that you can configure equals the
number of N_Ports supported by the VDX platform minus 1 for pg 0. Therefore, since the VDX
6730-76 supports 16 N_Ports, it supports 15 port groups.
The following figure illustrates two port groups connecting VF_Ports to an FC fabric. Ports in PG 1 are
connecting to one storage array, while ports in PG2 are connecting to a different storage array.
Port Grouping policy
226
Network OS Administrator’s Guide
53-1003225-04