ميشه رو سوييچ يا روتر دوتا يا بيشتر snmp host server تعريف كنيم كه برامون لاگ بفرسته؟
Printable View
ميشه رو سوييچ يا روتر دوتا يا بيشتر snmp host server تعريف كنيم كه برامون لاگ بفرسته؟
يادآوري
[LEFT][COLOR=#000000][FONT=Arial]The following example permits any SNMP to access all objects with read-only permission using the community string named public. The router also will send ISDN traps to the hosts 172.16.1.111 and 172.16.1.33 using SNMPv1 and to the host 172.16.1.27 using SNMPv2c. The community string named public is sent with the traps
snmp-server community public
snmp-server enable traps isdn
snmp-server host 172.16.1.27 version 2c public
snmp-server host 172.16.1.111 version 1 public
snmp-server host 172.16.1.33 public
[url=http://www.cisco.com/en/US/docs/ios/12_2/configfun/configuration/guide/fcf014.html]Cisco IOS Configuration Fundamentals Configuration Guide, Release 12.2 - Configuring SNMP Support[/url]
[/FONT][/COLOR][/LEFT]
[QUOTE=aliafzalan;332192][LEFT][COLOR=#000000][FONT=Arial]The following example permits any SNMP to access all objects with read-only permission using the community string named public. The router also will send ISDN traps to the hosts 172.16.1.111 and 172.16.1.33 using SNMPv1 and to the host 172.16.1.27 using SNMPv2c. The community string named public is sent with the traps
snmp-server community public
snmp-server enable traps isdn
snmp-server host 172.16.1.27 version 2c public
snmp-server host 172.16.1.111 version 1 public
snmp-server host 172.16.1.33 public
[URL="http://www.cisco.com/en/US/docs/ios/12_2/configfun/configuration/guide/fcf014.html"]Cisco IOS Configuration Fundamentals Configuration Guide, Release 12.2 - Configuring SNMP Support[/URL]
[/FONT][/COLOR][/LEFT]
[/QUOTE]
مرسي مهندس
ميشه يه مقدار ساده تر خودت توضيح بدي بهمون؟
اين سه تا هاست كه آدرس داده يعني برا سه تاشون لاگ ميره؟
آره، برای هر سه تا سرور، trap ها فرستاده میشه.
[QUOTE=aliafzalan;332202]آره، برای هر سه تا سرور، trap ها فرستاده میشه.[/QUOTE]
من درباره isdn چيزي دستگيرم نشد! ميشه جسارتا يه توضيح كوچولو هم بابت اون بدي؟
مرسي
شما میتونید روتر را محدود کنید که برای موارد خاص، SNMP trap بفرسته. توی مثال بالا فقط موارد مربوط به ISDN را میفرسته.
ISDN هم اینه: [url=http://en.wikipedia.org/wiki/Integrated_Services_Digital_Network]Integrated Services Digital Network - Wikipedia, the free encyclopedia[/url]
حالا شما اگه یه [B]؟[/B] بگیری، نوشته که دیگه چی میشه فرستاد.