SNMP v3 with trap Configuration Example(0517174227)_snmppdu报文格式解析
SNMP v3 with trap Configuration Example(0517174227)由刀豆文库小编整理,希望给你工作、学习、生活带来方便,猜你可能喜欢“snmppdu报文格式解析”。
SNMP v3 with trap Configuration Example
[Topology]
Vlan1
2.0.0.1/8
PC1: 2.0.0.2/8 eth2.1
[Configuration] R1
Step 1: enable snmp and set snmpv3 trap server
DGS-6600:15(config)#snmp-server
DGS-6600:15(config)#snmp-server enable traps
DGS-6600:15(config)# snmp-server host 2.0.0.2 version 3 noauth initial
Step 2: configure IP addre of VLAN
DGS-6600:15(config)#interface vlan1
DGS-6600:15(config-if)#ip addre 2.0.0.1/8
[Verification]
1)Use the following command to check the configuaton.DGS-6600:15#show snmp-server
SNMP Server: Enabled
System Name: N/A
Location: N/A
Contact: N/A
DGS-6600:15#show snmp host
Host IP AddreSNMP VersionCommunity NameSNMPv3 User Name----------------2.0.0.2v3noauthinitial
Total Entries: 1
2)plug cable into one of DGS-6600 port, and PC1 can receive link-up v3 trap meage.
