Home > Configuration > Snmp > setsnmptrap_destport

setsnmptrap_destport

Use this method to set uDP port at which the trap listener listens for trap messages. This setting must match the setting on the trap listener. Otherwise, the listener drops the trap messages.

Syntax



Parameters

trapclass

Type of trap specified in the trap-listener entry. Because this parameter is used for identifying the trap listener entry, it cannot be modified after the entry has been created.
This is mandatory parameter.
Possible Values : generic, specific.

trapdestination

IPv4 or the IPv6 address of the trap listener to which the Citrix ADC is to send SNMP trap messages.
This is mandatory parameter.
Minimum value = 1.

destport

UDP port at which the trap listener listens for trap messages. This setting must match the setting on the trap listener. Otherwise, the listener drops the trap messages.
Default value = 162.
Minimum value = 1.
Maximum value = 65534.

Return Value

Returns simpleResult

See Also