Configuring VLANs on AOS-S Switches

AOS-S switches support the following types of VLANs Virtual 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.:

  • Port-based VLANs—In the case of trusted interfaces, all untagged traffic is assigned a VLAN based on the incoming port.
  • Tag-based VLANs—In the case of trusted interfaces, all tagged traffic is assigned a VLAN based on the incoming tag.

Adding VLAN Details

By default, all ports in the Switches are assigned to VLAN 1. However, if the ports are assigned to different VLANs, the VLANs page displays their details.

To add a VLAN, complete the following steps:

  1. In the Aruba Central app, select one of the following options:
    • To select a switch group in the filter:
      1. Set the filter to a group containing at least one switch.

        The dashboard context for the group is displayed.

      2. Under Manage, click Devices > Switches.
      3. Click the AOS-S 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 a switch under Device Name.

        The dashboard context for the switch is displayed.

      4. Under Manage, click Device.

        The tabs to configure the switch is displayed.

  2. Click Interface > VLANs. The VLANs page is displayed.
  3. In the VLANs Settings accordion, click + to add a VLAN and configure the following parameters.

    Table 1: Configuring and Viewing VLAN Parameters

    Name

    Description

    Value

    Name

    The name of the VLAN.

    A string

    IP Assignment

    The method of IP assignment.

    The static option is displayed only at the device level.

    The options to assign Primary VLAN and Management VLAN are displayed only when you select Static or DHCP Dynamic Host Configuration Protocol. A network protocol that enables a server to automatically assign an IP address to an IP-enabled device from a defined range of numbers configured for a given network. .

    Static, DHCP, or Disabled

    Default: DHCP

    IP Address

    The IP address for static IP assignment.

    This field is enabled only when you select Static from the IP Assignment drop-down.

    IPv4 address

    Netmask

    The netmask for static IP assignment.

    This field is enabled only when you select Static from the IP Assignment drop-down.

    IPv4 address

    DHCP Server

    Indicates whether the switch is configured as the DHCP server on the VLAN.

    This field is enabled only when you select Static from the IP Assignment drop-down.

    You can enable DHCP Server option only when there are no DHCP Helper IP addresses configured.

    Toggle switch to the on or off position

    DHCP Helper IP

    IP address of the DHCP helper server for that VLAN.

    You can configure a maximum of 16 DHCP helper IP addresses for each VLAN.

    You can configure DHCP Helper IP addresses only when DHCP Server option is disabled.

    IPv4 address

    Voice

    Indicates whether support for voice VLANs are enabled for the VLAN interface.

    Toggle switch to the on or off position

    Primary VLAN

    Indicates whether the VLAN is assigned as the primary VLAN for the switches. To assign primary VLAN, at least one tagged or untagged port should be configured. This is a mandatory field.

    Toggle switch to the on or off position

    Management VLAN

    Indicates whether the VLAN is assigned as the management VLAN for the switches.

    Toggle switch to the on or off position

    Default Gateway

    Default gateway for static IP assignment. This field is enabled only when you select Static from the IP Assignment drop-down.

    IPv4 address

    Jumbo

    Indicates whether jumbo packet handling is enabled for the VLAN interface.

    Toggle switch to the on or off position

    Access Policy (IN)

    The security policy that you want to apply for the inbound traffic.

    See Configuring Access Policies on AOS-S Switches.

    Access Policy (OUT)

    The security policy that you want to apply for the outbound traffic.

    VLAN Access Policy (IN)

    The security policy that you want to apply for the bridged and routed inbound packets on the VLAN.

    VLAN Access Policy (OUT)

    The security policy that you want to apply for the bridged and routed outbound packets on the VLAN.

  4. To configure the VLAN ports, complete the following steps:
    1. In the Ports table, select the port number(s).
    2. Select any of the following port modes:
      • Tagged Ports
      • Untagged Ports
      • None
  5. To assign the VLAN to a trunk group, select the trunk group in the Trunk Groups table.
  6. Click OK.
  7. Click Save Settings.

When you upgrade to Aruba Central version 2.5.2, the static IP address configured at group level for VLANs is migrated to device level and preserved as overrides. The static IP assignment is available only at the device level.

Editing the VLAN Details

To edit the details of a VLAN, point to the row for the VLAN, and click the edit icon in the Actions column, and configure the parameters.

Deleting VLAN Details

To delete the VLAN details, complete the following steps:

  1. Ensure that the VLANs are not tagged to any ports.
  2. Point to the row for the VLAN, and click the edit icon in the Actions column.

VLAN 1 is the primary VLAN and cannot be deleted.

Configuring DHCP Relay Settings

You can configure a switch as a DHCP relay agent for transmitting DHCP messages between the DHCP server and client. You can also configure the option-82 feature for the switch to include DHCP relay information in the forwarded DHCP request messages.

To configure a switch as a DHCP relay agent, complete the following steps:

  1. In the Aruba Central app, select one of the following options:
    • To select a switch group in the filter:
      1. Set the filter to a group containing at least one switch.

        The dashboard context for the group is displayed.

      2. Under Manage, click Devices > Switches.
      3. Click the 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 a switch under Device Name.

        The dashboard context for the switch is displayed.

      4. Under Manage, click Device.

        The tabs to configure the switch is displayed.

  2. Click Interface > VLANs. The VLANs page is displayed.
  3. Expand the DHCP Relay Settings accordion.
  4. To enable DHCP relay, move the DHCP Relay toggle switch to the on position.

    DHCP Relay option is enabled by default.

  5. To enable option-82 feature, move the DHCP Relay Option 82 toggle switch to the on position.
  6. Click Save Settings.