[Contents] [Prev] [Next] [Index] [Report an Error] [No Frames]


Configuring Notification Targets

Use the following configuration statements to configure notification targets:

snmp notify target target-name { 
    address address;
    port port;
    community community;
    type (trapv1|trapv2|inform); 
}

To configure notification targets:

  1. From configuration mode, access the configuration statement that configures the notification target.
  2. [edit]
    
    user@host# edit snmp notify target target-name 
    
    
    

Specify the notification target name.

  1. Specify the IPv4 or IPv6 address of the system to receive notifications.
  2. [edit snmp notify target target-name] 
    
    user@host# set address address 
    
    
    
  3. (Optional) Specify the SNMP trap port number.
  4. [edit snmp notify target target-name] 
    
    user@host# set port port 
    
    
    
  5. Specify the community string used when sending traps.
  6. [edit snmp notify target target-name] 
    
    user@host# set community community 
    
    
    
  7. Specify the notification types as traps or informs. Traps are unconfirmed notifications. Informs are confirmed notifications.

To specify the notification type as an SNMPv1 trap:

[edit snmp notify target target-name] 
user@host# set type trapv1 

To specify the notification type as an SNMPv2 trap:

[edit snmp notify target target-name] 
user@host# set type trapv2 

To specify the notification type as an SNMPv2 inform:

[edit snmp notify target target-name] 
user@host# set type inform 

  1. (Optional) Verify your configuration.
  2. [edit snmp notify target target-name] 
    
    user@host# show 
    
    
    

[Contents] [Prev] [Next] [Index] [Report an Error] [No Frames]