INS_CNGE2FE8MSPOE2_REV–
12/20/12 PAGE 94
INSTALLATION AND OPERATION MANUAL
CNGE2FE8MSPOE2
TECH SUPPORT: 1.888.678.9427
Commands Set List—SNMP command set
Commands
Level Description
Example
snmp agent-mode
[v1v2c | v3]
G
Select the agent mode of SNMP
switch(config)#snmp agent-mode
v1v2c
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.10.50 community public trap-
version v1
(remove)
Switch(config)#
no snmp-server host
192.168.10.50
snmp community-strings
[Community-string]
right
[RO|RW]
G
Configure the community string
right
switch(config)#snmp community-
strings public right RO
or
switch(config)#snmp community-
strings public right RW
snmp snmpv3-user
[User Name]
password
[Authentication
Password] [Privacy
Password]
G
Configure the user profile for
SNMPV3 agent. Privacy password
could be empty.
switch(config)#snmp snmpv3-user
test01 password AuthPW PrivPW
show snmp
P
Show SNMP configuration
switch#show snmp
show snmp-server
P
Show specified trap server
information
switch#show snmp-server
no snmp community-
strings [Community]
G
Remove the specified community. switch(config)#no snmp community-
strings public
no snmp snmpv3-user
[User Name]
password
[Authentication
Password] [Privacy
Password]
G
Remove specified user of SNMPv3
agent. Privacy password could be
empty.
switch(config)# no snmp snmpv3-user
test01 password AuthPW PrivPW
no snmp-server host
[Host-address]
G
Remove the SNMP server host.
switch(config)#no snmp-server
192.168.10.50