configure snmp access-profile readonly
ExtremeWare Software 7.3.0 Command Reference Guide 107
configure snmp access-profile readonly
configure snmp access-profile readonly [<access-profile> | none]
Description
Assigns an access profile that limits which stations have read-only access to the switch.
Syntax Description
Default
All users have access until an access profile is created and specified.
Usage Guidelines
The ability to read SNMP information can be restricted through the use of an access profile. An access
profile permits or denies a named list of IP addresses and subnet masks.
You must create and configure an access profile before you can use this command. You create an access
profile using the
create access-profile
command. You configure an access profile using the
configure access-profile
command.
Use the
none
option to remove a previously configured access profile.
Read community strings provide read-only access to the switch. The default read-only community
string is public. The community string for all authorized trap receivers must be configured on the
switch for the trap receiver to receive switch-generated traps. SNMP community strings can contain up
to 32 characters.
To view the SNMP read-only access communities configured on the switch, use the
show management
command. The
show management
command displays information about the switch including the
encrypted names and the number of read-only communities configured on the switch.
To restore defaults to all SNMP-related entries, including the SNMP parameters modified using the
configure snmp access-profile readonly
command, use the
unconfigure management
command.
Example
The following command allows the user defined access profile admin read-only access to the switch:
configure snmp access-profile readonly admin
History
This command was first available in ExtremeWare 6.0.
access-profile Specifies a user defined access profile.
none Cancels a previously configured access profile.