IOS Security Flashcards
(14 cards)
What file stores vlan information and where is it stored?
vlan.dat and it is stored on flash
How do you clear the device configuration?
delete startup-configuration or write erase (wr e)
Delete vlan.dat on a switch
which banner is recommended for displaying legal information to users that are trying to access the system?
banner motd
messages of the day
Which is more secure, TELNET or SSH ? Why?
SSH. TELNET is sent in clear text and can be seen with a packet sniffer like Wireshark. SSH employs public key cryptography for the encryption.
What do you need in order to enable SSH?
- set an ip domain name to associate to RSA encryption keys
- generate an RSA encryption keys using fqdn
- create local account and local database
- enable SSH on VTY lines
What command creates RSA encryption keys?
crypto key generate rsa
What is the default encryption strength? What is recommended?
512 is the default. 1024 is recommended
Which port does SSH use?
SSH uses a well-known TCP port 22.
Which global configuration command is used to encrypt all passwords in device configuration file?
service password-encryption
Where do you assign the IP address on a switch for telnet or SSH?
VLAN1
What does VTY stand for?
Virtual TeletYpe
Which port does TELNET use?
23
Which is more secure “enable secret 5” or “enable password 7”
enable secure 5
How do secure privileged EXEC mode?
enable secret securePassword
This encrypt the password in password-5, which is more secure then password-7.
enable password securePassword saves the password in clear text. enable secret trumps enable password.