160
SNMP Commands
FILE LOCATION: C:\Users\gina\Desktop\Checkout_new\CLI Folders\Dell Contax
CLI\files\SNMP.fm
D E L L C O N F ID E N T IA L – P R E L IM I N A RY 5 / 1 5 /1 2 - F O R P R O O F O N LY
Management Protocol command. Use the
no
form of this command to
remove the specified community string.
Syntax
snmp-server community
string [view view-name] [ro | rw | su] {ipv4-
address| ipv6-address} [mask | prefix-length] [type router | oob]
snmp-server community-group
string group-name [ipv4-address| ipv6-
address] [mask | prefix-length] [type router | oob]
no snmp-server community
string [ipv4-address| ipv6-address]
Parameters
•
string
—Community string that acts like a password and permits access to
the SNMP protocol. (Range: 1–20 characters)
•
ro
—Specifies read-only access (default)
•
rw
—Specifies read-write access
•
su
—Specifies SNMP administrator access
•
view view-name
—Specifies the name of a view to be configured using the
command
snmp-server view
(no specific order of the command
configurations is imposed on the user). The view defines the objects
available to the community. It is not relevant for
su
, which has access to
the whole MIB. If unspecified, all the objects, except the community-table
and SNMPv3 user and access tables, are available. (Range: 1–30
characters)
•
ipv4-address
—Management station IPv4 address. The default is all IP
addresses.
•
ipv6-address
—Management station IPv4 address. The default is all IP
addresses.
•
mask
—Specifies the mask of the IPv4 address. This is not a network mask,
but rather a mask that defines which bits of the packet’s source address are
compared to the configured IP address. If unspecified, it defaults to
255.255.255.255. The command returns an error if the mask is specified
without an IPv4 address.
•
prefix-length
—Specifies the number of bits that comprise the IPv4
address prefix. If unspecified, it defaults to 32. The command returns an
error if the prefix-length is specified without an IPv4 address.