...
Блок кода |
---|
|
wlc-30(config)# radius-server local |
...
Блок кода |
---|
|
wlc-30(config-radius)# nas ap
wlc-30(config-radius-nas)# key ascii-text password
wlc-30(config-radius-nas)# network 192.168.1.0/24
wlc-30(config-radius-nas)# exit |
...
Блок кода |
---|
|
wlc-30(config-radius)# nas local
wlc-30(config-radius-nas)# key ascii-text password
wlc-30(config-radius-nas)# network 127.0.0.1/32
wlc-30(config-radius-nas)# exit |
...
Блок кода |
---|
|
wlc-30(config-radius)# domain default |
...
Блок кода |
---|
|
wlc-30(config-radius-domain)# user name1
wlc-30(config-radius-user)# password ascii-text password1
wlc-30(config-radius-user)# exit
wlc-30(config-radius-domain)# exit |
...
Блок кода |
---|
|
wlc-30wl(config-radius)# virtual-server default
wlc-30(config-radius-vserver)# enable
wlc-30(config-radius-vserver)# exit
wlc-30(config-radius)# enable
wlc-30(config)# exit |
Определим параметры для взаимодействия с RADIUS-сервером: IP-адрес и ключ.
Так как RADIUS-сервер находится локально на контроллере, в качестве адреса хоста задаем 127.0.0.1. Ключ должен совпадать с ключом, указанным для nas local, который мы задали в radius-server local.
Блок кода |
---|
|
wlc-30(config)# radius-server host 127.0.0.1
wlc-30(config-radius-server)# key ascii-text password
wlc-30(config-radius-server)# exit |
...
Блок кода |
---|
|
wlc-30(config)# aaa radius-profile default_radius
wlc-30(config-aaa-radius-profile)# radius-server host 127.0.0.1
wlc-30(config-aaa-radius-profile)# exit |
...
Блок кода |
---|
|
wlc-30(config)# softgre-controller |
...
Блок кода |
---|
|
wlc-30(config-softgre)# nas-ip-address 127.0.0.1 |
...
Блок кода |
---|
|
wlc-30(config-softgre)# data-tunnel configuration wlc |
...
Блок кода |
---|
|
wlc-30(config-softgre)# aaa radius-profile default_radius
wlc-30(config-softgre)# keepalive-disable
wlc-30(config-softgre)# enable
wlc-30(config-softgre)# exit |
Переходим к настройкам модуля управления конфигурацией точек доступа:
Блок кода |
---|
|
wlc-30(config)# wlc |
Настраиваем профиль RADIUS-сервера, который будет использоваться для аутентификации беспроводных клиентов Enterprise SSID точек доступа Wi-Fi.
Блок кода |
---|
|
wlc-30(config-wlc)# radius-profile default-radius |
...
Блок кода |
---|
|
wlc-30(config-wlc-radius-profile)# auth-address 192.168.1.1 |
...
Блок кода |
---|
|
wlc-30(config-wlc-radius-profile)# auth-password ascii-text password |
...
Блок кода |
---|
|
wlc-30(config-wlc-radius-profile)# domain default
wlc-30(config-wlc-radius-profile)# exit |
...
Блок кода |
---|
|
wlc-30(config-wlc)# ssid-profile default-ssid |
...
Блок кода |
---|
|
wlc-30(config-wlc-ssid-profile)# radius-profile default-radius |
...