HP Brocade 8/12c Brocade Fabric OS Command Reference Manual Supporting Fabric - Page 56
N_Port1, pgname, pgid newname, from their mapping to a corresponding N_Port. The port list must
View all HP Brocade 8/12c manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 56 highlights
2 ag --pgshow [pgid] Displays the Port Group configuration. The port grouping feature supports specifying a set of N_Ports to be included in the Port Group (PG) Policy. The factory default PG is "pg0", which includes all N_Ports. The default PG cannot be removed or renamed. --pgcreate- pgid "N_Port1 [; N_Port2;...]" [-n pgname] [-m "lb; mfnm"] Creates a port group with the ID pgid and a specified list of N_Ports to be included in the policy. The list must be enclosed in quotation marks. Ports must be separated by semicolons. The Port Group ID must not exceed 64 characters. Optionally specify a name for the port group and a mode. Modes are by default disabled. For an explanation of mode values, refer to --pgsetmodes. --pgadd pgid "N_Port1 [; N_Port2;...]" Adds one or more N_Ports to the specified port group. The port list must be enclosed in quotation marks. Ports must be separated by semicolons. --pgdel pgid "N_Port1 [; N_Port2;...]" Deletes one or more N_Ports from the specified port group. Deleted ports are added to the default port group "pg0". The port list must be enclosed in quotation marks. Ports must be separated by semicolons. --pgrename pgid newname Replaces the name of an existing port group with the specified new name. The port group ID must not exceed 64 characters. --pgremove pgid Deletes the specified port group. The N_Ports in the port group that was deleted are moved to the default port group, which is pgid 0. --pgmapadd pgid "F_Port1[;F_Port2;...]" Maps the specified F_Ports to the PG identified by the pgid. Upon execution, the system identifies the least loaded N_Port in the port group and maps the F_Ports to that N_Port. The port list must be enclosed in double quotation marks. Ports must be separated by semicolons. Login balancing (LB) mode must be enabled on the port group for this command to succeed. Use ag --pgsetmodes to enable LB mode. --pgmapdel pgid "F_Port1[;F_Port2;...]" Removes one or more F_Ports that are part of the port group identified by the pgid from their mapping to a corresponding N_Port. The port list must be enclosed in double quotation marks. Ports must be separated by semicolons. Login balancing (LB) mode must be enabled on the port group for this command to succeed. Use ag --pgsetmodes to enable LB mode. --pgsetmodes pgid "lb;mfnm" Sets the APC modes for the specified port group. The mode list must be enclosed in double quotation marks and the modes must be separated by a semicolon. Alternately you can set the modes at the time when you create the port group with the pgcreate command. The following modes are supported: lb Specifies the login balancing mode for the specified port group. If login balancing mode is enabled and an F_Port goes offline, logins in the port group are redistributed among the remaining F_Ports. Similarly, if an N_Port comes online, port logins in the PG are redistributed to maintain a balanced N_Port to F_Port ratio. This operation is disruptive. Login balancing mode is by default disabled in all port groups. 24 Fabric OS Command Reference 53-1001764-01