SNMP - Part 3 (Configuration On Juniper Junos) - www.ipcisco.com : www.ipcisco.com
Content Protection by DMCA.com

SNMP Configuration On Juniper Junos


We begin the SNMP configuration with Cisco devices and here, we will continue how to configure a Juniper device for SNMP. In this article we will not mention all the parameters deeply like in the before article. We will check the difference of Juniper JUNOS configuration than Cisco IOS.

First of all we need to enable SNMP Server operation on router.

Router(config)# snmp-server

Secondly we will define Community String. We will do this with an SNMP community name, a user’s privilege level and an IP access list. As we know from the before article, community the community name is like a password and it is used to authenticate messages sent between an SNMP client and SNMP server. The community name is sent in every packet between them.

There are three priviledge modes. These are:

– ro : Read-only access to the entire MIB except for SNMP configuration objects.
– rw : Read-write access to the entire MIB except for SNMP configuration objects.
– admin : Read-write access to the entire MIB.

The maximum number of communities in each virtual router is 32. And an SNMP community permits only read-only access by default.

Router(config)# snmp-server community “istanbul” rw

To configure SNMPv3 use the following one:

Router(config)# snmp-server user gokhan auth sha gokhanpassword priv des password group user

Configuring SNMP contact and location is also best practice in Juniper as all vendors.

Router(config)# snmp-server contact gokhan
Router(config)# snmp-server location istanbul office floor3 departmentABC

The SNMP server must support a PDU with an upper limit of 484 bytes or greater. Increasing this value improves the efficiency of the GetBulk operation. You can set this value to a bigger one or you can use the no version of this and continue to use the default one 1500.

Router(config)# snmp-server packetsize 1000

In JUNOS, to configure the traps we will use the below commands. There are also many trap categories. As an example I used ospf. And here you can also mention trap level by trapfilter. In the below example only critical ospf alarms will be sent.

Router(config)# snmp-server enable traps ospf trapfilters critical

Definin the SNMP Server IP that the traps will go, is also another steps for us.

Router(config)# snmp-server host 192.168.1.1 version 2c westford udp-port 162

You can configure up to eight trap hosts on each virtual router.

There are also many other commands for Juniper during SNMP configurations. But these are the basic ones that will help you to figure out the general SNMP configuration on Juniper devices.

I hope this article is also benefitial for you. In the next article I will tell about Alcatel-Lucent configuration for SNMP. In the article I will try to tell Alcatel-Lucent product NMS, SAM Server(Service Avare Manager), beside Alcatel-Lucent 7750 Service Router configuration for SNMP. Keep on and do not miss anything about SNMP Basics ;)

You can continue with the other SNMP articles…

SNMP – Part 1
SNMP – Part 2 (Configuration On Cisco IOS)
SNMP – Part 3 (Configuration On Juniper Junos)

Youn can join OUR Facebook Group with the below links!!!




About the Author
Gokhan Kosem is a telecommunation and network engineer. His ambition to IP networks and end-to-end system installation made him to prepare this web-site. By sharing his experiences about various networking protocols beside different system installation experiences and Cisco, Juniper, Alcatel-Lucent devices configurations, he is aimed to be helpful for his collegues in all over the world. He is currently lives in Istanbul, Turkey.

Leave a Reply


Copy Protected by Chetan's WP-Copyprotect.