Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expand
titleЛог подключения

+0 ms:

fillFromRadiusAttributes

password: present in request

+0 ms:fillFromRadiusAttributes

identity: 'e80462eb9a09', portType: EthernetMAB

+0 ms:fillFromRadiusAttributes

mac: 'E8:04:62:EB:9A:09'

+0 ms:fillFromRadiusAttributes

session id: '1-34-e8-4-62-eb-9a-9'

+1 ms:radius

received 9 attributes in the request:
    Service-Type = Call-Check
    User-Name = e80462eb9a09
    Calling-Station-Id = e8-04-62-eb-9a-09
    User-Password = ********
    NAS-IP-Address = 172.16.133.10
    NAS-Identifier = FutureNAS
    Acct-Session-Id = 1-34-e8-4-62-eb-9a-9
    NAS-Port-Type = Ethernet
    NAS-Port = 1

+0 ms:fillFromRadiusAttributes

nas: 'Eltex MES 2424', ip: 172.16.133.10

+9 ms:authorization action

VlanActionImpl VLAN_ID = 128

+0 ms:authentication

final result: Allow with policy 'Eltex MES2424 MAB' and authorization 'Eltex_2424_MAB_authz'

+0 ms:radius

    attribute: Tunnel-Type: VLAN

+1 ms:radius

    attribute: Tunnel-Medium-Type: IEEE-802

+0 ms:radius

    attribute: Tunnel-Private-Group-ID: 128

+0 ms:radius

    attribute: Message-Authenticator = 0x0110371c688e809cd192db0c21864ac6

+0 ms:authentication

authentication time: 11ms

+19 ms:acct-start


Проверка авторизации из консоли коммутатора:


Code Block
languageplain
themeFadeToGrey
e2424#sh dot1x mac-info

Pnac Mac Database
----------------------------------------------------

Supplicant Mac-Addr      = e8:04:62:eb:9a:09
AuthSM State             = AUTHENTICATED
Auth-Session Status      = AUTHORIZED
Port                     = gi 1/0/1
VLAN ID                  = 128
Session Timeout          = 65535(Custom)
Termination-Action       = None
----------------------------------------------------

Supplicant Mac-Addr      = ac:16:2d:86:9a:50
AuthSM State             = AUTHENTICATED
Auth-Session Status      = AUTHORIZED
Port                     = gi 1/0/1
VLAN ID                  = 409
Session Timeout          = 60(Configuration)
Termination-Action       = None
----------------------------------------------------


 Проверка обработки RADIUS атрибута Filter-Id для примениея ACL (ACL предварительно настраивается на коммутаторе):

Настраиваем ACL на коммутаторе:


Code Block
languageplain
themeFadeToGrey
e2424#config
e2424(config)#ip access-list standard 20 description Test_ACL
e2424(config-std-nacl)#deny host 172.16.133.33 any
e2424(config-std-nacl)#permit any any

В правило авторизации в WNAM 2 добавим дополнительное действие - RADIUS атрибут Filter-Id (IETF) со значением 20

Image Added