s5720 radius MAC address authentication - wake on lan and vlan assignement

Created: Apr 9, 2019 13:14:18Latest reply: Apr 16, 2019 10:13:59 328 5 0 0
  Rewarded Hi-coins: 0 (problem resolved)

Hello,

i made on a s5720 a basic configuration to authenticate computer with MAC address.

I made like this :


[Switch] radius-server template Template-FreeRadius
[Switch-radius-Template-FreeRadius] radius-server authentication 192.168.1.101 1812
[Switch-radius-Template-FreeRadius] radius-server shared-key cipher password
[Switch-radius-Template-FreeRadius] radius-server attribute translate
[Switch-radius-Template-FreeRadius] radius-attribute disable Framed-Protocol receive send
[Switch-radius-Template-FreeRadius] quit

[Switch] aaa
[Switch-aaa] authentication-scheme scheme-FreeRadius
[Switch-aaa-authen-scheme-FreeRadius] authentication-mode radius
[Switch-aaa-authen-scheme-FreeRadius] quit

[Switch-aaa] domain lan
[Switch-aaa-domain-lan] authentication-scheme scheme-FreeRadius
[Switch-aaa-domain-lan] radius-server Template-FreeRadius
[Switch-aaa-domain-lan] quit
[Switch-aaa] quit

[Switch] mac-access-profile name Mac-Prof
[Switch-mac-access-profile-Mac-Prof] mac-authen username macaddress format without-hyphen uppercase
[Switch-mac-access-profile-Mac-Prof] quit

[Switch] authentication-profile name Auth-Prof
[Switch-authen-profile-Auth-Prof] mac-access-profile Mac-Prof
[Switch-authen-profile-Auth-Prof] access-domain lan force
[Switch-authen-profile-Auth-Prof] authentication mode multi-authen max-user 100
[Switch-authen-profile-Auth-Prof] quit

[Switch] interface gigabitethernet 0/0/1
[Switch-GigabitEthernet0/0/1] authentication-profile Auth-Prof
[Switch-GigabitEthernet0/0/1] quit



It works fine but i was wondering what happen with this configuration with wol packet.

On alcatel switchs it was possible to play with "controlled direction" : both or in.

Is there a way to do the same on S5720?


My second question is : From this configuration is there an easy way to make that if authentication is OK computer go into the default vlan (actually it's the case) and if authentication fail computer go into an other vlan?



Thanks for your help

  • x
  • convention:

Featured Answers
chenhui
Admin Created Apr 9, 2019 14:27:35 Helpful(0) Helpful(0)

@plegrand hi!

I'm not quite sure what's the meaning of your first question.

About the second question, you need to modify some configuration - you can configure the local authentication and authorization and this could allow you to achieve the goal.

For more details and configuration examples, please refer to: https://support.huawei.com/hedex ... 253C%252Fb%253E.
  • x
  • convention:

All Answers
chenhui
chenhui Admin Created Apr 9, 2019 14:27:35 Helpful(0) Helpful(0)

@plegrand hi!

I'm not quite sure what's the meaning of your first question.

About the second question, you need to modify some configuration - you can configure the local authentication and authorization and this could allow you to achieve the goal.

For more details and configuration examples, please refer to: https://support.huawei.com/hedex ... 253C%252Fb%253E.
  • x
  • convention:

plegrand
plegrand Created Apr 10, 2019 06:05:13 Helpful(0) Helpful(0)

In first thanks for your answer and sorry for my poor english.
For the first question :
If a computer is connected on a "protected" port and halted, then not authentified.
Does wake on lan packet can pass ?
  • x
  • convention:

chenhui
chenhui Admin Created Apr 10, 2019 12:05:12 Helpful(0) Helpful(0)

Posted by plegrand at 2019-04-10 06:05 In first thanks for your answer and sorry for my poor english.For the first question : If a computer ...
I think the answer is yes, cause the WOL packets are not generated by the sleeping PC.
  • x
  • convention:

plegrand
plegrand Created Apr 11, 2019 06:03:23 Helpful(0) Helpful(0)

Hello,
When I was talking about Wol, I meant packets sent from another machine to the stopped PC connected to a protected port.
Does these packets pass through this protected port ?
Thanks again for your help
  • x
  • convention:

sim_157
sim_157 Created Apr 16, 2019 10:13:59 Helpful(0) Helpful(0)

Posted by plegrand at 2019-04-11 06:03 Hello,When I was talking about Wol, I meant packets sent from another machine to the stopped PC conn ...
I agree with chenhui said, the WOL packets could pass through the protected port.
  • x
  • convention:

Comment

Reply
You need to log in to reply to the post Login | Register

Notice Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " Privacy."
If the attachment button is not available, update the Adobe Flash Player to the latest version!
Login and enjoy all the member benefits

Login and enjoy all the member benefits

Login