---
title: "HP Aruba"
description: "HP Aruba Configuration"
category: "Port-Based NAC"
subcategory: "Port-Based NAC"
last_updated: "2023-02-21"
source_url: "https://docs.xeox.com/port-based-nac/kfxwencCzErupyXTXVc93F/hp-aruba/1HkrkzX6erYvhnrxuPKC78"
---

# HP Aruba

## Configuration

You can configure a RADIUS with following command:

```
SWITCH(config)# radius-server host 192.168.76.140 key PRESHAREDKEY
SWITCH(config)# aaa authentication port-access eap-radius
SWITCH(config)# aaa port-access authenticator active
SWITCH(config)# aaa port-access authenticator active
```

## Configuring the Ports

On Aruba you are not configuring dot1x in the ports. Instead, you define a list of ports, which should use dot1x. E.g. all ports from 3 to 8:

```
SWITCH(config)#aaa port-access mac-based 3-8
```

## Guest VLAN

```
SWITCH(config)#aaa port-access mac-based 3-8 unauth-vid 50
```
