Transition Networks MIL-SM2401MAF
24-Hour Technical Support: 1-800-260-1312 International: 00-1-952-941-7600
40
SNMP Commands Set
Commands
Command
Level
Description
Defaults
Example
snmp
system-name
[word]
Global
configuration
mode
Set SNMP agent
system name
N/A
Switch (config)#
snmp system-name
l2switch
snmp
system-location
[word]
Global
configuration
mode
Set SNMP agent
system location
N/A
Switch (config)#
snmp
system-location lab
snmp
system-contact
[word]
Global
configuration
mode
Set SNMP agent
system contact
N/A
Switch (config)#
snmp
system-contact
where
snmp
community-strin
gs [word] right
[RO | RW]
Or
no snmp
community-strin
gs [word]
Global
configuration
mode
Add SNMP
community string.
Use the no form of
this command to
remove the
specified
community.
PUBLIC
RO
Switch (config)#
snmp
community-strings
public right RW
Switch(config)#
no snmp
community-strings
public right rw
snmp-server
host
[IP-address]
community
[word]
No snmp-server
Global
configuration
mode
Configure SNMP
server host
information and
community string
N/A
Switch(config)#
snmp-server host
192.168.1.50
community
public
Switch(config)#
no