Switch Part Deux Flashcards
To access Telnet or SSH
A switch needs a working IP configuration, as well as login security on the vty lines (password and/or username)
Enable password
used to protect enable mode
Parameters for usernames and passwords
login local line subcommand
username teresa password (or secret) giudice global config command
AAA server
Switch sends message to the AAA server asking whether the name and password are allowed and the AAA server replies; usually use either the RADIUS or TACACS+ protocol
Configuring SSH
- use login local line subcommand
- username teresa password(or secret) giudice global config command
- ip domain-name example.com to configure a DNS domain name
- Create encryption keys using the crypto key generate rsa global config command
- ip ssh version 2 global config command for enhanced security
Info about status of SSH on the switch
show ip ssh: status info about the SSH server itself
show ssh: shows info about each user currently connected into the switch
Controlling support of Telnet and SSH command
transport input {all|none|telnet|ssh} vty subcommand
service password-encryption
offers weak password encryption to all unencrypted passwords; usually start with 7
MOTD bammer
Shown before the login prompt; used for temporary messages that can change from time to time (banner motd # message #) global config command
Login banner
Shown before login prompt but after MOTD banner; used for permanent messages (banner login # message #) global config command
Exec banner
shown after login prompt
show history
lists commands currently held in the history buffer
history size
from console or vty line config mode, sets number of commands saved in the history buffer
terminal history size
from enable mode, set number of commands saved in the history buffer for this one terminal session
logging console
global config command that enables syslog messages