snmp-trapper v2c-target

Configures the list of SNMP v2c trap recievers.

Privilege Level

Security Administrator, Administrator

Command Mode

Exec > Global Configuration

Syntax

snmp-trapper enable { true } v2c-target { url | community snmp_trap_community | port port_number } 

url

Specify the SNMP trap receiver hostname or IP address.

Must be a string.

port_number

Specify the port number of the SNMP trap receiver port.

Must be a port number.

Default Value: 162.

community snmp_trap_community

Specify the SNMP trap receiver community.

Must be a string.

Default Value: "public".

Usage Guidelines

Use this command to configure the list of SNMP v2c trap recievers.