SNMP Config Mode Command Reference

snmp-trapper

Configures the SNMP trapper.

Privilege Level

Security Administrator, Administrator

Command Mode

Exec > Global Configuration

Syntax

snmp-trapper enable { false | true } 

enable { false | true }

Enable or disable the SNMP trapper.

Must be either "false" or "true".

Default Value: false.

Usage Guidelines

Use this command to configure the SNMP trapper.

snmp-trapper enable source-ip-routes

Enables the binding to source IP for SNMP routing.

Privilege Level

Security Administrator, Administrator

Command Mode

Exec > Global Configuration

Syntax

source-ip-routes { internal-vip ipv4_address | default-external-vip ipv4_address } 

internal-vip ipv4_address

Specify the internal VIP for source IP routing.

Must be an IPv4 address.

default-external-vip ipv4_address

Specify the default external VIP for source IP routing.

Must be an IPv4 address.

Usage Guidelines

Use this command to enable the binding to source IP for SNMP routing.

snmp-trapper enable source-ip-routes source-external-vips

Configures the source external VIP routing by namespace.

Privilege Level

Security Administrator, Administrator

Command Mode

Exec > Global Configuration

Syntax

source-external-vips [ namespace ] external-vip ipv4_address 

namespace

Specify the namespace for routing.

Must be a string.

external-vip ipv4_address

Specify the external VIP for source IP routing.

Must be an IPv4 address.

Usage Guidelines

Use this command to configure the source external VIP routing by namespace.

snmp-trapper enable v2c-target

Configures the list of SNMP v2c trap recievers.

Privilege Level

Security Administrator, Administrator

Command Mode

Exec > Global Configuration

Syntax

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.

snmp-trapper enable v3-target

Configures the list of SNMP v3 trap receivers.

Privilege Level

Security Administrator, Administrator

Command Mode

Exec > Global Configuration

Syntax

v3-target { [ url ] [ port port_number ] [ user-name user_name ] [ auth authentication_protocol ] [ auth-key authentication_key ] [ priv privacy_protocol ] [ priv-key privacy_key ] } 

url

Specify the SNMP trap receiver hostname or IP address.

Must be a string.

port_number

Specify the port nuber of the SNMP trap receiver port.

Must be a port number.

Default Value: 162.

user-name user_name

Specify the SNMP trap receiver user name.

Must be a string.

auth authentication_protocol

Specify the authentication protocol to be used.

Must be one of the following:

  • none: No authentication is used.

  • md5: HMAC-MD5-96 authentication protocol is used.

  • sha: HMAC-SHA-96 authentication protocol is used.

Default Value: "none".

auth-key authentication_key

Specify the key to the authentication protocol.

Must be a string.

priv privacy_protocol

Specify the privacy protocol to be used.

Must be one of the following:

  • none: No privacy is used.

  • des: CBC-DES protocol is used.

  • aes: AES-CFB (128 bits) protocol is used.

  • aes192: AES-CFB (192 bits) protocol is used.

  • aes256: AES-CFB (256 bits) protocol is used.

Default Value: "none".

priv-key privacy_key

Specify the privacy key.

Must be a string.

Usage Guidelines

Use this command to configure list of SNMP v3 trap receivers.