Add a rule to the access profile

After you add the access profile, you can add one or more security access rules to the access profile.

If you access the switch from a computer, make sure that you add a permit rule for the type of service that you use (for example, HTTPS), your computer’s IP address, and your computer’s subnet mask.

CAUTION: You must add a permit rule for your device and access method, otherwise you are locked out from the switch after you activate the access profile. If that situation occurs, you must reset the switch to factory default settings (see Reset the switch to the factory default settings).

To add a rule to the access profile:

  1. Open a web browser and log in to the switch. For more information, see Log in to the main UI with a known IP address.
    The System Information page displays.
  2. Select Security > Access > Access Control > Access Rule Configuration.

    The Access Rule Configuration page displays.

  3. From the Rule Type menu, select Permit or Deny to permit or deny access when the selected rules are matched.

    A Permit rule allows access from a device that matches the rule criteria. A Deny rule blocks a device that matches the rule criteria.

  4. From the Service Type menu, select the access method to which the rule is applied.

    Unless you allow any access method, the policy is restricted by the selected access method. Possible access methods are TELNET, TFTP, HTTP, Secure HTTP (SSL), SNMP, and Secure Telnet (SSH).

  5. In the Source IP Address field, enter the source IP address from which the management traffic originates.
  6. In the Mask field, specify the subnet mask from which the management traffic originates.
  7. In the Priority field, assign a priority to the rule.

    The rules are validated against the incoming management request in ascending order of their priorities. If a rule matches, the action is performed and subsequent rules below that rule are ignored. For example, if a source IP address 10.10.10.10 is configured with priority 1 to permit, and the same source IP address 10.10.10.10 is also configured with priority 2 to deny, then access is permitted if the profile is active, and the second rule is ignored.

  8. Click the Add button.

    The access rule is added.

  9. To save the settings to the running configuration, click the Save icon.