User's Manual Part 2
55JadeOSUserManual
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:
Step1ConfigureasessionACLnamedpre‐auth‐acl
(JadeOS) (config) #ip access-list session pre-auth-acl
Step2Configurenetworkaccess.
(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
Step3Createauserrolenamed‘pre‐auth’
(JadeOS) (config) #user-role preauth
Step4ApplyuserruletoACL
(JadeOS) (config-role) #session-acl pre-auth-acl
Attribute Description
access‐list Applyaccesslisttouserrole
bandwidth‐contract
Setthemaximumbandwidth
max‐sessions
Setthedatapathsessionlimit,64kbydefault
reauthentication‐interval Configtheinte rvalsofre‐authentication
session‐acl ApplysessionACL
vlan DistributeVLAN
Theattributelistsupportedbyuserrole
9.2.3AccessPolicyBasedonUserRole
Beforeausersuccessfullyauthenticate,JadeOSspecifiesaninitialroletouser(role
beforeauthentication);aftertheuserissuccessfullyauthenticate,JadeOSwillspecify
anewroletotheuser(roleafterauthentication).Networkadministratorscanflexibly
controlnetworkaccessthroughconfiguringACL.