User Manual

95
SNMP Commands Set
Netstar
Commands
Command
Level
Description
Default
Example
snmp name
[station name]
Global
configuration
mode
Configure station name.
switch(config)# snmp name
station1
snmp location
[station location]
Global
configuration
mode
Configure station location.
switch(config)# snmp location
Taiwan
snmp contact
[station contact]
Global
configuration
mode
Configure station contact.
switch(config)# snmp contact
HUsupport@netstar.comUH
snmp
community-string
s [Community]
right [RO/RW]
Global
configuration
mode
Add SNMP community string.
public,
private
switch(config)#snmp
community-strings public
right rw
no snmp
community-string
s [Community]
Global
configuration
mode
Remove the specified
community.
switch(config)#no snmp
community-strings public
snmp-server host
[IP address]
community
[Community-strin
g]
Global
configuration
mode
Configure SNMP trap manager
information and community
string
switch(config)#snmp-server
host 192.168.1.50 community
public
no snmp-server
host
[Host-address]
Global
configuration
mode
Remove the SNMP server
host.
switch(config)#no snmp-server
host 192.168.1.50
show snmp
Privileged
EXEC
Show snmp configuration
switch#show snmp