Brocade Access Gateway Administrator's Guide Supporting Fabric OS v7.0.0 (53-1002156-01, April 2011)

34 Access Gateway Administrator’s Guide
53-1002156-01
Automatic Port Configuration policy
3
Automatic Port Configuration policy
The Automatic Port Configuration (APC) provides the ability to automatically discover port types
(host, target, or fabric) and dynamically update the port maps when a change in port-type
connection is detected. This policy is intended for a fully hands-off operation of Access Gateway.
APC dynamically maps F_Ports across available N_Ports so they are evenly distributed.
How the APC policy works
When the APC policy is enabled and a port on AG is connected to a Fabric switch, AG configures the
port as an N_Port. If a host is connected to a port on AG, then AG configures the port as an F_Port
and automatically maps it to an existing N_Port with the least number of F_Ports mapped to it.
When the APC policy is enabled, it applies to all ports on the switch.
Enabling and disabling the APC policy
Use the following steps to enable and disable Automatic Port Configuration policy. This policy is
disabled by default in Access Gateway.
Enabling the APC policy
1. Connect to the switch and log in using an account assigned to the admin role.
2. Enter the switchDisable command to ensure that the switch is disabled.
3. Enter the configUpload command to save the switch’s current configuration.
4. Enter the ag --policydisable pg command to disable the Port Grouping (PG) policy.
5. Enter the ag --policyenable auto command to enable the APC policy.
switch:admin> ag --policyenable auto
All Port related Access Gateway configurations will be lost.
Please save the current configuration using configupload.
Do you want to continue? (yes, y, no, n): [no] y
6. At the command prompt, type Y to enable the policy.
The switch is ready; a reboot is not required.
Disabling the APC policy
1. Connect to the switch and log in using an account assigned to the admin role.
2. Enter the switchDisable command to ensure that the switch is disabled.
3. Enter the configUpload command to save the switch’s current configuration.
4. Enter the ag --policyDisable auto command to disable the APC policy.
5. At the command prompt, type Y to disable the policy.
switch:admin> ag --policydisable auto
Default factory settings will be restored.
Default mappings will come into effect.
Please save the current configuration using configupload.
Do you want to continue? (yes, y, no, n): [no] y