Session 5 Flashcards

Connecting cisco network devices

1
Q

what mode are you in when you see > ?

A

user exec mode

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

what commands do you need to add to enable a password for line console 0?

A

config t
line console 0
password #####
login

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

what command do you add to change the timeout session for line console 0?

A

exec-timeout ## $$

# = is in minutes
$ = is seconds

0 = do not time out

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

How do you enable password the moment from user exec to privilege mode?

A

configt t

password ###

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

Are we hashing or encrypting when adding a enable secret password?

A

hashing

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

how many default vty lines do you have?

A

5 (0-4)

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

when you remove the login from line console 0 or vty what does that mean?

A

you can still connect to the device but you will not be asked to be prompted for a password.

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

what command do you add an ACL to a VTY?

A

you use IP acess-class #

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

How do you set up a ssh connection

A
  1. You need a hostname
  2. You need a domain name (ip-domain-name)

config t
crypto key generate rsa modulus 1024 (higher # is better)

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

what command you you change in the line vty to change it to use the local account

A

loginlocal

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

What is transport input command ?

A

controls what is allowed to be utilize to connect.

ex: telnet / ssh

by default it is usually all but it can very by device platform.

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

Login banner what is it?

A

is a security feature.

ex: is a security sticker we put

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

what is a AAA server

A

Radius or tacacs+ used for authentication.

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

Login banner is used when?

A

when you need to provide username and password. you can put this up as a way to prevent unauthorized logins.

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

what is a MOTD

A

message of the day - just a message when you about something happening. nothing fancy.

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

what is one way to enable port security?

A

shutdown the port

switchport port-security mac-address sticky

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

what is mac address flooding?

A

malicious user and they broadcast a but of frames a different mac address.

mac off (program)

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

what are the options for switchport port-security?

A

protect - continue to allow traffic for the approved MAC address but those not allowed never show up in syslogs

restrict (continue to allow traffic only for frames that have an approved MAC address only)

shutdown (enable by default) puts port in err-disable

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

what command can you input to verify power security?

A

show port-security interface ####

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

Where is the clock set? and what time do you put

A

user exec mode? Universal time coordinated UTC

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

how to do you configure timezone and adjust it in a switch?

A
config t
clock timezone (est,ast,pst)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

how do you set up daylight savings time?

A

config t
clock summer-time (###) recurring $$$$ @@@@

\$\$$ - date when it starts (winter time)
 @@@ - date in summer when it stops
# - timezone
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

what is NTP?

What is the format?

What port does it use?

A

is a protocol that network devices uses to synchronize their time

NTP uses a client/server model

Port 123

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

What is stratum level for NTP?

A

basically a pyramid scheme. The closer you are to the time device, the lower stratum # you will have.

Limit of 15 devices can be daisy chain

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

how to do you configure

A

config t

ntp server #.#.#.#

26
Q

what does stratum 16 mean?

A

NTP server is not reachable.

27
Q

NTP master command means?

A

you are the master of time. YOU DONT WANT TO USE THIS COMMAND.

Only use this as a demo.

28
Q

what is syslog

A

automatic logging mechanism that is enable by default.

It facilitates monitoring and auditing.

29
Q

what command do you use to see sys logs while connected via a VTY port?

and how do you turn it off?

A

terminal monitor

terminal no monitor

30
Q

how to you configure a syslog server?

A

config t
logging host #.#.#.#

logging trap (will allow you to change the severity level)

31
Q

what are the logging severity 1 - 7

A
0 = emergencies
1 = alert
2 = critical
3 = errors
4 = warnings
5 = notifications
6 = informational
7 = debugging
32
Q

Benefits of a DHCP server?

A

Centralize IP address allocation
supports consistency across organization

IP address that automatically assigned with user vlans settings

1 stop shop.

33
Q

what is the 4 way handshake of DHCP

A

Discovered (broadcast message)
Offer (unicast)
Request (broadcast)
Aacknowledge (unicast)

34
Q

how do you configure a router as a DHCP server?

A

config t
ip dhcp pool (name it)

network (sets range )
network #.#.#.# $.$.$.$
# = ip address
$ = subnet mask

dns-server #.#.#.#

Default-router - #.#.#.#

35
Q

how do find what ips have been leased out?

A

show ip dhcp binding

36
Q

how do you configure dhcp lease time?

A

ip dhcp pool (name) lease (days) (hours) (minutes)

37
Q

what does DHCP relay agent allow us to do?

A

forwards the DHCP discover message to the DHCP agent.

Also know as ip helper-address

38
Q

how bits are in ipv4 and ipv6?

A

32 bits ivp4 and 128 bits ipv6

39
Q

what can yo drop in a IPV6?

A

leading zero

40
Q

what is a quartet in ipv6?

how man quartets in ipv6?

A

is 4 hexadecimal characters

8 total quartets = 32 hexadecimal.

41
Q

in hex what does A = to?

A

10

42
Q

in hex what does B = to?

A

11

43
Q

in hex what does C= to?

A

12

44
Q

in hex what does D = to?

A

13

45
Q

in hex what does E = to?

A

14

46
Q

in hex what does F = to?

A

15

47
Q

how many times can you have a double colon?

A

just 1 time.

48
Q

in a ipv6 header what does traffic class stand for?

A

quality of service.

49
Q

in a ipv6 header what does hop limit?

A

same as hop count = is the time to live for that frame

50
Q

source device take care of MTU

A

maximum transmission unit.

51
Q

what is anycast addressing?

A

allows you to have the same address on mulitple addresses. Example top level domains servers have the same IP address.

Routers will decide where to send the packet to the nearest device.

52
Q

in ipv6 how what protocol has replaced arp?

A

neighbor discovery

53
Q

in ipv6 how does DHCP work

A

use ipv6 dhcp which uses specific multicast addresses associated with them.

54
Q

in ipv6 what are the types of addresses you can have?

A

Unicast / Multicast and Anycast / Unique local (FC)

55
Q

what is a global unicast?

A

its your public ip address

range 2000 thru ffff

56
Q

what is the loopback address in ipv6?

A

::1 which means 31 0s and 1

57
Q

what is unspecified address in ipv6?

example 0.0.0.0

A

::

(this is not default route)

default route is ::/0

58
Q

what is the multicast address in ipv6?

A

anything that begins with FF

59
Q

what is the link local in ipv6?

A

anything that starts with FE80

low level protocols use these for basic communications

60
Q

the first 4 quartets of a /64 in ipv6 is what?

A

your network

61
Q

the last 4 quartets of a /64 subnet in ipv64 is what?

A

your host