112
4.9.4
CLI Commands of the SNMP
Command Lines of the SNMP configuration
Feature
Command Line
SNMP Community
Read Only Community
Switch(config)# snmp-server community public ro
community string add ok
Read Write Community
Switch(config)# snmp-server community private
rw
community string add ok
SNMP Trap
Enable Trap
Switch(config)# snmp-server enable trap
Set SNMP trap enable ok.
SNMP Trap Server IP
without specific
community name
Switch(config)# snmp-server host 192.168.2.33
SNMP trap host add OK.
SNMP Trap Server IP with
version 1 and community
Switch(config)# snmp-server host 192.168.2.33
version 1 private
SNMP trap host add OK.
Note: private is the community name, version 1
is the SNMP version
SNMP Trap Server IP with
version 2 and community
Switch(config)# snmp-server host 192.168.2.33
version 2 private
SNMP trap host add OK.
Disable SNMP Trap
Switch(config)# no snmp-server enable trap
Set SNMP trap disable ok.
Display
Switch# sh snmp-server trap
SNMP trap: Enabled
SNMP trap community: public
Switch# show running-config
.......
snmp-server community public ro
snmp-server community private rw
snmp-server enable trap
snmp-server host 192.168.2.33 version 2 admin
snmp-server host 192.168.2.33 version 1 admin
……..
Содержание MDI-112 Series
Страница 1: ...1 MDI 118 Series MDI 112 Series User s Manual Version 1 1 Industrial Managed Ethernet Switch...
Страница 9: ...5 Figure of MDI 118 F2G Figure of MDI 112 F4G...
Страница 102: ...98 After configuration press Apply to enable the settings...
Страница 143: ...139 Username admin Password admin SMTP Email Alert Receipt Receipt 1 support westermo se Receipt 2 Receipt 3 Receipt 4...
Страница 175: ...171...