4 trap community command, 5 trap destination set command, 6 show snmp settings command – ZyXEL Communications IES-708-22A User Manual

Page 328

Advertising
background image

Chapter 52 SNMP

IES-708-22A User’s Guide

328

where

Use this command to add the host IP address to the list of trusted hosts. If you enter a trusted
host, your IES-708-22A will only respond to SNMP messages from this address. If you leave
the trusted host set to 0.0.0.0 (default), the IES-708-22A will respond to all SNMP messages it
receives, regardless of source.

52.1.4 Trap Community Command

Syntax:

ras> sys snmp trapcommunity <community>

where

Enter this command with the community to set the password.

52.1.5 Trap Destination Set Command

Syntax:

ras> sys snmp trapdst set <index> <ip> [<port>]

where

Use this command specify the IP address (and port number) of a trap server to which the IES-
708-22A sends SNMP traps. If you leave the trap destination set to 0.0.0.0 (default), the IES-
708-22A will not send any SNMP traps.

52.1.6 Show SNMP Settings Command

Syntax:

ras> sys snmp show

This command displays the current SNMP get community, set community, trap community,
trusted hosts and trap destination settings.

<ip>

=

The IP address of a trusted host.

<community>

=

The password sent with each trap to the SNMP manager.

<index>

=

The number of the trap server (1~4).

<ip>

=

The IP address of the trap server.

[<port>]

=

The port number upon which the trap server listens for SNMP
traps. The IES-708-22A uses the default of 162 if you do not
specify a trap port.

Advertising