xStack Gigabit Layer 3 Switch Command Line Interface Manual
Command Parameters
<view_name 32> | notify_view <view_name 32>}
delete snmp group
<groupname 32>
show snmp groups
create snmp host
<ipaddr> {v1 |v2c | v3 [noauth_nopriv | auth_nopriv | auth_priv]}
<auth_string 32>
delete snmp host
<ipaddr>
show snmp host
<ipaddr>
create trusted_host
<ipaddr>
delete trusted_host
<ipaddr>
show trusted_host
<ipaddr>
enable snmp traps
enable snmp
authenticate_traps
show snmp traps
disable snmp traps
disable snmp
authenticate_traps
config snmp system
contact
<sw_contact>
config snmp system
location
<sw_location>
config snmp system
name
<sw_name>
enable rmon
disable rmon
Each command is listed, in detail, in the following sections.
create snmp user
Purpose
Used to create a new SNMP user and adds the user to an SNMP
group that is also created by this command.
Syntax
create snmp user <SNMP_name 32> <groupname 32>
{encrypted [by_password auth [md5 <auth_password 8-16> |
sha <auth_password 8-20>] priv [none | des <priv_password 8-
16>] | by_key auth [md5 <auth_key 32-32> | sha <auth_key 40-
40>] priv [none | des <priv_key 32-32>]]}
Description
The
create snmp user
command creates a new SNMP user and
adds the user to an SNMP group that is also created by this
command. SNMP ensures:
Message integrity
−
Ensures that packets have not been tampered
with during transit.
Authentication
−
Determines if an SNMP message is from a valid
source.
33