Vous êtes sur la page 1sur 6

SystemManagementUtility compatiblewithallfamiliesofPCs BrocadeFoundryGuide

Author(s):GerhardMourani Correction(s):RandallWatt Version1.0.20090206 Copyright20042010Prival.Allrightsreserved.PrivalEyes

BrocadeFoundryGuide Copyright20042010Prival.Allrightsreserved. PrimaryAuthor(s):GerhardMourani ContributingAuthor(s):RandallWatt

L'informationcontenuedanscedocumentestsujettechangementsanscommunicationpralable.Aucunepartiedece manuelnepeuttrereproduiteoutransmisesousaucuneformeouparaucunmoyen,lectronique,mcanique,ouautrement, ycomprislesphotocopiesetenregistrements,pouraucunbutautrequel'utilisationpersonnelledel'utilisateursans permissioncriteantrieurdupropritaire. DOITTRECONSERVCONFIDENTIELETNEPASTREEMPLOYSANSCONSENTEMENT ANTRIEUREMENTCRITDUPROPRITAIRE. TOUSDROITSRSERVS

Theinformationcontainedinthisdocumentissubjecttochangewithoutnotice.Nopartofthismanualcanbereproducedor distributedinanyformorbyanymeans,electronic,mechanical,orotherwise,includingphotocopiesandrecordings,forany reasonotherthanpersonaluse,withouttheexpresswrittenpermissionoftheowner. THECONTENTSOFTHISDOCUMENTMUSTBEKEPTCONFIDENTIALANDCANNOTBEUSEDWITHOUT THEEXPRESSWRITTENCONSENTOFTHEOWNER. ALLRIGHTSRESERVED.

Commentairesbienvenue
Voscommentairessontimportantpournous! Nousdsironsquenosdocumentssoientlespluspertinentpossible.Envoyeznousvoscommentairessur cedocumentoutoutautred'unedesmaniressuivante:

UtilisezleformulaireContactezNousenlignedisponiblel'adressesuivante: http://www.privalsolutions.com/en/contact Envoyezvoscommentairesdansuncourriell'adressesuivante: noc@prival.ca Postezvoscommentaires: Prival 9955CataniaAveSuite145 Brossard(Qubec),J4Z3V5 Canada

Commentswelcome
Yourcommentsareimportanttous! Wewantourdocumentstobeashelpfulaspossible.Sendusyouscommentsaboutthisorother documentsinoneofthefollowingways:

UsetheonlineContactusformfoundat: http://www.privalsolutions.com/en/contact Sendyourcommentsinanemailto: noc@prival.ca Mailyourcommentsto: Prival 9955CataniaAveSuite145 Brossard(Quebec),J4Z3V5 Canada

TableofContents
Introduction...........................................................................................................................................5 Enable&ExportSystemLogsonBrocadeFoundrySwitch.........................................................5 EnableSNMPProtocol&TrapsonBrocadeFoundrySwitch......................................................5 Enable&ExportsFlowStatisticsonBrocadeFoundrySwitch....................................................6

Introduction
Thisdocumentexplainshowtoconfigure,enableBrocade/Foundrydevicessuchasswitchestosendlog messages,SNMPorNetFlowsstatisticstoaMonitoringServerlikePrivalEyes.Pleasetakeanotethat commandsasexplainedintothisdocumentmayvaryaccordingtoyourIOSversionandBrocademodels.

Enable&ExportSystemLogsonBrocadeFoundrySwitch
Step1 UseTelnetorSSHtoconnecttoyourswitch,thenenterthefollowingcommandstoenableandconfiguresystem logmessagestobeexportedtoyourPrivalEyesserver.
conf t logging host <ip or hostname of monitoring server> logging facility syslog logging buffered 100 no logging buffered debugging no logging buffered informational exit write mem

TheabovecommandswillsetittologeverythingtotheIPorhostnameoftheremoteMonitoringServer.

EnableSNMPProtocol&TrapsonBrocadeFoundrySwitch
Step1 UseTelnetorSSHtoconnecttoyourswitch,thenenterthefollowingcommandstoenableandconfigureSNMP.
conf t snmp-server snmp-server snmp-server snmp-server snmp-server snmp-server exit write mem view v2view iso included community version v2c 1qaz2wsx ro contact support@prival.ca location Brossard host 1.2.3.4 version v2c 1qaz2wsx group SNMPGroupV2 v2c

TheabovecommandswillsetittoallowanyIPtomakeSNMPrequestsontheswitch.The1qaz2wsx representthecommunitystringand1.2.3.4theIPaddressoftheremoteMonitoringServerusedtosendTraps.

Enable&ExportsFlowStatisticsonBrocadeFoundrySwitch
Step1 Enableitglobally:
1. (config)# sflow enable

Step2 Configureadestination.
1. (config)# sflow destination x.x.x.x

TheabovecommandswillsendsFlowtothedestinationIPx.x.x.xwhichistheoneusedbyPrivalEyes. Step3 Enableitonport(s).


1. (config)# interface eth 1 (or for multiple ports (config)# int e 1/1 to 4/48) 2. (config-if-1)# sflow forwarding

Note:Youcanalsoenablesamplerateandpollingintervaldependingoftheaccuracyofthereceivedpacketthat youwanttoget.SeetheFoundrysFlowConfig.pdfdocumentincludedintoyourPrivalEyesCDROMfor moredetailedinformationaboutthesetup.


config> sflow sample 128 config> sflow polling-interval 30