beautypg.com

Sample web-authentication configuration – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual

Page 1219

background image

AAA Introduction and Configuration

Software Reference for x310 Series Switches

C613-50046-01 REV A

AlliedWare Plus

TM

Operating System - Version 5.4.4C

44.9

Sample Web-Authentication Configuration

See the below sample configuration script for a sample Web-authentication configuration.
Copy, paste, and edit the sample Web-authentication configuration for your config file.
See the

edit

command in the

Chapter 7, File Management Commands

for further

information.

Output

The Web-authentication feature needs the

aaa authentication auth-web

and the

auth-

web enable

commands configured on an interface. See

Chapter 45, AAA Commands

and

Chapter 43, Authentication Commands

for command information to edit this

configuration.

The local RADIUS Server has been configured to use Web-authentication in this sample
configuration. See the

radius-server local

and

server enable

commands in

Chapter 51,

Local RADIUS Server Commands

for command information to edit this sample

configuration.

The above sample Web-authentication configuration requires the user name ‘guest’
with password ‘guest!’ on IP address 192.168.1.120 from interface port1.0.1.

Figure 44-3: Sample Web-Authentication Configuration

!
radius-server host 127.0.0.1 key awplus-local-radius-server
!
aaa authentication auth-web default group radius
!
radius-server local
server enable
nas 127.0.0.1 key awplus-local-radius-server
user guest encrypted password
l+lWcLjLm29bCAXwWRPHXK0PFlsA7gNpR+P7wO4kwQQ=
!
no spanning-tree rstp enable
!
interface port1.0.1
switchport
switchport mode access
auth-web enable
!
interface vlan1
ip address 192.168.1.120/24
!