BelAir100SN User Guide
BelAir100SN Access Methods
May 31, 2010
Confidential
Document Number BDTM11001-A01 Released
Communities
/protocol/snmp/set community <CommunityIndex>
community-name <name> ipaddr <ip_addr>
privilege {readonly|readwrite}
/protocol/snmp/delete community <CommunityIndex>
/protocol/snmp/show community
The
set community
command configures the SNMP community security. You
can configure up to 10 communities. The community is assigned with privileges.
The
delete community
command deletes the specific community information.
The
show
command displays the SNMP community configuration.
Assigning an IP address of 0.0.0.0 to an SNMP community of a node allows node
access by all managers configured for that community. See
. To limit access to a single manager, enter the manager’s IP address. See
.
Example 1
/protocol/snmp# set community 1 community-name belair ipaddr 0.0.0.0 privilege readonly
In this example, all managers configured with the SNMP community of
belair
can access the node for read only functions.
Example 2
/protocol/snmp# set community 1 community-name belair200 ipaddr 10.10.10.11 privilege readonly
/protocol/snmp# set community 2 community-name belair100 ipaddr 20.20.20.20 privilege readwrite
/protocol/snmp# set community 3 community-name belcom ipaddr 30.30.30.30 privilege readonly
In the previous example, the manager at IP address 20.20.20.20 configured with
the SNMP community of
belair100
has read-write access to the node.
Example 3
/protocol/snmp# show community
Index Name IP Address Privilege
----- ------------------ --------------- -----------
1 public 0.0.0.0 ReadOnly
2 private 10.1.1.70 ReadWrite
Traps
/protocol/snmp/set trap <index> mgr-addr <ip_addr>
community <name> version {v1|v2|both}
/protocol/snmp/delete trap <index>
/protocol/snmp/show trap
The
set trap
command configures the parameters of the SNMPv2 trap manager.
You can configure up to 10 traps.
The
delete trap
command deletes the specified trap manager information.