Sunteți pe pagina 1din 2

Simple Network Management Protocol (SNMP):

Simple Network Management Protocol is an Internet Standard protocol for collecting and
organizing information about managed devices on IP networks and for modifying that
information to change device behavior.
SNMP has three versions and five basic messages:
 Get-request
 Set-request
 Get-bulk request
 Get-response
 Trap

Setting up SNMP in Cisco Packet Tracer:

Network Diagram for SNMP


Configuration:
1: Set up a small network. Here a router, a switch and a PC is used to demonstrate SNMP
message transfers.
2: These devices are connected through fast ethernet ports via a network cable.
3: First, set up static IP for router, in this case the IP of router is “192.168.2.1”. Similarly set
static IP address for PC, in this case it is “192.168.2.2”.
4: Before transferring messages, we need to configure router with SNMP Community. For
this purpose, open CLI on router and execute these two commands:
 snmp-server community nsm ro
 snmp-server community nsm rw
nsm is password for reading and writing privileges
5: Open MIB Browser on PC and navigate through MIB tree to information you want to get
or set. Give IP address of destination router and click on advance option and enter read and
write password, in this case “nsm”, and select v2 of SNMP.
6: After selecting the information you want to get from MIB tree, select the get option and
click on go, in my case I fetched name of router and it is shown in results.
7: Get message is sent to fetch name of router and in return response message is returned with
result.
8: Similarly, if you want to set custom name of router, select the select option and it will
prompt for changing parameters. So, I selected octet string and renamed router to name
“MyRouter” and clicked on go. As a result, the name of router is changed.
9: For get-bulk, select root node of any leaf node from the tree and click on go. As a result,
all the information is shown of child nodes of that root node.
Dynamic Host Control Protocol (DHCP):
The Dynamic Host Configuration Protocol (DHCP) is a network management protocol used
on UDP/IP networks whereby a DHCP server dynamically assigns an IP address and other
network configuration parameters to each device on a network so they can communicate with
other IP networks.

DHCP in Cisco Packet Tracer:

Network Diagram for DHCP

Configuration:
1: Set up a small network with a server and three PCs connected together with a switch
through fast ethernet port via network cables.
2: Set up static IP address for server, here IP address of server is 192.168.2.1.
3: Set up DHCP server in server services, set default gateway, DNS server (in this case local
server), starting IP address of IP address pool and maximum number of users. The default IP
lease expire time in this case is 24 hours.
4: Now go to the connected PCs on the network and set their IP configuration mode to DHCP
and it will automatically pick up IP from server.
5: Now we can send and receive data packets on server on this network.

S-ar putea să vă placă și