SNMP Flashcards

Simple Network Monitoring Protocol

1
Q

T/F: SNMP can be used to make configuration changes

A

T

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

What are the two main types of devices in SNMP

A

1) Managed Devices (switches, routers)
2) Network Management Stations (NMS)

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

What are the 3 main functionalities provided by SNMP

A

1) Managed devices notify NMS of events (failures, restoration, etc)
2) NMS can ask managed devices for their status
3) NMS instructs managed devices to make a config change

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

What are the two components of the NMS’s SNMP software

A

1) SNMP Manager, interacts with managed devices
2) SNMP Application, provides UI for admins

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

What is the function of an NMS’s SNMP Manager component

A

To interact with managed devices. Receives notifications, sends requests for information, sends config changes, etc.

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

What is the function of an NMS’s SNMP Application component

A

To provide a UI for a sysadmin to interact with. Displays alters, statistics, charts, etc

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

What are the two components of a Managed Device’s SNMP software

A

1) SNMP Agent
2) Management Information Base (MIB)

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

What is the function of a Managed Device’s SNMP Agent

A

To interact with the SNMP manager on the NMS. Send notifications, receive config change orders, etc.

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

What is a Managed Device’s Management Information Base (MIB)

A

The structure that contains the variables that are managed/reported by SNMP

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

T/F: each variable in the MIB is identified by an Object ID (OID)

A

True

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

How are SNMP OIDs organized

A

A hierarchical structure.

Essentially works by organizing variables in sub directories, and each number represents a level.

For example -> 1.3.6.1.2.1.1.5 ::

– iso
– identified-organization
– dod
– internet
– mgmt
– mib-2
– system
– sysName

This variable would give you the hostname for a cisco device, if a NMS requested this OID

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

What are the 3 major versions of SNMP that achieved widespread use

A

v1
v2c
v3

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

What is the version of SNMP widely in use today

A

v3

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

What are the classes of SNMP messages

A

Read
Write
Notification
Response

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

What is the well known listening port for an SNMP trap

A

UDP 162

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

What does a Cisco device use to respond to GET requests

A

SNMP agent

17
Q

What is a benefit of using SNMPv3 instead of v2

A

Encryption and authentication between devices

18
Q

What is the benefit of using the correct MIB with a Cisco router

A

Ensures you have correct SNMP operations. Each different device can have different MIBs, so you have to configure your SNMP manager to read correctly

19
Q

What is the well known listening port for SNMP agents

A

UDP 161

20
Q

What type of SNMP request is used by the manager to configure an SNMP managed device

A

Set

21
Q

What are the sub-types of the SNMP read message class

A

Get
GetNext
GetBulk

22
Q

Explain the difference between the Get, GetNext, and GetBulk read message types

A

“Get” retrieves the value of one or more OIDs. Agent will send a Response message with current value for each variable

“GetNext” requests available variables in the managed device’s MIB

“GetBulk” is a more efficient version of the GetNext message, was introduced in SNMPv2

23
Q

What are the sub-types of the SNMP write message class

A

There is only 1:

Set

24
Q

Explain what the Set write message type does

A

Request sent from manager to an agent to change the value of one or more variables. Agent will send a Response class message with the new values

25
Q

What are the sub-types of the SNMP notification message class

A

Trap
Inform

26
Q

Explain what the Trap message type does

A

A notification sent from the agent to the manager. The manager doesn’t send a Response message to acknowledge it received the Trap, so this is considered an unreliable message

27
Q

Explain what the Inform message type does

A

A notification that is acknowledged with a Response message. Can be sent/received by either the manager or the managed device

28
Q

What are the sub-types of the SNMP response message class

A

Just one, response

29
Q

Explain what the Response message type does

A

Message sent in response to a previous message/request, essentially an acknowledgement message

30
Q

Does SNMP use TCP or UDP for communications?

A

UDP