beautypg.com

Fortinet 548B User Manual

Page 173

background image

- 173 -

This command activates an SNMP community. If a community is enabled, an SNMP manager
associated with this community manages the switch according to its access right. If the community is
disabled, no SNMP requests using this community are accepted. In this case the SNMP manager
associated with this community cannot manage the switch until the Status is changed back to Enable.

Syntax

snmp-server community mode
no snmp-server community mode

- community name.

no - This command deactivates an SNMP community. If the community is disabled, no SNMP
requests using this community are accepted. In this case the SNMP manager associated with this
community cannot manage the switch until the Status is changed back to Enable.

Default Setting

The default public and private communities are enabled by default. The four undefined communities
are disabled by default.

Command Mode

Global Config

This command sets a client IP mask for an SNMP community. The address is the associated community
SNMP packet sending address and is used along with the client IP address value to denote a range of IP
addresses from which SNMP clients may use that community to access the device. A value of
255.255.255.255 will allow access from only one station, and will use that machine's IP address for the
client IP Address. A value of 0.0.0.0 will allow access from any IP address. The name is the applicable
community name.

Syntax

snmp-server community ipmask
no snmp-server community ipmask

- community name.

- a client IP mask.

no - This command sets a client IP mask for an SNMP community to 0.0.0.0. The name is the
applicable community name. The community name may be up to 16 alphanumeric characters.

Default Setting

0.0.0.0

Command Mode

Global Config