7 snmp-server community ipaddr, 8 snmp-server enable traps – Fortinet 548B User Manual

Page 174

Advertising
background image

- 174 -

This command restricts access to switch information. The access mode is read-only (also called public)
or read/write (also called private).

Syntax

snmp-server community {ro | rw} <name>

<name> - community name.

<ro> - access mode is read-only.

<rw> - access mode is read/write.

Default Setting

None

Command Mode

Global Config

7.3.5.7 snmp-server community ipaddr

This command sets a client IP address for an SNMP community. The address is the associated
community SNMP packet sending address and is used along with the client IP mask value to denote a
range of IP addresses from which SNMP clients may use that community to access the device. A value
of 0.0.0.0 allows access from any IP address. Otherwise, this value is ANDed with the mask to
determine the range of allowed client IP addresses. The name is the applicable community name.

Syntax

snmp-server community ipaddr <ipaddr> <name>
no snmp-server community ipaddr <name>

<name> - community name.

<ipaddr> - a client IP address.

no - This command sets a client IP address for an SNMP community to 0.0.0.0. The name is the
applicable community name.

Default Setting

0.0.0.0

Command Mode

Global Config

7.3.5.8 snmp-server enable traps

This command enables the acl trap.

Advertising