Skip to content

snmptrap

SNMP Trap Destinations

show | delete | set | add

show snmptrap

Use this operation to get snmp trap destination details

Synopsys

show snmptrap [dest_server=<internethost>]

Parameters

dest_server

Trap Destination Server Address

delete snmptrap

Use this operation to delete snmp trap destination

Synopsys {#synopsys-1 style="margin-left: 20px;"}

delete snmptrap dest_server=<internethost>

Parameters {#parameters-1 style="margin-left: 20px;"}

dest_server

Trap Destination Server Address

This is a mandatory parameter.

set snmptrap

Use this operation to modify snmp trap destination

Synopsys {#synopsys-2 style="margin-left: 20px;"}

set snmptrap dest_server=<internethost> [user_name=<string...>] [community=<stringx>] [dest_port=<int>] [version=<string>]

Parameters {#parameters-2 style="margin-left: 20px;"}

dest_server

Trap Destination Server Address

This is a mandatory parameter.

user_name

Name of SNMP Trap User

community

Community Name

dest_port

Destination Port

version

SNMP version

add snmptrap

Use this operation to add snmp trap destination

Synopsys {#synopsys-3 style="margin-left: 20px;"}

add snmptrap dest_server=<internethost> [user_name=<string...>] [community=<stringx>] [dest_port=<int>] [version=<string>]

Parameters {#parameters-3 style="margin-left: 20px;"}

dest_server

Trap Destination Server Address

This is a mandatory parameter.

user_name

Name of SNMP Trap User

community

Community Name

dest_port

Destination Port

version

SNMP version

Was this article helpful?