Configuring Snmp Trap Hosts; Snmpv1 Trap Host Configuration; Snmpv2 Trap Host Configuration - Juniper EX2500 Configuration Manual

Juniper networks switch user manual
Hide thumbs Also See for EX2500:
Table of Contents

Advertisement

2. Configure a user access group, along with the views the group may access. Use
3. Assign the user to the user group. Use the group table to link the user to a

Configuring SNMP Trap Hosts

SNMPv1 Trap Host Configuration

1. Configure an entry in the notify table.
2. Specify the IP address and other trap parameters in the targetAddr and

SNMPv2 Trap Host Configuration

The SNMPv2 trap host configuration is similar to the SNMPv1 trap host
configuration. Wherever you specify the model, use snmpv2 instead of snmpv1.
ex2500(config)# snmp-server read-community public
ex2500(config)# snmp-server target-address 1 name v2trap2 address 10.70.70.190
ex2500(config)# snmp-server target-address 1 parameters-name v2param2
ex2500(config)# snmp-server target-address 1 taglist v2param2
ex2500(config)# snmp-server target-parameters 1 name v2param2
ex2500(config)# snmp-server target-parameters 1 user-name v2only
ex2500(config)# snmp-server target-parameters 1 message snmpv2
ex2500(config)# snmp-server notify 1 name public
ex2500(config)# snmp-server notify 1 tag v2param2
the access table to configure the group's access level. Because the read view,
write view, and notify view are all set to iso , the user type has access to all
private and public MIBs.
ex2500(config)# snmp-server access 5 name admingrp
ex2500(config)# snmp-server access 5 level authpriv
ex2500(config)# snmp-server access 5 read-view iso
ex2500(config)# snmp-server access 5 write-view iso
ex2500(config)# snmp-server access 5 notify-view iso
particular access group.
ex2500(config)# snmp-server group 5 user-name admin
ex2500(config)# snmp-server group 5 group-name admingrp
ex2500(config)# snmp-server notify 10 name public
ex2500(config)# snmp-server notify 10 tag v1trap
targetParam
tables. Use the following command to specify the username used
with this targetParam table:
snmp-server target-parameters <1-16> user-name
For example:
ex2500(config)# snmp-server target-address 10 name v1trap address
10.70.70.190
ex2500(config)# snmp-server target-address 10 parameters-name v1param
ex2500(config)# snmp-server target-address 10 taglist v1param
ex2500(config)# snmp-server target-parameters 10 name v1param
ex2500(config)# snmp-server target-parameters 10 user-name v1only
ex2500(config)# snmp-server target-parameters 10 message snmpv1
Chapter 1: Accessing the Switch
Using SNMP
9

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents