Configuring Access Control on AOS-CX

Access control allows you to permit or deny traffic based on network addresses, protocols, service ports, and other packet attributes. An Access policy defines a set of rules based on network traffic addressing and uses these rules to permit or deny the passage of traffic through the switch. The permit action allows the traffic to continue through the switch and the deny action causes the traffic to be discarded (dropped).

From the Access Control page, you can add access policies and set different rules for the access policies using UI groups.

Adding an Access Policy

You can add access policies by defining traffic rules. A policy can be applied to an individual front plane port, a Link Aggregation Group (LAGLink Aggregation Group . A LAG combines a number of physical ports together to make a single high-bandwidth data path. LAGs can connect two switches to provide a higher-bandwidth connection to a public network. ) interface, or a VLANVirtual Local Area Network. In computer networking, a single Layer 2 network may be partitioned to create multiple distinct broadcast domains, which are mutually isolated so that packets can only pass between them through one or more routers; such a domain is referred to as a Virtual Local Area Network, Virtual LAN, or VLAN..

The following are the maximum number of policies that are supported on AOS-CX switches.

  • AOS-CX 4100i, 6100 switch series—512
  • AOS-CX 6200, 6300 switch series—4000
  • AOS-CX 8320 switch series—16000
  • AOS-CX 8325, 8360 switch series—4000

AOS-CX 6400 and 8400 switch series are not supported in Aruba Central (on-premises) UI configuration.

To add an access policy, complete the following steps:

  1. In the Network Operations app, select one of the following options:
    • To select a switch group in the filter:
      1. Set the filter to a group.

        The dashboard context for the group is displayed.

      2. Under Manage, click Devices > Switches.
      3. Click the AOS-CX or Config icon to view the switch configuration dashboard.
    • To select a switch in the filter:
      1. Set the filter to Global or a group containing at least one switch.
      2. Under Manage, click Devices > Switches.

        A list of switches is displayed in the List view.

      3. Click an AOS-CX switch under Device Name.

        The dashboard context for the switch is displayed.

      4. Under Manage, click Device.

        The AOS-CX UI configuration page is displayed.

  2. Click Security > Access Control.

    The Access Control page is displayed with the name of the policy.

  3. In the Access Control table, click the + add icon to add a policy.

    The Add policy page is displayed.

    When the maximum number of policies are added for a switch, the + add icon is disabled.

  4. Configure the following parameters.

    Table 1: Access Policy Parameters

    Name

    Description

    Value

    Name

    The name of the access policy.

    A maximum of 64 characters including letters, numbers, and special characters, except question mark (?) and double quotes (").

    Direction

    The traffic direction for Ports and LAGs. The available directions are:

    • Inbound—Controls the incoming traffic on the selected ports or LAGs.
    • Outbound—Controls the outgoing traffic on the selected ports or LAGs.

    Inbound or Outbound

    Ports & LAGs

    The ports and LAGs on which the policy is applied.

    Select a value from the drop-down.

    Direction

    The traffic direction for VLANs. The available directions are:

    • Inbound—Controls the incoming traffic on the layer 2 interface VLANs.
    • Outbound—Controls the outgoing traffic on the layer 2 interface VLANs.
    • Routed Inbound—Controls the incoming traffic on the layer 3 interface VLANs.
    • Routed Outbound—Controls the outgoing traffic on the layer 3 interface VLANs.

    Inbound, Outbound, Routed Inbound, or Routed Outbound.

    VLANs

    The VLANs on which the policy is applied. The list of layer 2 and layer 3 interface VLANs are displayed based on the Direction selection.

    Select one or more VLANs from the drop-down list.

  5. Click Apply. The Access Control table is displayed with the number of ports & LAGs, and VLANs configured on inbound and outbound traffic.

Editing an Access Policy

To edit a policy, point to the row for the policy, and click the edit icon.

Deleting an Access Policy

To delete a policy, point to the row for the policy, and click the delete icon.

Adding a Rule for Policy

You can add access rules for a policy to either allow or deny the traffic passing through the switch.

The following are the maximum number of rules that are supported on AOS-CX switches.

  • AOS-CX 4100i, 6100 switch series—4096
  • AOS-CX 6200, 6300 switch series—8000
  • AOS-CX 8320 switch series—32000
  • AOS-CX 8325, 8360 switch series—4000

AOS-CX 6400 and 8400 switch series are not supported in Aruba Central (on-premises) UI configuration.

To add a access rule, complete the following steps:

  1. In the Access Control table, select the policy for which you want to add a rule by clicking on the policy.

    The Policy Rules page is displayed.

  2. In the <Policy name> Rules table, click the + add icon to add a rule.

    The Add rule for policy "<policy name">page is displayed.

    • After adding the first rule, the + add icon in the <Policy name> Rules table is disabled. To add more rules to the same policy, click the + add icon present in the row corresponding to the rule after which you want to add the next rule.
    • When the maximum number of rules are added for a switch series, the + add icon is disabled.
  3. Configure the following parameters.

    Table 2: Access Rules Parameters

    Name

    Description

    Value

    Action

    The action for the traffic passing through the switch.

    Permit or Deny

    Description

    Description for the rule.

    A maximum of 256 characters including letters, numbers, and special characters, except question mark (?) and double quotes (").

    Source type

    The type of source for which you want to apply a policy.

    Any, Network, or Host.

    If you select Network, enter the IP address and Mask .

    If you select Host, enter the IP address.

    Destination type

    The type of destination for which you want to apply a policy.

    Any, Network, or Host.

    If you select Network, enter the IP address and Mask .

    If you select Host, enter the IP address.

    Protocol

    The type of data transfer protocol. If you select SCTP, TCPTransmission Control Protocol. TCP is a communication protocol that defines the standards for establishing and maintaining network connection for applications to exchange data. , or UDPUser Datagram Protocol. UDP is a part of the TCP/IP family of protocols used for data transfer. UDP is typically used for streaming media. UDP is a stateless protocol, which means it does not acknowledge that the packets being sent have been received. the Source port and Destination port fields are displayed.

    Protocol types: Any, AH, ESP, GRE, ICMP, IGMP, IP, OSPF, PIM, SCTP, TCP, and UDP.

     

    Source Port

    The port numbers of source. You can specify a single port in the Source Port field or range of ports in the Source Port and Source Port Max fields.

    For example, if you want to specify the source port range as 1 to 7, then specify 1 in the Source Port field and 7 in the Source Port Max field.

    An integer

    Source Port Max

    The end port number in the range of source ports. This field is applicable only if you want to configure a range of source ports.

    An integer

    Destination Port

    The port numbers of destination. You can specify a single port in the Destination Port or range of ports in the Destination Port and Destination Port Max fields.

    For example, if you want to specify port range as 1 to 7, then specify 1 in the Destination Port field and 7 in the Destination Port Max field.

    An integer

    Destination Port Max

    The end port number in the range of destination ports. This field is applicable only if you want to configure a range of destination ports.

    An integer

  4. To create another rule , select Stay and create another check box and add a new rule.
  5. Click Apply. The new rules are displayed in the Policy Rules table.

    By default, the rules are sequenced in the order in which they are added. You can rearrange the sequence by dragging the rule to the position you want using the drag-and -drop icon.

  6. Click Save.

Editing a Rule

To edit a rule, point to the row for the rule, and click the edit icon.

Deleting a Rule

To delete a rule, point to the row for the rule, and click the delete icon.