User's Manual Part 2

55JadeOSUserManual
Delete User: when user offline or notraffic for a long time, JadeOS will delete this
usertable.
9.2.2UserRoleandACL
Userroledefinesthenetworkaccess.JadeOSspecifiesthenetworkaccessofuserby
ACL.TocreateauserroleinJadeOS,youneedtocreateasessionACL,andthenap
plytheACLtotheuserrole.
Tocreateuserrole,usethefollowingsteps:
Step1ConfigureasessionACLnamedpreauthacl
(JadeOS) (config) #ip access-list session pre-auth-acl
Step2Configurenetworkaccess.
(JadeOS) (config-sess-pre-auth-acl)#any any udp 53 permit
(JadeOS) (config-sess-pre-auth-acl)#any any tcp 0 65535 dst-nat ip
10.0.0.2 443
(JadeOS) (config-sess-pre-auth-acl)#any any ucp 0 65535 dst-nat ip
10.0.0.2 443
Step3Createauserrolenamed‘preauth’
(JadeOS) (config) #user-role preauth
Step4ApplyuserruletoACL
(JadeOS) (config-role) #session-acl pre-auth-acl
Attribute Description
accesslist Applyaccesslisttouserrole
bandwidthcontract
Setthemaximumbandwidth
maxsessions
Setthedatapathsessionlimit,64kbydefault
reauthenticationinterval Configtheinte rvalsofreauthentication
sessionacl ApplysessionACL
vlan DistributeVLAN
Theattributelistsupportedbyuserrole
9.2.3AccessPolicyBasedonUserRole
Beforeausersuccessfullyauthenticate,JadeOSspecifiesaninitialroletouser(role
beforeauthentication);aftertheuserissuccessfullyauthenticate,JadeOSwillspecify
anewroletotheuser(roleafterauthentication).Networkadministratorscanflexibly
controlnetworkaccessthroughconfiguringACL.