Command Guide of WGSW-28040
290
NAME
Snmp community name or user name
[udp-port
<1-65535>]
The manage receive trap udp port num
[timeout <1-300>]
The notify type is inform timeout value
[retries <1-255>]
The notify type is inform retries
Mode:
Global Configuration
Usage Guide:
This command can’t configure version 1 inform
When use traps, this command can’t configure udp-port and retries.
The host use NAME witch is snmp community or user NAME must exist.
The host use host security level must match the snmp user security level
The configure can use ‘show snmp host’ to check
Example:
The following example specifies that snmp community configure test.
Switch(config)#
snmp community public ro
Switch(config)#
snmp community private rw
Switch(config)#
snmp group group3 version 3 auth read-view all write-view all
Switch(config)#
snmp user user1 group3 auth md5 12345678
Switch(config)#
snmp host 192.168.1.100 version 2c public
Switch(config)#
snmp host 192.168.1.100 informs version 2c private
Switch(config)#
snmp host 192.168.1.100 version 3 auth user1
Switch#
show snmp host
Server Community Name Notification Version Notification Type UDP Port Retries Timeout
----------------------------------------------------------------------------------------------------------------
192.168.1.100 public v2c trap 162 -- --
192.168.1.100 private v2c inform 200 3 10
192.168.1.100 user1 v3 trap 162 -- --
4.24.9 show snmp
Command:
show snmp
Содержание WGSW-28040
Страница 1: ...Command Guide of WGSW 28040 1 ...
Страница 163: ...Command Guide of WGSW 28040 163 gi1 replace gi2 deny gi3 deny gi4 deny gi5 deny More ...
Страница 167: ...Command Guide of WGSW 28040 167 gi1 1 00 11 22 33 44 55 192 168 1 55 255 255 255 255 Static NA ...
Страница 173: ...Command Guide of WGSW 28040 173 7 8 ...
Страница 300: ...Command Guide of WGSW 28040 300 fa1 enable 200 Off 10000 Off 10000 Shutdown ...