34
SNMP Commands Set
Commands
Level Description
Example
snmp system-name
[System Name]
G
Set SNMP agent
system name
switch(config)#
snmp
system-name l2switch
snmp system-location
[System Location]
G
Set SNMP agent
system location
switch(config)#
snmp
system-location lab
snmp system-contact
[System Contact]
G
Set SNMP agent
system contact
switch(config)#
snmp
system-contact where
snmp agent-mode
[v1v2c|v3|v1v2cv3]
G
Select the agent mode
of SNMP
switch(config)#
snmp agent-mode
v1v2cv3
snmp
community-strings
[Community]
right
[RO/RW]
G
Add SNMP community
string.
switch(config)#
snmp
community-strings public right
rw
snmp-server host
[IP address]
community
[Community-string]
trap-version
[v1|v2c]
G
Configure SNMP
server host information
and community string
switch(config)#
snmp-server host
192.168.1.50 community public
trap-version v1
(remove)
Switch(config)#
no snmp-server host
192.168.1.50
snmpv3 context-name
[Context Name ]
G
Configure the context
name
switch(config)#
snmpv3
context-name Test
snmpv3 user
[User Name]
group
[Group Name]
password
[Authentication
Password] [Privacy
Password]
G
Configure the
userprofile for
SNMPV3 agent.
Privacy password
could be empty.
switch(config)#
snmpv3 user
test01 group G1 password
AuthPW PrivPW
Summary of Contents for LPES-2208CA
Page 2: ...Revision History Document Release Date Revision Initials 1 00 Aug 28 2009 New Edit Vincent ...
Page 57: ...50 IP Configuration interface ...
Page 66: ...59 Syslog Configuration interface ...
Page 68: ...61 SMTP Configuration interface ...
Page 70: ...63 Event Configuration interface ...
Page 74: ...67 Click Apply to have the configuration take effect SNTP Configuration interface ...
Page 76: ...69 IP Security interface ...
Page 79: ...72 Port Statistics interface ...
Page 81: ...74 Port Control interface ...
Page 91: ...84 State Activity of Switch 2 ...
Page 105: ...98 RSTP System Configuration interface ...
Page 107: ...100 RSTP Port Configuration interface ...
Page 109: ...102 SNMP System Configuration interface ...
Page 112: ...105 SNMP v3 configuration interface ...
Page 115: ...108 QoS Configuration interface Port Based Priority Configure per port priority level ...
Page 118: ...111 IGMP Configuration interface ...