+7(495) 797-3311 www.qtech.ru
Москва, Новозаводская ул., 18, стр. 1
26
form of this command cancels this
IPv4 or IPv6 address.
snmp-server trap-source {<ipv4-address> | <ipv6-
address>}
no snmp-server trap-source {<ipv4-address> |
<ipv6-address>}
Set the source IPv4 or IPv6 address
which is used to send trap packet,
the no command deletes the
configuration.
9. Enable/Disable RMON
Command
Explanation
Global mode
rmon enable
no rmon enable
Enable/disable RMON.
2.4.5 Typical SNMP Configuration Examples
The IP address of the NMS is 1.1.1.5; the IP address of the switch (Agent) is 1.1.1.9.
Scenario 1:
The NMS network administrative software uses SNMP protocol to obtain data
from the switch.
The configuration on the switch is listed below:
Switch(config)#snmp-server enable
Switch(config)#snmp-server community rw private
Switch(config)#snmp-server community ro public
Switch(config)#snmp-server securityip 1.1.1.5
The NMS can use private as the community string to access the switch with read-write
permission, or use public as the community string to access the switch with read-only
permission.
Scenario 2:
NMS will receive Trap messages from the switch (Note: NMS may have
community string verification for the Trap messages. In this scenario, the NMS uses a Trap
verification community string of usertrap).
The configuration on the switch is listed below:
Switch(config)#snmp-server enable
Switch(config)#snmp-server host 1.1.1.5 v1 usertrap
Switch(config)#snmp-server enable traps
Scenario 3:
NMS uses SNMP v3 to obtain information from the switch.
The configuration on the switch is listed below:
Switch(config)#snmp-server
Summary of Contents for QSW-2800 series
Page 189: ...7 495 797 3311 www qtech ru 18 1 175...