Ch8-Basic Switch Management Flashcards
A username (with matching password) configured on a router or switch. It exists in the devices’ configuration, not on any remote authentication system
Local username
A server that holds security information and provides services related to user login.
Authentication, Authorization, and Accounting (AAA) server
On an IP host, the IP address of some router to which the host sends packets with the destination’s address is on a different subnet or network.
Any of default gateway default router
A part of the Cisco CLI in which the user can use the most powerful and disruptive commands on a router or switch, including the ability to to reach configuration mode and change the operation of the device
enable mode
A configuration concept inside Cisco switches, used as interface between iOS running on the switch and a VLAN supported inside the switch, so that the switch can assign an IP address and send IP packets into that VLAN.
Any of: VLAN interface Switched Virtual Interface (SVI)
In a Cisco router or switch, the function by which IOS keeps a list of commands that the user has used within the current login session both in EXEC and configuration mode.
history buffer
Command reference: Changes the context to console configuration mode
line console 0
Command reference: Changes the context to vty configuration mode for the range of vty lines listed in the command
line vty first last
Command reference: In console and vty configuration mode, tells IOS to prompt for a password
login
Command reference: Sets the password required if the login command is configured
password value
Command reference: Tells IOS to prompt for a password, to be checked against locally configured username global configuration commands on the switch or router.
login local
Command reference: Global command. Defines one of possibly multiple usernames and associated passwords, used for user authentication. Used when the login local line configuration command has been used.
username name secret pass-value
Command reference: Global command. Creates and stores (in a hidden location in flash memory) the keys required by SSH
crypto key generate rsa modulus mod-value
Command reference: In vty line mode, defines whether Telnet and/or SSH access is allowed into this device.
transport input [none | all | telnet | ssh]
Command reference: Changes the context to VLAN interface mode. For VLAN 1, allows the configuration of a switch’s IP address
interface vlan number
Command reference: In VLAN interface mode, statically configures the switch IP address and mask
ip address address mask
Command reference: In VLAN interfaces mode, configures a switch as a DHCP client to discover its IPv4 address, subnet mask, and default gateway
IP address dhcp
Command reference: Global command. Configures the switch’s default gateway IPv4 address. Not required if the switch uses DHCP
ip default-gateway address
Command reference: Global command. Configures IPv4 addresses of DNS servers, if required
ip name-server server-ip-1 server-ip-2…
Command reference: Global command. Sets the device’s hostname, which is also used as the first part of the device’s command prompt.
hostname name
Command reference: Global command. Sets the device’s password that is required for any user to reach enable mode
enable secret secret
Command reference: In line configuration mode, defines the number of commands held in the history buffer for later recall, for users of those lines
history size num
Command reference: From EXEC mode, this command allows the user to set the size of the history buffer, but only for the current session.
terminal history size num
Command reference: In console or vty mode, tells IOS to send log messages to the user at natural break points between commands, rather than in the middle of a line of output
loggin synchronous
Command reference: Global command that disables or enables the display of log messages to the console
[no] logging console
Command reference: In console or VTY mode, sets the inactivity timeout, so that after the defined period of no action, the current user’s login session will automatically terminate
exec-timeout minutes [seconds]
Command reference: Lists the currently in-use configuration
show running-config
Command reference: Pipes the command output to the begin command, which only lists output beginning with the first line that contains the text “line vty”
show running-config | begin line vty
Command reference: Lists any information the switch acquires as a DHCP client, including IP address, subnet mask, a default gateway information
show dhcp lease
Command reference: Lists the public and shared key created for use with SSH using the crypto key genrerate rsa command
show crypto key mypubkey rsa
Command reference: Lists status information for the SSH server, including the SSH version
show ip ssh
Command reference: Lists status information for current SSH sessions into and out of the local device
sh ssh
Command reference: Lists the interface status, the switch’s IPv4 address and mask, and much more
show interfaces vlan vlan-num
Command reference: Lists the switch’s settings for its IPv4 default gateway
show ip default-gateway
Command reference: Lists the commands in the current history buffer
show history
Which command produced the following output:

show dhcp lease
Which command produced the following output?

show interfaces vlan 1
Which command produced the following output?

show ssh
Which command produced the following output?

show ip ssh
Which command produced the following output?

show crypto key mypubkey rsa