Chapter 6 - Basic Switch Management Flashcards

1
Q

line console 0

A

Changes the context to console configuration mode

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

line 0 15 vty

A

vty config mode for range defined in command

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

login

A

Console and vty config mode - Tell IOS to prompt for password

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

password [pass-value]

A

Console and vty config mode - lists passwords required if the login command (with no other parameters) is configured

virtual teletype

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

login local

A

Console and vty config mode. Tells IOS to prompt for username and password, to be checked against locally configured username global config commands on this switch or router

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

username [name] secret [pass-value]

A

Global command. Defines on of possibly multiple usernames and associated passwords. Used when the “login local” command has been used.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

crypto key generate rsa [modulus 360…2048]

A

Global command. Creates and stores (in a hidden location in flash memory) the keys required by SSH

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

transport input [telnet | ssh | all | none]

A

vty line config mode. Defines whether telnet/ssh access is allowed into the switch. Both can be configured on one line

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

interface vlan [number]

A

Changes the context to VLAN interface mode.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

ip address [ip-address subnet-mask]

A

VLAN interface mode. Statically configures the switches IP address and mask.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

ip address dhcp

A

VLAN interface mode. Configures the switch as a DHCP client to discover its IPv4 address, mask, and default gateway.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

ip default gateway [address]

A

Global command. Configures the switch’s default gateway IPv4 address. Not required if the switch uses DHCP

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

ip name-server [server 1] [server 2]

A

Global command. Configures the IPv4 address of DNS servers, so any commands when logged in to the switch will use the DNS for name resolution.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

hostname [name]

A

Global command. Sets the switch’s hostname.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

enable secret [pass-value]

A

Global command. Sets the switch password for access to “enable” mode

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

history size [length]

A

line config mode. Defines the number of commands held in the history buffer

17
Q

logging synchronous

A

Console or vty mode. Tells IOS to send log messages to the user at natural break points between commands.

18
Q

[no] logging console

A

Global command that disables or enables the display of log messages to the console

19
Q

exec-timeout [minutes] [seconds]

A

Console or vty mode. Sets the inactivity timeout

20
Q

show running-config

A

Lists the currently used config

21
Q

show running-config | begin line vty

A

Pipes (sends) the command output to the “begin” command, which only lists output beginning with the first line that contains the text “line vty”

22
Q

show dhcp lease

A

Lists any info the switch acquires as a DHCP client.

23
Q

show crypto key mypubkey rsa

A

Lists the public and shared key created for use with SSH using the “crypto key generate rsa” global config command

24
Q

show ip ssh

A

Lists status info for the SSH server, including the SSH version

25
Q

show interfaces vlan [number]

A

Lists the interface status, the switch’s IPv4 address and mask

26
Q

show ip default-gateway

A

Lists the switch’s setting for its IPv4 default gateway

27
Q

terminal history size [x]

A

Changes the length of the history buffer for the current user only, only for the current login to the switch