This section shows the basic JUNOS configuration required to configure SNMP version 2 on each router.
- [edit]
- snmp {
-
- community community-name {
- authorization authorization;
- view view-name;
- }
-
- trap-group group-name {
-
- targets {
-
address;
- }
- version v2;
-
- view view-name {
- oid object-identifier include;
- }
- }
- }
For more information, see Configuring SNMP.