# HPE Aruba

HPE Aruba specific configuration snippets

## Aruba 5400r

#### RFC-1918 subnet matching for route distribution

```
ip prefix-list "PRIVATE-IP-SUBNETS" seq 10 permit 10.0.0.0 255.0.0.0 ge 8 le 32
ip prefix-list "PRIVATE-IP-SUBNETS" seq 20 permit 172.16.0.0 255.240.0.0 ge 12 le 32
ip prefix-list "PRIVATE-IP-SUBNETS" seq 30 permit 192.168.0.0 255.255.0.0 ge 16 le 32

route-map "PRIVATE-IP-SUBNETS" permit seq 10
   match ip address prefix-list "PRIVATE-IP-SUBNETS"
   exit
```

#### Limit which Static subnets are allowed to redistribute

```
no ip prefix-list "OSPF-REDIST-STATIC-ALLOWED" seq 10
ip prefix-list "OSPF-REDIST-STATIC-ALLOWED" seq 10 permit 10.254.75.11 255.255.255.255

route-map "OSPF-REDIST-STATIC-ALLOWED" permit seq 10
   match ip address prefix-list "OSPF-REDIST-STATIC-ALLOWED"
   set metric-type external type-1
   exit

router ospf
   area backbone
   redistribute connected
   redistribute static route-map "OSPF-REDIST-STATIC-ALLOWED"
   enable
   exit
```

### Relevant logs messages

Log messages to generate alerts on:

```
chassis: AM1: Insufficient power supplies to power

chassis: SM2: Internal power supply 2 removed.
chassis: AM1: Internal power supply 2 inserted.
chassis: SM2: Internal power supply 2 inserted.
chassis: AM1: Internal power supply 2 is OK.

chassis: AM1: Internal power supply 2 is faulted
chassis: AM1: Internal power supply 2 is faulted.

chassis: AM1: Internal power supply 2 main PoE power OK.
chassis: AM1: Internal power supply 2 main PoE power faulted.

chassis: AM1: Internal power supply 2 removed.

chassis: AM1: Internal power supply 2: Main inlet OK.
chassis: AM1: Internal power supply 2: Main inlet faulted.
```

-end