Admin make quizzes
Teacher submit questions for quizzes
student take quizzes
proctor allow student to take quizzes by scanning QR
---
### Problems:
- internet disconnected to students
-
---
#   Actors
+   teacher
+   admin
+   student
+   proctor
---
## Teacher
+ login
+ reset password
+ change password
+ submit quiz questions
+ save draft quiz questions
---
## Proctor
+ login
+ scan student QR to take quiz
+ get alerted when students is trying to cheat
+ suspend students # not necessary in the initial version
---
## Student
+ login
+ take quiz
+ submit the quiz
+ receive grade
---
# Privileges based on numbers
+ en
+ conf t
+ username anas privilege 4
+ en 15
+ privilege exec level 4 (command).
+ login local
+
---
+ enable password 1234
+ enable secret 1234
# create user to login from anywhere
+ en
+ conf t
+ username anas password 123
+ line con 0
+ login local
---
# create view parser
+ en
+ conf t
+ aaa new-model
+ enable password 123
+ ex
+ en view
+ parser view anas
+ secret 123
+ commands exec include show
+ commands conf include interface fa
---
# change parser view
+ ex
+ en
+ en view
+ conf t
+ parser view anas
---
# login with specific view
+ en
+ en view anas
---
# When wanna login local with aaa
+ aaa authentication login default local (conf t)
+ login authentication default (con line)
---
# login user with db server aaa
+ radius-server host 192.168.1.100
+ radius-server key 123
+ aaa new-model
+ aaa authentication login default group radius / local
+ line con 0
+ login authenticaiton default
---
# ACLs
+ en
+ conf t
+ access-list 99         deny      200.0.0.0               0.0.0.31
+ access-list 99         permit   200.0.0.0          any
+ int fa0/1
+ ip access-group 50 out
+ no access-list 50 permit any
+ access-list        50         deny           200.0.0.32             0.0.0.31
+ access-list      50 permit          any