Shunze ¾Ç¶é >¸ê°T³]³Æ±M°Ï >Extreme & Enterasys > ¡m¤À¨É¡n±NPort UP/DOWN°T®§¶Ç¦^NetSight «¢Åo¡AÁÙ¨S¦³µù¥U©ÎªÌµn¤J¡C½Ð§A[µù¥U|µn¤J]
« ¤W¤@½g¥DÃD ¤U¤@½g¥DÃD » Åã¥Ü¦¨¦C¦L¼Ò¦¡ | ¼W¥[¨ì§Úªº³Ì·R
µoªí·s¥DÃD µoªí¦^ÂÐ
§@ªÌ
¥DÃD
shunze
¤u¤Í§B§B


µù¥U¤é´Á: 2002 04
¨Ó¦Û: ¼é¦Á²×¤î¤§¦a
¤å³¹: 2380

shunze Â÷½u
¡m¤À¨É¡n±NPort UP/DOWN°T®§¶Ç¦^NetSight¤Þ¥Î¦^ÂÐ ½s¿è/§R°£¤å³¹ ·j´M¥Ñ  µoªíªº¨ä¥L¤å³¹ ¦^³øµ¹ª©¥D IP ¦ì¸m ¦^¦¹­¶³Ì¤W¤è

¤@¯ë°ò¥»ªººôºÞ«¬Switch³£¦³Â²³æªºlog¥i¬d¬ÝPort UP/DOWN°T®§¡C
¦ÓEnterasys Switch¤ñ¸û³Â·Ð¡A­n³z¹LSNMP TrapÅýºôºÞ³nÅéNetSight¦¬¶°³o¨Ç°T®§¤~¥i¥H¬Ý¨ì¡C

¥´¶}NetSight¦b­n¦¬¶°Port statusªºSwitch¤W«ö¥kÁä¡AÂI¡§Trap Receiver Configuration¡¨



Trap Receiver Configuration¿ïNetSight¥»¨­¡AµM«á¿ï¾Ü­n§ìªºSwitch¡A«ö¤UApply¡C
SNMPª©¥»¡A¿ï¥ÎV1©ÎV2¬Ò¥i¡F¦ÓV3ªº³¡¤À¸g¶¶¤l´ú¸Õ¬O¤£¦æªº¡C
·íµMNetSight»PSwitch¤WªºSNMP¤º®e­n¤@­P¤~¦æ¡C



´¡©Þ¤@¤Uºô¸ô½u¡A³o®É·|µo²{Port UP/DOWN°T®§¤w¸g¥i¥H¦bNetSightªºTraps­¶­±¤¤¬Ý¨ì¤F¡ã



Switch¤W¹w³]ªºport trap¬O±Ò¥Îªº¡C
­Y³QÃö¤F¡A°O±o­n¥´¶}¤~¯à³z¹LSNMP Trap¦¬¶°³á¡I




♥¶¶¤l¦Ñ±Cªººô©ç¡A½Ð¦hÃö·Ó¡ã

If you don't like something, change it.
If you can't change it, change your attitude.
Don't complain!




2014-08-04, 17:18 shunze ªº­Ó¤H¸ê®Æ §â shunze ¥[¤J¦n¤Í¦Cªí µo°eEmailµ¹ shunze ÂsÄý shunze ªººô¯¸ MSN : shunze@gmail.com
shunze
¤u¤Í§B§B


µù¥U¤é´Á: 2002 04
¨Ó¦Û: ¼é¦Á²×¤î¤§¦a
¤å³¹: 2380

shunze Â÷½u
snmpTargetSpinLock.0 [-746482418]: 10 - Wrong Value¤Þ¥Î¦^ÂÐ ½s¿è/§R°£¤å³¹ ·j´M¥Ñ  µoªíªº¨ä¥L¤å³¹ ¦^³øµ¹ª©¥D IP ¦ì¸m ¦^¦¹­¶³Ì¤W¤è

¦b«È¤áªº¤@­Ó®×¨Ò¤¤¡A¤w¸g½T»{SNMP¸ê°T³£¥¿½T¡A
¦ýNetSight¤W³]©wSwitchªºTrap Receiver Configuration¡A«o©l²×µLªk¦¨¥\¡I

¦b®M¥ÎTrap Receiver«á¡ADevice¤WªºReceiver©l²×±¾ 0 ¡A



´N³sNetSight Console¤]¥X²{¤@µ§ SNMP Set Failed ªº°O¿ý¡C


¿ù»~½X¬O snmpTargetSpinLock.0 [-746482418]: 10 - Wrong Value

¤w¸g¶i¦æ¦UºØSNMPªº³]©w¡A°ÝÃD©l²×µLªk±Æ°£¡C
³Ì«á°õ¦æ show snmp targetaddr ¬d¬Ý receiver ªº¸ê°T¡A«o¥X²{ General Error!
Ãø¹D¬O³o¥xSwitch¯uªº¬OÅÒ¤ý¡I¡H

Switch¤S¤£¯à­«¶}¡A¥u¦n³]©w¤@µ§ targetaddr¡A¦º°¨·í¬¡°¨Âå¬Ý¬Ý¯à§_¸Ñ¨M¦¹°ÝÃD¡C
¦b¸É¤F¤@µ§ targetaddr ¸ê°T«á¡A
Device ªº Receiver ¥X²{¤F³oµ§°O¿ý¡A
Port UP/Down status¦¨¥\ªº¥X²{¦b Traps ­¶­±¤¤¡A
Á`ºâ³B²z¦n¤F³o­Ó®×¨Ò¡I


³]©w targetaddr ¤è¦¡¦p¤U
¥ý¤U show snmp targetparams¡A¨ú±o Target Parameter Names ªº­È XXXX¡C
µM«á¤U set snmp targetaddr «ü¥O¡A±a¤J param °Ñ¼Æ XXXX¡A¤Î Receiver (NetSight) ªºIP¦ì§}192.168.6.36¡C

set snmp targetaddr tr 192.168.6.36 param XXXX

tr ¬°¤@¥i¦Û­q¡Bªø«×¤£¶W¹L32­Óªø«×ªº°ß¤@ÃѧO­È¡C



♥¶¶¤l¦Ñ±Cªººô©ç¡A½Ð¦hÃö·Ó¡ã

If you don't like something, change it.
If you can't change it, change your attitude.
Don't complain!




2014-08-06, 11:17 shunze ªº­Ó¤H¸ê®Æ §â shunze ¥[¤J¦n¤Í¦Cªí µo°eEmailµ¹ shunze ÂsÄý shunze ªººô¯¸ MSN : shunze@gmail.com
shunze
¤u¤Í§B§B


µù¥U¤é´Á: 2002 04
¨Ó¦Û: ¼é¦Á²×¤î¤§¦a
¤å³¹: 2380

shunze Â÷½u
¡m¤À¨É¡nSummit Switch·f°tNetSight¶Ç°etrap event¤Þ¥Î¦^ÂÐ ½s¿è/§R°£¤å³¹ ·j´M¥Ñ  µoªíªº¨ä¥L¤å³¹ ¦^³øµ¹ª©¥D IP ¦ì¸m ¦^¦¹­¶³Ì¤W¤è

ºI¦Ü¥Ø«e¬°¤î¡A³Ì·sª©ªºNetSight 6.1.0.171¸òExtreme Summit Switch·f°t°_¨Ó¡A¬Û®e©ÊÁÙ¬O¤£¦n¡C
¬Û®e©Ê°ÝÃD¤]¥]§t¤FNetSightªºTrap Receiver Configuration¡C

ÁöµM³z¹LNetSightªºTrap Receiver Configuration¨Ó³]©wSummit SwitchªºTrap Receiver³£Åã¥Ü¦¨¥\¡A
¦ýtrap event«o¬O§¹¥þµLªkµo°eµ¹°µ¬°ReceiverªºNetSight¡C

³Ì«á¶¶¤l°Ñ¦ÒCLI¤â¥U¤â°Ê§R°£³z¹LNetSight UI©Ò«ØªºSNMP trap receiver¡A
µM«á¦A¤â°Ê«Ø¥ßSNMP trap receiver¡A
µ²ªG¡ASummit´N¥i¥H¦¨¥\¶Ç°etrap eventµ¹NetSight¤F¡ã

configure snmp delete trapreceiver <NetSight-IP>
configure snmp add trapreceiver <NetSight-IP> community public from <Switch-IP> vr vr-default mode enhance


¤ñ¸û¨âªÌ¤§¶¡ªº®t²§¡A¶¶¤lµo²{³z¹LNetSight©Ò«Øªºtrap receiver¤Ö¤FSource IP Address¡C
¤]´N¬O¦]¬°¤Ö¤F³o­Ó¨Ó·½¦a§}¡A©Ò¥HµLªkµo°etrap eventµ¹NetSight¡C





©x¤è»¡ªk¡A¦bNetSight 6.2«á·|»PSummmit Switch(¶´Å骩¥»15.4¥H¤W)¦³¸û§¹¾ã¬Û®e©Ê¡C
¶â...§Æ±æ¬O¦p¦¹°Õ...


***2015/2/16¸É¥R»¡©ú***
NetSight 6.2.0.183¤w®³¨ì¤F¡A¦ýtrap receiverªº³]©wÁÙ¬O¤@¼Ë¤£¦æ...
Extreme Summit Switchªºtrap receiverÁÙ¬O¦Û¦æ¤â°Ê³]©w§a¡I



♥¶¶¤l¦Ñ±Cªººô©ç¡A½Ð¦hÃö·Ó¡ã

If you don't like something, change it.
If you can't change it, change your attitude.
Don't complain!




2015-02-11, 17:11 shunze ªº­Ó¤H¸ê®Æ §â shunze ¥[¤J¦n¤Í¦Cªí µo°eEmailµ¹ shunze ÂsÄý shunze ªººô¯¸ MSN : shunze@gmail.com
shunze
¤u¤Í§B§B


µù¥U¤é´Á: 2002 04
¨Ó¦Û: ¼é¦Á²×¤î¤§¦a
¤å³¹: 2380

shunze Â÷½u
¡m¤À¨É¡nEnterasys Switch SNMP Trap Receiver¥¿½T°µªk¤Þ¥Î¦^ÂÐ ½s¿è/§R°£¤å³¹ ·j´M¥Ñ  µoªíªº¨ä¥L¤å³¹ ¦^³øµ¹ª©¥D IP ¦ì¸m ¦^¦¹­¶³Ì¤W¤è

¦b°Q½×¦êªº«e¤G½g¤À¨É¤FEnterasys Switch SNMP Trap Receiverªº³]©w¤èªk¡A
¤£¹L³o¨â½g°Q½×¦³ÂI¥»¥½­Ë¸mªº·N¨ý¦b...

¦b°Q½×SNMP Trap Receiverªº°µªk¤§«e¡A§Ú­ÌÀ³¸Ó¥ýÁA¸Ñ¥¦ªº¹B§@¤è¦¡¡F
ÁA¸Ñ¨ä¹B§@¤è¦¡«á¡A¦A¨Ó°£¿ù¤~·|©ú¥Õ¨ä©Ò¥HµM¡ã

°ò¥»¤WSNMP Trap Receiver¬O³z¹LSNMPªº¤è¦¡¡A±NSwitchªº¤@¨Ç°T®§°e¨ì±µ¦¬ºÝ¡A¦ÓSNMP¤S¦³V1¡AV2C©ÎV3¤TºØª©¥»¡F
¦]¦¹¦b«Ø¸m¤W¡A²Ä¤@¨B­n°µªº¦ÛµM´N¬OSNMPª©¥»ªº¿ï¾Ü¡A
µM«á¦A³]©w°T®§­n¶Ç°e¨ì­þ­Ó±µ¦¬ºÝ¡C


¦b³o½g¤À¨É¤¤¡A©óSNMPª©¥»ªº¿ï¾Ü¤W¶¶¤l¨Ï¥Î¤F¸û´¶¤ÎªºV2C¡A
°ò¥»¤WV1»PV2C¬O¬Û¦Pªº¡A­Y·Q¶i¦æV3ªº³]©w¡A¥i°Ñ¦Ò ³o½g¡C
¦ý¶¶¤l¤§«e¦bNetSight¤W´ú¸ÕV3¬O¥¢±Ñªº¡A©Ò¥H©ñ±óV3ªº³]©w¡C


³]©wSNMP Community¨Ï¥Îªºª©¥»¡B¸s²Õ»PÅv­­
¦bSNMP Communityªº³]©w¤W¬OµLªk³z¹LNetSight¨Ó¶i¦æªº¡A
³o­Ó³¡¤À½Ð¨Ä¨Äªºµn¤JSwitchªºCLI¶i¦æ³]©w¡C

©w¸qSNMP Community

set snmp community <Community_Name>
set snmp community public



©w¸qSNMP Community¸s²Õ
set snmp group <GroupName> user <Community_Name> security-model v2c
set snmp group groupRW user public security-model v2c



©w¸qSNMP Community¸s²ÕÅv­­
set snmp access <GroupName> security-model v2c read All write All notify All
set snmp access groupRW security-model v2c read All write All notify All



³]©w§¹«á¡A¥Nªí·s¼W¤F¤@­Ó¦W¬° public ªº community¡A¦¹ community ÄÝ©ó groupRW ¸s²Õ¤¤¡C
¦Ó¸Ó¸s²Õ groupRW ¾Ö¦³§¹¾ãªºÅª¨úÅv­­¡A¥i¥Hµo°e°T®§¡C


³]©wSNMP Trap Receiver
³o­Ó³¡¤À­ì«h¤W¥i¥H³z¹LNetSight¨Ó¶i¦æ¡A´N¦p¦P°Q½×¦ê¤¤²Ä¤@½g¤å³¹©Ò´£ªº¤è¦¡¡C
¤£¹L¦pªG³]©w¥¢±Ñ¡A§A¥i¯àÁÙ¬O­nÁA¸Ñ¥¦¨s³º°µ¤F¤°»ò¡H
¤~¦³¿ìªk¬d¬Ý³]©w¤W¬O­þùØ¥X¤F°ÝÃD¡C

³]©wSwitchªºTrap Parameter¡A¥HV1¡AV2C©ÎV3­þºØ¤è¦¡µo°e°T®§¡A¤S¬O³z¹L­þ­Ócommunity¨Ó¶i¦æ¡C
set snmp targetparams <Target_Parameter_Name> user <Community_Name> security-model v2c message-processing v2c
set snmp targetparams TV1public user public security-model v2c message-processing v2c



©w¸qNotify Name°T®§ªºµo°e¼Ò¦¡¡Atrap or inform¡C
set snmp notify <Notify_Name> tag <Tag_List> <trap | inform> [nonVolatile | Volatile]
set snmp notify TVTrapTag tag TVTrapTag trap nonVolatile



«ü©w±µ¦¬trapªºserver IP¦ì§}¸ê°T¡A¨ÃÃöÁp¨ìTrap Parameter»PNotify Name¡C
set snmp targetaddr <Target_Address_Name > <Trap_Server_IP> param <Target_Parameter_Name> taglist <Tag_List>
set snmp targetaddr TV8c735ac9TV1public 10.1.1.1 param TV1public taglist TVTrapTag



¥H¤W¨â³¡¤À³]©w§¹¦¨«á¡A
NetSight¤WÀ³¸Ó´N¯à¦¨¥\¦¬¨ìSwitch©Ò°e¥Xªºtrap event°T®§¡C


°Ñ¦Ò¸ê®Æ
Enterasys SNMP traps configuration



♥¶¶¤l¦Ñ±Cªººô©ç¡A½Ð¦hÃö·Ó¡ã

If you don't like something, change it.
If you can't change it, change your attitude.
Don't complain!




2015-02-24, 15:30 shunze ªº­Ó¤H¸ê®Æ §â shunze ¥[¤J¦n¤Í¦Cªí µo°eEmailµ¹ shunze ÂsÄý shunze ªººô¯¸ MSN : shunze@gmail.com
  « ¤W¤@½g¥DÃD ¤U¤@½g¥DÃD »
µoªí·s¥DÃD µoªí¦^ÂÐ
¸õ¨ì:

Powered by: Burning Board 1.1.1 2001 WoltLab GbR