Security Flashcards
Access Control, CoPP, AAA
What are the commands to set a password on a router’s console port (two commands)?
Router(config)# line console 0
Router(config-line)# password {the-password}
What are the commands to set a password on a router’s auxiliary port (two commands)?
Router(config)# line aux 0
Router(config-line)# password {the-password}
What are the commands to set a password on a router’s ssh/telnet ports (two commands)?
Router(config)# line vty 0 4
Router(config-line)# password {the-password}
What is the command to create a local username and password on a router?
Router(config)# username {user} [privilege {0-15}] password {the-password}
What is the command to specific use of the local username and password for logging into a telnet or ssh session?
Router(config-line)# login local
What is the command to set a session timeout on a telnet/ssh port?
Router(config)# line vty 0 4
Router(config-line)# exec-timeout {number in minutes}
What are the commands to setup SSH on a router including local login? (7 commands)
Router(config)# username {user} password {password}
Router(config)# ip domain-name {domain.com}
Router(config)# crypto key generate rsa modulus {bits}
Router(config)# ip ssh version 2
Router(config)# line vty 0 4
Router(config-line)# transport input ssh
Router(config-line)# login local
What does AAA mean?
Authentication, Authorization and Accounting:
Authentication - login
Authorization - privilege
Accounting - logging the activity
What is TACACS+?
Terminal Access Controller Access Control System: A security protocol developed by Cisc for Authentication and Authorization to a device. TACACS can give a very granular level of authorization specific to what commands a user can enter on a device.
What is Radius?
An industry standard security protocol for centralized device access authentication.
What is the biggest difference between TACACS and RADIUS?
TACACS provides granular and separate services for authentication, authorization, and accounting. Where RADIUS is basically only used for secure device access.
What is the Windows Server role that allows a domain controller to be used as a RADIUS server?
Network Policy and Access Services
When configuring privilege levels for a user account, what do the built-in privilege levels 0, 1, and 15 mean?
0 - only allows five commands: logout, enable, disable, help and exit.
1 - read only and “ping”
15 - full access to all commands
When configuring privilege levels for a user account, what do levels 2 through 14 do?
Privilege 2 through 14 are custom configurable levels. In theory the higher levels would have more access but this depends on what was configured.
What command enables AAA services on a Cisco device?
Router1(config)# aaa new-model