150 | Command Line Reference | SmartNA-X 1G/10G Modular
Parameters
•
community Specify the community name (password) used to authenticate the management station to the device. Note
the following restrictions when specifying a community name:
community names are case-sensitive (community and Community are not the same)
•
•
the first character must be a letter
•
must contain alpha-numeric characters only (no spaces or punctuation characters allowed)
•
the maximum length permitted is 32 characters
•
rw, ro Set community access to read-write or read only.
oid oid-root Restrict community access to the MIB tree rooted at the specified object identifier (OID). If an OID
•
is not specified, access to the MIB defaults to OID .1 (the complete MIB tree). Network Critical MIBs start at
1.3.6.1.4.1.31645.
•
source source-addr Limit access to the community to management stations with the specified IP address, hostname or
subnet. A subnet is specified as IP/mask (10.10.10.0/255.255.255.0 or 10.10.10.0/24 for example).
•
ipv4, ipv6 Limit access to the community to IPv4 or IPv6 traffic.
Example
Add a read only community from IPv4 management stations on subnet 192.168.0.0/16. Restrict access to OID
1.3.6.1.4.1.31645:
CONTROLLER>snmp create community community-name ro oid 1.3.6.1.4.1.31645 source 192.168.0.0/16 ipv4
CONTROLLER>snmp show community
Community number 0
IP protocol version : ipv4
comString : CommunityName
Community Type : ro
oid : 1.3.6.1.4.1.31645
source : 192.168.0.0/16
CONTROLLER>snmp apply
snmp delete community
Use the snmp delete community command to delete SNMP v1 and v2c communities.
Syntax
snmp delete community community-name
Parameters
community-name Specify the community to delete.
Example
Delete the SNMP community community-name:
CONTROLLER>snmp delete community community-name
CONTROLLER>snmp show community
No community strings configured
CONTROLLER>snmp apply
snmp show user
Use the snmp show user command to display details for each SNMPv3 user.
™
©
SmartNA-X
1G/10G User Guide 1.4
2015 Network Critical Solutions Limited
Need help?
Do you have a question about the SmartNA-X and is the answer not in the manual?