As we all know that we are using the SNMP to monitor the network .In my case I am using the PRTG
as monitoring software but you can use the other monitoring software as per your requirement .
After completion of your PRTG server installation you have to enable the SNMP services in
cisco other devices in your network .In this blog I am not going to show you the Installation
process of PRTG and it's very easy installation process and also you can the reference from
PRTG official websites .
Lets Enable the SNMP services in pour devices buut before that we need to make it sure
there should be reachability from PRTG server to your network devices .
Please find the below diagram How and where my PRTG server is existed in the network .
Here , I have the reachability from my PRTG server to all the switches and also i have a PRTG server
pre-configured .
Take the Telnet to the router/switch
-----------------------------
sw-1#telnet 172.17.10.1
Go to the enable mode by specifying the password what you have given :
sw-1>enable
Password:
sw-1#
Go into configuration mode:
sw-1(config)#
Use the command below to add a Read-Only community string:
First of all you have to configure the SNMp community for read and read write .
sw-1(config)#snmp-server community public RO
Note:-where "public" is the Read-only community string.
To add a Read-Write Community string, use the command below:
sw-1(config)#snmp-server community private RW
Note:-where "private" is the Read-write community string.
Exit the configuration mode and save the settings:
sw-1(config)#exit
sw-1#write memory
Building configuration...
[OK]
sw-1#
The above configurations are just enabling the snmp community .but this below configuration are
very important .plese look on to this .
To enable SNMP traps, follow the steps below in the Configuration mode of the Router/Switch:
First, set the host to which the traps have to be sent using the folowing command:
snmp-server host <IP Address> version <v1 or 2c> <RO community string>
<IP Address> refers to the IP Address of the device to which the traps have to be sent
<v1 or 2c> refers to the SNMP version
<RO community string> refers to the Read-Only community string
In my case ,
sw-1(config)#snmp-server host 172.17.10.4 version 3 RO
Step-2
Then, enable SNMP Traps using the command below:
snmp-server enable traps [notification-type] [notification-option]
Note:This trap means , snmp-server enable traps config [this will send all configurationnotifications as traps]
Note-Sometimes this configuration may not sufficent becaue according to my experinece
sometimes needed the Authentication and authentication type etc. etc.
as monitoring software but you can use the other monitoring software as per your requirement .
After completion of your PRTG server installation you have to enable the SNMP services in
cisco other devices in your network .In this blog I am not going to show you the Installation
process of PRTG and it's very easy installation process and also you can the reference from
PRTG official websites .
Lets Enable the SNMP services in pour devices buut before that we need to make it sure
there should be reachability from PRTG server to your network devices .
Please find the below diagram How and where my PRTG server is existed in the network .
Here , I have the reachability from my PRTG server to all the switches and also i have a PRTG server
pre-configured .
Take the Telnet to the router/switch
-----------------------------
sw-1#telnet 172.17.10.1
Go to the enable mode by specifying the password what you have given :
sw-1>enable
Password:
sw-1#
Go into configuration mode:
sw-1(config)#
Use the command below to add a Read-Only community string:
First of all you have to configure the SNMp community for read and read write .
sw-1(config)#snmp-server community public RO
Note:-where "public" is the Read-only community string.
To add a Read-Write Community string, use the command below:
sw-1(config)#snmp-server community private RW
Note:-where "private" is the Read-write community string.
Exit the configuration mode and save the settings:
sw-1(config)#exit
sw-1#write memory
Building configuration...
[OK]
sw-1#
The above configurations are just enabling the snmp community .but this below configuration are
very important .plese look on to this .
To enable SNMP traps, follow the steps below in the Configuration mode of the Router/Switch:
First, set the host to which the traps have to be sent using the folowing command:
snmp-server host <IP Address> version <v1 or 2c> <RO community string>
<IP Address> refers to the IP Address of the device to which the traps have to be sent
<v1 or 2c> refers to the SNMP version
<RO community string> refers to the Read-Only community string
In my case ,
sw-1(config)#snmp-server host 172.17.10.4 version 3 RO
Step-2
Then, enable SNMP Traps using the command below:
snmp-server enable traps [notification-type] [notification-option]
Note:This trap means , snmp-server enable traps config [this will send all configurationnotifications as traps]
Note-Sometimes this configuration may not sufficent becaue according to my experinece
sometimes needed the Authentication and authentication type etc. etc.
No comments:
Post a Comment