Aruba Branch Access Switch Template
Table of contents
For modification of this template, network-specific parameters are marked as CHANGE_ME.
hostname %_sys_hostname%
banner motd !
**********************************************************
NOTICE TO USERS
This is a private computer system and is the property of
Aruba Networks. It is for authorized use only.
users (authorized or unauthorized) have no explicit or
implicit expectation of privacy while connected to this
system.
Any or all uses of this system and all files on this system
may be intercepted, monitored, recorded, copied, audited,
inspected, and disclosed to an authorized site, Aruba networks,
and law enforcement personnel
(foreign and domestic).
By using this system, the user consents to such interception,
monitoring, recording, copying, auditing, inspection, and
disclosure at the discretion of an authorized site or Aruba Networks
personnel.
Unauthorized or improper use of this system may result in
administrative disciplinary action and civil and criminal
penalties. By continuing to use of this system you indicate
your awareness of and consent to these terms and conditions
of use. LOG OFF IMMEDIATELY if you do not agree to the
conditions stated in this warning.
***********************************************************!
user admin group administrators password plaintext CHANGE_ME
loop-protect transmit-interval 3
loop-protect re-enable-timer 15
radius-server host CHANGE_ME key plaintext CHANGE_ME
radius-server host CHANGE_ME key plaintext CHANGE_ME
radius dyn-authorization enable
radius-server host CHANGE_ME tracking enable key plaintext CHANGE_ME
radius-server host CHANGE_ME tracking enable key plaintext CHANGE_ME
client track ip update-method probe
aaa authentication port-access dot1x authenticator
enable
aaa authentication port-access mac-auth
addr-format multi-dash-uppercase
auth-method pap
enable
ntp server CHANGE_ME iburst version 3
ntp server CHANGE_ME iburst version 3
ntp enable
!
!
!
!
ssh server vrf default
ssh server vrf mgmt
dhcpv4-snooping
vlan 1
vlan CHANGE_ME
name CHANGE_ME
dhcpv4-snooping
arp inspection
ip igmp snooping enable
vlan CHANGE_ME
name CHANGE_ME
dhcpv4-snooping
arp inspection
ip igmp snooping enable
vlan CHANGE_ME
name CHANGE_ME
dhcpv4-snooping
arp inspection
ip igmp snooping enable
vlan CHANGE_ME
name CHANGE_ME
dhcpv4-snooping
arp inspection
ip igmp snooping enable
vlan CHANGE_ME
name CHANGE_ME
dhcpv4-snooping
arp inspection
ip igmp snooping enable
vlan CHANGE_ME
name CHANGE_ME
dhcpv4-snooping
arp inspection
ip igmp snooping enable
spanning-tree mode rpvst
spanning-tree
spanning-tree priority 15
spanning-tree vlan CHANGE_ME priority 15
# CHANGE_ME Change the Vlans for your sites VLAN's
spanning-tree vlan CHANGE_ME
port-access role REJECT
reauth-period 120
vlan access CHANGE_ME
port-access lldp-group AP-LLDP-GROUP
seq 10 match vendor-oui 000b86
seq 20 match vendor-oui D8C7C8
seq 30 match vendor-oui 6CF37F
seq 40 match vendor-oui 186472
seq 50 match sys-desc ArubaOS
#CHANGE_ME Change the VLAN's here for the Vlans needed for your deployment
port-access role ARUBA-AP
auth-mode device-mode
vlan trunk native CHANGE_ME
vlan trunk allowed CHANGE_ME
port-access role EMPLOYEE
reauth-period 120
vlan access 101
port-access role CAMERA
reauth-period 120
vlan access CHANGE_ME
port-access role IOT
reauth-period 120
vlan access CHANGE_ME
port-access role VISTOR
reauth-period 120
vlan access CHANGE_ME
port-access role REJECT
reauth-period 120
vlan access CHANGE_ME
port-access role CRITICAL
reauth-period 120
vlan access CHANGE_ME
port-access role QUARANTINE
reauth-period 120
vlan access CHANGE_ME
port-access device-profile ARUBA_AP
enable
associate role ARUBA-AP
associate lldp-group AP-LLDP-GROUP
aaa authentication port-access dot1x authenticator
enable
fault-monitor profile PORT_ERRORS
excessive-broadcasts
excessive-link-flaps
excessive-jabbers
excessive-fragments
excessive-crc-errors
excessive-tx-drops
aaa authentication port-access dot1x authenticator
enable
aaa authentication port-access mac-auth
addr-format multi-dash-uppercase
enable
interface vlan 1
no ip dhcp
interface vlan CHANGE_ME
description MGMT
ip dhcp
interface 1/1/1
no shutdown
description ACCESS_PORT
no routing
vlan access 1
spanning-tree bpdu-guard
spanning-tree root-guard
spanning-tree tcn-guard
spanning-tree port-type admin-edge
aaa authentication port-access auth-precedence mac-auth dot1x
aaa authentication port-access client-limit 5
aaa authentication port-access critical-role CRITICAL
aaa authentication port-access reject-role REJECT
aaa authentication port-access dot1x authenticator
eapol-timeout 30
max-eapol-requests 1
max-retries 1
enable
aaa authentication port-access mac-auth
enable
loop-protect
interface 1/1/2
no shutdown
description ACCESS_PORT
no routing
vlan access 1
spanning-tree bpdu-guard
spanning-tree root-guard
spanning-tree tcn-guard
spanning-tree port-type admin-edge
aaa authentication port-access auth-precedence mac-auth dot1x
aaa authentication port-access client-limit 5
aaa authentication port-access critical-role CRITICAL
aaa authentication port-access reject-role REJECT
aaa authentication port-access dot1x authenticator
eapol-timeout 30
max-eapol-requests 1
max-retries 1
enable
aaa authentication port-access mac-auth
enable
loop-protect
interface 1/1/3
no shutdown
description ACCESS_PORT
no routing
vlan access 1
spanning-tree bpdu-guard
spanning-tree root-guard
spanning-tree tcn-guard
spanning-tree port-type admin-edge
aaa authentication port-access auth-precedence mac-auth dot1x
aaa authentication port-access client-limit 5
aaa authentication port-access critical-role CRITICAL
aaa authentication port-access reject-role REJECT
aaa authentication port-access dot1x authenticator
eapol-timeout 30
max-eapol-requests 1
max-retries 1
enable
aaa authentication port-access mac-auth
enable
loop-protect
interface 1/1/4
no shutdown
description ACCESS_PORT
no routing
vlan access 1
spanning-tree bpdu-guard
spanning-tree root-guard
spanning-tree tcn-guard
spanning-tree port-type admin-edge
aaa authentication port-access auth-precedence mac-auth dot1x
aaa authentication port-access client-limit 5
aaa authentication port-access critical-role CRITICAL
aaa authentication port-access reject-role REJECT
aaa authentication port-access dot1x authenticator
eapol-timeout 30
max-eapol-requests 1
max-retries 1
enable
aaa authentication port-access mac-auth
enable
loop-protect
interface 1/1/5
no shutdown
description ACCESS_PORT
no routing
vlan access 1
spanning-tree bpdu-guard
spanning-tree root-guard
spanning-tree tcn-guard
spanning-tree port-type admin-edge
aaa authentication port-access auth-precedence mac-auth dot1x
aaa authentication port-access client-limit 5
aaa authentication port-access critical-role CRITICAL
aaa authentication port-access reject-role REJECT
aaa authentication port-access dot1x authenticator
eapol-timeout 30
max-eapol-requests 1
max-retries 1
enable
aaa authentication port-access mac-auth
enable
loop-protect
interface 1/1/6
no shutdown
description ACCESS_PORT
no routing
vlan access 1
spanning-tree bpdu-guard
spanning-tree root-guard
spanning-tree tcn-guard
spanning-tree port-type admin-edge
aaa authentication port-access auth-precedence mac-auth dot1x
aaa authentication port-access client-limit 5
aaa authentication port-access critical-role CRITICAL
aaa authentication port-access reject-role REJECT
aaa authentication port-access dot1x authenticator
eapol-timeout 30
max-eapol-requests 1
max-retries 1
enable
aaa authentication port-access mac-auth
enable
loop-protect
interface 1/1/7
no shutdown
description ACCESS_PORT
no routing
vlan access 1
spanning-tree bpdu-guard
spanning-tree root-guard
spanning-tree tcn-guard
spanning-tree port-type admin-edge
aaa authentication port-access auth-precedence mac-auth dot1x
aaa authentication port-access client-limit 5
aaa authentication port-access critical-role CRITICAL
aaa authentication port-access reject-role REJECT
aaa authentication port-access dot1x authenticator
eapol-timeout 30
max-eapol-requests 1
max-retries 1
enable
aaa authentication port-access mac-auth
enable
loop-protect
interface 1/1/8
no shutdown
description ACCESS_PORT
no routing
vlan access 1
spanning-tree bpdu-guard
spanning-tree root-guard
spanning-tree tcn-guard
spanning-tree port-type admin-edge
aaa authentication port-access auth-precedence mac-auth dot1x
aaa authentication port-access client-limit 5
aaa authentication port-access critical-role CRITICAL
aaa authentication port-access reject-role REJECT
aaa authentication port-access dot1x authenticator
eapol-timeout 30
max-eapol-requests 1
max-retries 1
enable
aaa authentication port-access mac-auth
enable
loop-protect
interface 1/1/9
no shutdown
description ACCESS_PORT
no routing
vlan access 1
spanning-tree bpdu-guard
spanning-tree root-guard
spanning-tree tcn-guard
spanning-tree port-type admin-edge
aaa authentication port-access auth-precedence mac-auth dot1x
aaa authentication port-access client-limit 5
aaa authentication port-access critical-role CRITICAL
aaa authentication port-access reject-role REJECT
aaa authentication port-access dot1x authenticator
eapol-timeout 30
max-eapol-requests 1
max-retries 1
enable
aaa authentication port-access mac-auth
enable
loop-protect
interface 1/1/10
no shutdown
description ACCESS_PORT
no routing
vlan access 1
spanning-tree bpdu-guard
spanning-tree root-guard
spanning-tree tcn-guard
spanning-tree port-type admin-edge
aaa authentication port-access auth-precedence mac-auth dot1x
aaa authentication port-access client-limit 5
aaa authentication port-access critical-role CRITICAL
aaa authentication port-access reject-role REJECT
aaa authentication port-access dot1x authenticator
eapol-timeout 30
max-eapol-requests 1
max-retries 1
enable
aaa authentication port-access mac-auth
enable
loop-protect
interface 1/1/11
no shutdown
description ACCESS_PORT
no routing
vlan access 1
spanning-tree bpdu-guard
spanning-tree root-guard
spanning-tree tcn-guard
spanning-tree port-type admin-edge
aaa authentication port-access auth-precedence mac-auth dot1x
aaa authentication port-access client-limit 5
aaa authentication port-access critical-role CRITICAL
aaa authentication port-access reject-role REJECT
aaa authentication port-access dot1x authenticator
eapol-timeout 30
max-eapol-requests 1
max-retries 1
enable
aaa authentication port-access mac-auth
enable
loop-protect
interface 1/1/12
no shutdown
description ACCESS_PORT
no routing
vlan access 1
spanning-tree bpdu-guard
spanning-tree root-guard
spanning-tree tcn-guard
spanning-tree port-type admin-edge
aaa authentication port-access auth-precedence mac-auth dot1x
aaa authentication port-access client-limit 5
aaa authentication port-access critical-role CRITICAL
aaa authentication port-access reject-role REJECT
aaa authentication port-access dot1x authenticator
eapol-timeout 30
max-eapol-requests 1
max-retries 1
enable
aaa authentication port-access mac-auth
enable
loop-protect
interface 1/1/13
no shutdown
description ACCESS_PORT
no routing
vlan access 1
spanning-tree bpdu-guard
spanning-tree root-guard
spanning-tree tcn-guard
spanning-tree port-type admin-edge
aaa authentication port-access auth-precedence mac-auth dot1x
aaa authentication port-access client-limit 5
aaa authentication port-access critical-role CRITICAL
aaa authentication port-access reject-role REJECT
aaa authentication port-access dot1x authenticator
eapol-timeout 30
max-eapol-requests 1
max-retries 1
enable
aaa authentication port-access mac-auth
enable
loop-protect
interface 1/1/14
no shutdown
description ACCESS_PORT
no routing
vlan access 1
spanning-tree bpdu-guard
spanning-tree root-guard
spanning-tree tcn-guard
spanning-tree port-type admin-edge
aaa authentication port-access auth-precedence mac-auth dot1x
aaa authentication port-access client-limit 5
aaa authentication port-access critical-role CRITICAL
aaa authentication port-access reject-role REJECT
aaa authentication port-access dot1x authenticator
eapol-timeout 30
max-eapol-requests 1
max-retries 1
enable
aaa authentication port-access mac-auth
enable
loop-protect
interface 1/1/15
no shutdown
description ACCESS_PORT
no routing
vlan access 1
spanning-tree bpdu-guard
spanning-tree root-guard
spanning-tree tcn-guard
spanning-tree port-type admin-edge
aaa authentication port-access auth-precedence mac-auth dot1x
aaa authentication port-access client-limit 5
aaa authentication port-access critical-role CRITICAL
aaa authentication port-access reject-role REJECT
aaa authentication port-access dot1x authenticator
eapol-timeout 30
max-eapol-requests 1
max-retries 1
enable
aaa authentication port-access mac-auth
enable
loop-protect
interface 1/1/16
no shutdown
description ACCESS_PORT
no routing
vlan access 1
spanning-tree bpdu-guard
spanning-tree root-guard
spanning-tree tcn-guard
spanning-tree port-type admin-edge
aaa authentication port-access auth-precedence mac-auth dot1x
aaa authentication port-access client-limit 5
aaa authentication port-access critical-role CRITICAL
aaa authentication port-access reject-role REJECT
aaa authentication port-access dot1x authenticator
eapol-timeout 30
max-eapol-requests 1
max-retries 1
enable
aaa authentication port-access mac-auth
enable
loop-protect
interface 1/1/17
no shutdown
description ACCESS_PORT
no routing
vlan access 1
spanning-tree bpdu-guard
spanning-tree root-guard
spanning-tree tcn-guard
spanning-tree port-type admin-edge
aaa authentication port-access auth-precedence mac-auth dot1x
aaa authentication port-access client-limit 5
aaa authentication port-access critical-role CRITICAL
aaa authentication port-access reject-role REJECT
aaa authentication port-access dot1x authenticator
eapol-timeout 30
max-eapol-requests 1
max-retries 1
enable
aaa authentication port-access mac-auth
enable
loop-protect
interface 1/1/18
no shutdown
description ACCESS_PORT
no routing
vlan access 1
spanning-tree bpdu-guard
spanning-tree root-guard
spanning-tree tcn-guard
spanning-tree port-type admin-edge
aaa authentication port-access auth-precedence mac-auth dot1x
aaa authentication port-access client-limit 5
aaa authentication port-access critical-role CRITICAL
aaa authentication port-access reject-role REJECT
aaa authentication port-access dot1x authenticator
eapol-timeout 30
max-eapol-requests 1
max-retries 1
enable
aaa authentication port-access mac-auth
enable
loop-protect
interface 1/1/19
no shutdown
description ACCESS_PORT
no routing
vlan access 1
spanning-tree bpdu-guard
spanning-tree root-guard
spanning-tree tcn-guard
spanning-tree port-type admin-edge
aaa authentication port-access auth-precedence mac-auth dot1x
aaa authentication port-access client-limit 5
aaa authentication port-access critical-role CRITICAL
aaa authentication port-access reject-role REJECT
aaa authentication port-access dot1x authenticator
eapol-timeout 30
max-eapol-requests 1
max-retries 1
enable
aaa authentication port-access mac-auth
enable
loop-protect
interface 1/1/20
no shutdown
description ACCESS_PORT
no routing
vlan access 1
spanning-tree bpdu-guard
spanning-tree root-guard
spanning-tree tcn-guard
spanning-tree port-type admin-edge
aaa authentication port-access auth-precedence mac-auth dot1x
aaa authentication port-access client-limit 5
aaa authentication port-access critical-role CRITICAL
aaa authentication port-access reject-role REJECT
aaa authentication port-access dot1x authenticator
eapol-timeout 30
max-eapol-requests 1
max-retries 1
enable
aaa authentication port-access mac-auth
enable
loop-protect
interface 1/1/21
no shutdown
description ACCESS_PORT
no routing
vlan access 1
spanning-tree bpdu-guard
spanning-tree root-guard
spanning-tree tcn-guard
spanning-tree port-type admin-edge
aaa authentication port-access auth-precedence mac-auth dot1x
aaa authentication port-access client-limit 5
aaa authentication port-access critical-role CRITICAL
aaa authentication port-access reject-role REJECT
aaa authentication port-access dot1x authenticator
eapol-timeout 30
max-eapol-requests 1
max-retries 1
enable
aaa authentication port-access mac-auth
enable
loop-protect
interface 1/1/22
no shutdown
description ACCESS_PORT
no routing
vlan access 1
spanning-tree bpdu-guard
spanning-tree root-guard
spanning-tree tcn-guard
spanning-tree port-type admin-edge
aaa authentication port-access auth-precedence mac-auth dot1x
aaa authentication port-access client-limit 5
aaa authentication port-access critical-role CRITICAL
aaa authentication port-access reject-role REJECT
aaa authentication port-access dot1x authenticator
eapol-timeout 30
max-eapol-requests 1
max-retries 1
enable
aaa authentication port-access mac-auth
enable
loop-protect
interface %UPLINK_1%
description CHANGE_ME
no shutdown
no routing
vlan trunk native CHANGE_ME
vlan trunk allowed CHANGE_ME
arp inspection trust
dhcpv4-snooping trust
interface %UPLINK_2%
description CHANGE_ME
no shutdown
no routing
vlan trunk native CHANGE_ME
vlan trunk allowed CHANGE_ME
arp inspection trust
dhcpv4-snooping trust
ip route 0.0.0.0/0 %Defualt_Route%