驗收v200r010c00配置指南-設備管理_第1頁
驗收v200r010c00配置指南-設備管理_第2頁
驗收v200r010c00配置指南-設備管理_第3頁
驗收v200r010c00配置指南-設備管理_第4頁
驗收v200r010c00配置指南-設備管理_第5頁
已閱讀5頁,還剩41頁未讀, 繼續(xù)免費閱讀

下載本文檔

版權說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權,請進行舉報或認領

文檔簡介

信息中心配關于理員和開發(fā)人員網(wǎng)絡運行情況和診斷網(wǎng)絡故障提供強有力的支持。配置輸出Debug信定目原理信息的分信息類內(nèi)容描信息類內(nèi)容描Debug信Debug信息信息的分顯示嚴重等描01234567信息的輸信息類 信息通 輸出方00 Log信123Debug信45SNMP67 TrapDebug信息流9Log緩沖需要通道的名稱,也可以通道與輸出方向之間的對應關系。例如,信息輸出通道的缺省情況如表4-3通道缺省通道輸出方輸出方向的012通道缺省通道輸出方輸出方向的345SNMP理SNMP,可以接收Trap信息6789信息的過DebugDebug信息的輸出格Log信息的輸出格Log信息的格式如圖4-24-2Log<Int_16>TimeStampTimeZoneHostName%%ddModuleName/Severity/Brief123456789前時時主華版模日信日流詳導間區(qū)機為本塊志息志水細符戳名號名號各字段的詳細說明如表4-4所示字字段含說hh:mm:ss;英文環(huán)境下為mmddyyyy-SD字字段含說Trap信息的輸出格Trap信息的格式如圖4-34-3Trap#TimeStampTimeZoneHostName12345678信時時主模告信詳息間區(qū)機塊警息細戳名名各字段的詳細說明見表4-5字字段含說#hh:mm:ss;英文環(huán)境下為mmddyyyy字字段含說二進制日Theuserchose[Y/N]whendecidingwhethertorebootthe它的ID 2009-5-2119:46:52Switch%%01CMD/4/REBOOT(l):TheuserchoseNwhendecidingwhethertorebootthesystem.時間(2009-5-2119:46:52的數(shù)值表示)+ID( 成21M文本格式的日志文件,節(jié)省大量的空間,減少大量I/O操作,延長設備應用向日志文件輸Log如圖4-4所示,信息中心將指定級別的Log信息輸出到日志文件中,人員將日志文NetwNetwSw FTPS向日志主機輸LogLogHost

LogHostSw

NetwLogHost LogHost向輸出Trap信NetwNetwSw NM向控制DebugCCSw P涉及License支

S1720GW、S1720GWR、S1720GW-E、S1720GWR-E加載license之后才可應用版本系產(chǎn)支持版系產(chǎn)支持版S1720GW、V100R005C01、V100R005C01、V100R005C01、V100R005C01、S5700S-系產(chǎn)支持版S5710-C-S5710-X-S5720LI、S5720S-S5720SI、S5720S-V100R005C01、V100R006C01、)V200R003C00、V200R006C00、系產(chǎn)支持版V100R006C00、S6720S-說明如需了解交換機軟件配套詳細信息,請參看以太網(wǎng)交換機版本配套速查特性依無配置輸Log前置配置

配置Log信息輸出的配置流程如表4-7所示序配置任務名配置任務說配置流程說12序配置任務名配置任務說配置流程說34.5.3(可選)置Log信息的過功44.5.4(可選)置Log信息的時戳54.5.5(可選)使能Log信息的64.5.6(可選)置海量日功74.5.7(可選)置連續(xù)重的統(tǒng)計抑制84.5.8配置Log如果用戶希望在Log息輸出到Log緩設備產(chǎn)生的Log區(qū)94.5.9配置Log信4.5.10配置Log息輸出到控制用戶可以在控制臺(通過Console4.5.11配置Log息輸出到終Snet等方式登錄到設備上的4.5.12配置Log息輸出到日志機使能信息中操作

步驟1執(zhí)行命令system-view步驟2執(zhí)行命令info-centerenable,使能信息中心功能。(可選)命名信息通背景操作

說明對應起來以免。通道編缺省通道0123456789步驟1執(zhí)行命令system-view步驟2執(zhí)行命令info-centerchannelchannel-numbernamechannel-name,配置指定編號的信息(可選)配Log信息的過濾功背景

操作步驟1執(zhí)行命令system-view步驟2執(zhí)行命令info-centerfilter-idid|bymodule-aliasmodnamealias&<1-50>,或者info-centerfilter-id{id|bymodule-aliasmodnamealias}[bytimeinterval|bynumbernumber],配置對指定的Log信息的過濾功能。說明 目前只支持對50個不同的ID或模塊進行。過濾表志ID數(shù)超過50時,會提示過濾表滿,如果需要繼續(xù)配置信息的過濾功能,需要先執(zhí)行命令undoinfo-centerfilter-id{id|bymodule-aliasmodnamealias}&<1-50>或undoinfo-centerfilter-id{id|bymodule-aliasmodnamealiasbytimeinterval|bynumbernumber]或undoinfo-centerfilter-idall刪除之前不允許重復添加同一個ID(可選)配Log信息的時間背景操作步驟1執(zhí)行命令system-view步驟2執(zhí)行命令info-centertimestamplogdate|format-date|short-dateprecision-second|tenth-second|millisecond|bootwithout-timezone],配置Log信息的時缺省情況下,Log信息采用的時間戳格式為date,時間精度為秒級(可選)去使Log信息的計數(shù)功背景能狀態(tài)。例如,執(zhí)行命令disylogbuffer可以查看Log信息的流水號:<<> yLoggingbufferconfigurationandcontents:enabledAllowedmaxbuffersize:1024Actualbuffersize:Channelnumber:4,Channelname:logbufferDroppedmessages:0Overwrittenmessages:5Currentmessages:512Jul172012%%01IFPDT/4/IF_STATE(l)[0]:Interfacenet5/0/23hasturnedintoUPJul172012%%01IFPDT/4/IF_STATE(l)[1]:Interfacenet5/0/23hasturnedintoDOWNJul17201214:44:22 %%01IFPDT/4/IF_STATE(l)[2]:InterfaceEthernet5/0/23hasturnedintoUPstate.Jul172012 /4/LOGINFAILED(l)[3]:Failedtogin.(Ip=23,UserName=**,Times=1, Jul17201211:15:03 %%01INFO/4/RST_LOGB(l)[4]:Whendecidingwhethertoresetthelogbuffer,theuserchoseN.說明如果Log到日志緩沖區(qū),那么日志計數(shù)序列號為逆向排序,即的日志計數(shù)序列操作步驟1執(zhí)行命令system-view步驟2執(zhí)行命令info-centerlocallog-counterdisable,去使能Log信息的計數(shù)功能。(可選)配置海量日志抑制功背景流量降低到閾值以下,經(jīng)過5倍周期(5倍周期內(nèi)日志流量都在閾值以下)操作步驟1執(zhí)行命令system-view步驟2執(zhí)行命令info-centerrate-limitthresholdvaluebyinfoidinfoID|bymodule-說明步驟3執(zhí)行命令info-centerrate-limitglobal-thresholdvalue,配置信息中心每秒處理日志的總步驟4執(zhí)行命令info-centerrate-limitmonitor-periodvalue,配置信息中心進行速率抑制的監(jiān)步驟5(可選)執(zhí)行命令info-centerrate-limitexceptbyinfoidinfoID|bymodule-不再產(chǎn)生作用。(可選)配置連續(xù)重復日志的統(tǒng)計抑制背景操作

步驟1執(zhí)行命令system-view步驟2執(zhí)行命令info-centerstatistic-suppressenable,使能連續(xù)重復日志的統(tǒng)計抑制功能。Log信息輸出到Log緩沖背景

操作

步驟1執(zhí)行命令system-view步驟2執(zhí)行命令info-centerlogbuffer,使能Log信息向Log緩沖區(qū)的發(fā)送功能。步驟3執(zhí)行命令info-centerlogbufferchannelchannel-number|channel-name},配置Log信息步驟4執(zhí)行命令info-centersource{module-name|default}channel{channel-number|channel-namelogstateoff|on|levelseverity*,配置向信息通道輸出Log信息的缺省情況下,系統(tǒng)向4號通道輸出Log信息的狀態(tài)為on,最低信息級別為warning步驟5(可選)執(zhí)行命令info-centerlogbuffersizelogbuffer-size,配置Log緩沖區(qū)可容納Log信Log背景

另外,對于S1720GFR、S2720、S2750、S5700LI和S5700S-LI(除S5700S-X-LI外設備進行的重啟復位等重要操作信息不僅會存放在logfile,還會存放在resetinfo文件操作

執(zhí)行命令system-view執(zhí)行命令info-centerlogfilechannelchannel-number|channel-name},配置信執(zhí)行命令info-centersourcemodule-name|defaultchannelchannel-|channel-namelogstateoff|on|levelseverity*缺省情況下,系統(tǒng)向9號通道輸出Log信息的狀態(tài)為on,最低信息級debugging說明缺省情況下,日志文件的最大保存?zhèn)€數(shù)為200執(zhí)行命令quit

Log信息輸出到控制背景

主機)上查看到Log信息,以便及時設備的運行情況。操作步驟1執(zhí)行命令system-view步驟2執(zhí)行命令info-centerconsolechannelchannel-number|channel-name},配置Log信息步驟3執(zhí)行命令info-centersource{module-name|default}channel{channel-number|channel-namelogstateoff|on|levelseverity*,配置向信息通道輸出Log信息的缺省情況下,系統(tǒng)向0號通道輸出Log信息的狀態(tài)為on,最低信息級別為warning步驟4執(zhí)行命令quit,退回到用戶視步驟5執(zhí)行命令terminalmonitor步驟6執(zhí)行命令terminallogging,使能終端顯示Log信息功能。Log信息輸出到終背景 備上的主機)上查看到Log信息,以便及時設備的運行情況。操作

步驟1執(zhí)行命令system-view步驟2執(zhí)行命令info-centermonitorchannelchannel-number|channel-name},配置Log信息步驟3執(zhí)行命令info-centersource{module-name|default}channel{channel-number|channel-namelogstateoff|on|levelseverity*,配置向信息通道輸出Log信息的缺省情況下,系統(tǒng)向1號通道輸出Log信息的狀態(tài)為on,最低信息級別為warning步驟4執(zhí)行命令quit,退回到用戶視步驟5執(zhí)行命令terminalmonitor步驟6執(zhí)行命令terminallogging,使能終端顯示Log信息功能。Log信息輸出到日志主背景

前置操作

步驟1執(zhí)行命令system-view步驟2執(zhí)行以下命令配置向IPv4/IPv6日志主機輸出Log執(zhí)行命令info-centerloghostip-address[channel{channel-number|channel-name}|facilitylocal-number|languagelanguage-name|{ -instance-name|public-net}|local-time|log-counter{disable|enable}|portport|{source-ipsource-ip-address}|transport{udp|tcpssl- -name*,配置向IPv4日執(zhí)行命令info-centerloghostipv6ipv6-addresschannelchannel-number|channel-name}|facilitylocal-number|languagelanguage-name|local-time|log-counter{disable|enable}|portport|transport{udp|tcpssl- -name*,配執(zhí)行命令info-center -name[channel{channel-numberchannel-name}|facilitylocal-number|languagelanguage-name|log-{disable|enable}|local-time|portport|transport{udp|tcpssl- name}]*,配置向指定的日志主機輸出Log信息。步驟3執(zhí)行命令info-centersource{module-name|default}channel{channel-number|channel-namelogstateoff|on|levelseverity*,配置向信息通道輸出Log信息的缺省情況下,系統(tǒng)向2號通道輸出Log信息的狀態(tài)為on,最低信息級informational步驟4(可選)執(zhí)行命令info-centerloghostsourceinterface-typeinterface-number,配置設備步驟5(可選)執(zhí)行命令info-centerloghostsource-portsource-port,配置設備向日志主機發(fā)送信息的源端。檢查配置結操作執(zhí)行命令disychannel[channel-number|channel-name],查看信息通道的配置執(zhí)行命令disyinfo-centerfilter-id[id|bymodule-aliasmodnamealias],查看信使用命令disylogbuffer,查看Log緩沖區(qū)記錄的信息配置輸Trap前置配置

配置Trap信息輸出的配置流程如表4-9所示序配置任務名配置任務說配置流程說.2(可選)命名信息34.6.3(可選)配置信息的過濾序配置任務名配置任務說配置流程說456789序配置任務名配置任務說配置流程說信息輸出到服務到之前,需要先配 向服務使能信息中操作步驟1執(zhí)行命令system-view步驟2執(zhí)行命令info-centerenable,使能信息中心功能。(可選)命名信息通背景說明對應起來以免。通道編缺省通道01通道編缺省通道23456789操作

步驟1執(zhí)行命令system-view步驟2執(zhí)行命令info-centerchannelchannel-numbernamechannel-name,配置指定編號的信息(可選)配Trap背景

操作

步驟1執(zhí)行命令system-view步驟2執(zhí)行命令info-centerfilter-idid|bymodule-aliasmodnamealias&<1-50>,或者info-centerfilter-id{id|bymodule-aliasmodnamealias}[bytimeinterval|bynumbernumber],配置對指定的Trap信息的過濾功能。說明 目前只支持對50個不同的ID或模塊進行。過濾表志ID數(shù)超過50時,會提示過濾表滿,如果需要繼續(xù)配置信息的過濾功能,需要先執(zhí)行命令undoinfo-centerfilter-id{id|bymodule-aliasmodnamealias}&<1-50>或undoinfo-centerfilter-id{id|bymodule-aliasmodnamealiasbytimeinterval|bynumbernumber]或undoinfo-centerfilter-idall刪除之前不允許重復添加同一個ID(可選)配Trap背景操作

步驟1執(zhí)行命令system-view步驟2執(zhí)行命令info-centertimestamptrapdate|format-date|short-dateprecision-second|tenth-second|millisecond|bootwithout-timezone],配置Trap信息的時缺省情況下,Trap信息采用的時間戳格式為date,時間精度為秒級Trap信息輸出到Trap緩沖背景

操作

步驟1執(zhí)行命令system-view步驟2執(zhí)行命令info-centertrapbuffer,使能Trap信息向Trap緩沖區(qū)的發(fā)送功能。步驟3執(zhí)行命令info-centertrapbufferchannelchannel-number|channel-name},配置Trap信步驟4執(zhí)行命令info-centersource{module-name|default}channel{channel-number|channel-nametrapstateoff|on|levelseverity*,配置向信息通道輸出Trap信息缺省情況下,系統(tǒng)向3號通道輸出Trap信息的狀態(tài)為on,最低信息級別為debugging步驟5(可選)執(zhí)行命令info-centertrapbuffersizetrapbuffer-size,配置TrapTrap背景

另外,對于S1720GFR、S2720、S2750、S5700LI和S5700S-LI(除S5700S-X-LI外操作

執(zhí)行命令system-view執(zhí)行命令info-centerlogfilechannelchannel-number|channel-name},配置信執(zhí)行命令info-centersourcemodule-name|defaultchannelchannel-|channel-nametrapstateoff|on|levelseverity*,配置向信息通道輸缺省情況下,系統(tǒng)向9號通道輸出Trap信息的狀態(tài)為on,最低信息級debugging說明缺省情況下,日志文件的最大保存?zhèn)€數(shù)為200執(zhí)行命令quitTrap背景

主機)上查看到Trap信息,以便及時設備的運行情況。操作

步驟1執(zhí)行命令system-view步驟2執(zhí)行命令info-centerconsolechannelchannel-number|channel-name},配置Trap信息步驟3執(zhí)行命令info-centersource{module-name|default}channel{channel-number|channel-nametrapstateoff|on|levelseverity*,配置向信息通道輸出Trap信息缺省情況下,系統(tǒng)向0號通道輸出Trap信息的狀態(tài)為on,最低信息級別為debugging步驟4執(zhí)行命令quit,退回到用戶視步驟5執(zhí)行命令terminalmonitor步驟6執(zhí)行命令terminaltrap,使能終端顯示Trap信息功能。Trap信息輸出到終背景

備上的主機)上查看到Trap信息,以便及時設備的運行情況。操作

步驟1執(zhí)行命令system-view步驟2執(zhí)行命令info-centermonitorchannelchannel-number|channel-name},配置Trap信息步驟3執(zhí)行命令info-centersource{module-name|default}channel{channel-number|channel-nametrapstateoff|on|levelseverity*,配置向信息通道輸出Trap信息缺省情況下,系統(tǒng)向1號通道輸出Trap信息的狀態(tài)為on,最低信息級別為debugging步驟4執(zhí)行命令quit,退回到用戶視步驟5執(zhí)行命令terminalmonitor步驟6執(zhí)行命令terminaltrap,使能終端顯示Trap信息功能。Trap背景

前置操作

步驟1執(zhí)行命令system-view步驟2執(zhí)行以下命令配置向IPv4/IPv6日志主機輸出Trap執(zhí)行命令info-centerloghostip-address[channel{channel-number|channel-name}|facilitylocal-number|languagelanguage-name|{ -instance-name|public-net}|local-time|log-counter{disable|enable}|portport|{source-ipsource-ip-address}|transport{udp|tcpssl- -name*,配置向IPv4日執(zhí)行命令info-centerloghostipv6ipv6-addresschannelchannel-number|channel-name}|facilitylocal-number|languagelanguage-name|local-time|log-counter{disable|enable}|portport|transport{udp|tcpssl- -name*,配執(zhí)行命令info-center -name[channel{channel-numberchannel-name}|facilitylocal-number|languagelanguage-name|log-{disable|enable}|local-time|portport|transport{udp|tcpssl- name}]*,配置向指定的日志主機輸出Trap信息。步驟3執(zhí)行命令info-centersource{module-name|default}channel{channel-number|channel-nametrapstateoff|on|levelseverity*,配置向信息通道輸出Trap信息缺省情況下,系統(tǒng)向2號通道輸出Trap信息的狀態(tài)為on,最低信息級別為debugging步驟4(可選)執(zhí)行命令info-centerloghostsourceinterface-typeinterface-number,配置設備步驟5(可選)執(zhí)行命令info-centerloghostsource-portsource-port,配置設備向日志主機發(fā)送信息的源端。Trap信息輸出到SNMP背景當設備出現(xiàn)異?;蚬收蠒r,網(wǎng)絡管理員希望 了解到設備的運行情況,以保證設備的正常工作。通過配置a信息輸出到 服務器,可以實現(xiàn)網(wǎng)絡管理員對設備的實時,及時定位設備運行故障。配置a信息輸出到之前,需要先配置rap信息輸出到NP,然后通過P向服務器發(fā)送rap信息。操作步驟1執(zhí)行命令system-view步驟2執(zhí)行命令info-centersnmpchannelchannel-number|channel-name},配置Trap信息輸缺省情況下,系統(tǒng)向SNMP輸出信息使用5號通道步驟3執(zhí)行命令info-centersource{module-name|default}channel{channel-number|channel-nametrapstateoff|on|levelseverity*,配置向信息通道輸出Trap信息缺省情況下,系統(tǒng)向5號通道輸出Trap信息的狀態(tài)為on,最低信息級別為debugging步驟4執(zhí)行命令snmp-agent,啟動SNMP功能。只有啟動SNMP功能,SNMP才能工作,從而正常接收信息關于SNMP的具體配置,請參考《S1720&S2700&S5700&S6720V200R010C00配置指南-網(wǎng)絡管理與》SNMP配置。檢查配置結操作

執(zhí)行命令disychannel[channel-number|channel-name],查看信息通道的配置執(zhí)行命令disyinfo-centerfilter-id[id|bymodule-aliasmodnamealias],查看信執(zhí)行命令disytrapbuffer[sizevalue],查看Trap緩沖區(qū)記錄的信息配置輸Debug前置注注立即執(zhí)行undodebuggingall命令去使能調(diào)試。配置配置Debug信息輸出的配置流程如表4-11所示序配置任務名配置任務說配置流程說14.7.12為了方便和使用,序配置任務名配置任務說配置流程說34.7.3(可選)Debug信息4567使能信息中操作步驟1執(zhí)行命令system-view步驟2執(zhí)行命令info-centerenable,使能信息中心功能。(可選)命名信息通背景說明對應起來以免。通道編缺省通道0123456789操作步驟1執(zhí)行命令system-view步驟2執(zhí)行命令info-centerchannelchannel-numbernamechannel-name,配置指定編號的信息(可選)配Debug背景操作

步驟1執(zhí)行命令system-view步驟2執(zhí)行命令info-centertimestampdebuggingdate|format-date|short-dateprecision-timesecond|tenth-second|millisecond|bootwithout-timezone],配缺省情況下,Debug信息采用的時間戳格式為date,時間精度為毫Debug背景

說明缺省情況下,Debug信息不會輸出到日志文件操作

步驟1執(zhí)行命令system-view步驟2執(zhí)行命令info-centerlogfilechannelchannel-number|channel-name},配置Debug信息步驟3執(zhí)行命令info-centersource{module-name|default}channel{channel-number|channel-namedebugstateoff|on|levelseverity*,配置向信息通道輸出Debug缺省情況下,系統(tǒng)向9號通道輸出Debug信息的狀態(tài)為off,最低信息級別為debugging步驟4(可選)執(zhí)行命令info-centerlogfilesizesize,配置日志文件的大小。說明步驟5(可選)執(zhí)行命令info-centermax-logfile-numberfilenumbers,配置日志文件的最大保缺省情況下,日志文件的最大保存?zhèn)€數(shù)為200步驟6執(zhí)行命令quit,返回到用戶視步驟7(可選)執(zhí)行命令savelogfile或savelogfileall手動將日志文件緩沖區(qū)中的信息保存到日Debug背景的主機)上查看到Debug信息,以便及時設備的運行情況。操作

步驟1執(zhí)行命令system-view步驟2執(zhí)行命令info-centerconsolechannelchannel-number|channel-name},配置Debug信步驟3執(zhí)行命令info-centersource{module-name|default}channel{channel-number|channel-namedebugstateoff|on|levelseverity*,配置向信息通道輸出Debug缺省情況下,系統(tǒng)向0號通道輸出Debug信息的狀態(tài)為on,最低信息級別為debugging步驟4執(zhí)行命令quit,退回到用戶視步驟5執(zhí)行命令terminalmonitor步驟6執(zhí)行命令terminaldebugging,使能終端顯示Debug信息功能。Debug背景

設備上的主機)上查看到Debug信息,以便及時設備的運行情況。操作

步驟1執(zhí)行命令system-view步驟2執(zhí)行命令info-centermonitorchannelchannel-number|channel-name},配置Debug信步驟3執(zhí)行命令info-centersource{module-name|default}channel{channel-number|channel-namedebugstateoff|on|levelseverity*,配置向信息通道輸出Debug缺省情況下,系統(tǒng)向1號通道輸出Debug信息的狀態(tài)為on,最低信息級別為debugging步驟4執(zhí)行命令quit,退回到用戶視步驟5執(zhí)行命令terminalmonitor步驟6執(zhí)行命令terminaldebugging,使能終端顯示Debug信息功能。Debug背景及時設備的運行情況。前置操作

步驟1執(zhí)行命令system-view步驟2執(zhí)行以下命令配置向IPv4/IPv6日志主機輸出Debug執(zhí)行命令info-centerloghostip-address[channel{channel-number|channel-name}|facilitylocal-number|languagelanguage-name|{ -instance-name|public-net}|local-time|log-counter{disable|enable}|portport|{source-ipsource-ip-address}|transport{udp|tcpssl- -name*,配置向IPv4日執(zhí)行命令info-centerloghostipv6ipv6-addresschannelchannel-number|channel-name}|facilitylocal-number|languagelanguage-name|local-time|log-counter{disable|enable}|portport|transport{udp|tcpssl- -name*,配執(zhí)行命令info-center -name[channel{channel-numberchannel-name}|facilitylocal-number|languagelanguage-name|log-{disable|enable}|local-time|portport|transport{udp|tcpssl- name}]*,配置向指定的日志主機輸出Debug信息。缺省情況下,不向日志主機輸出Debug信息步驟3執(zhí)行命令info-centersource{module-name|default}channel{channel-number|channel-namedebugstateoff|on|levelseverity*,配置向信息通道輸出Debug缺省情況下,系統(tǒng)向2號通道輸出Debug信息的狀態(tài)為off,最低信息級別為debugging步驟4(可選)執(zhí)行命令info-centerloghostsourceinterface-typeinterface-number,配置設備步驟5(可選)執(zhí)行命令info-centerloghostsource-portsource-port,配置設備向日志主機發(fā)送信息的源端。檢查配置結操作執(zhí)行命令disychannel[channel-number|channel-name],查看信息通道的配置執(zhí)行命令disyinfo-centerfilter-id[id|bymodule-aliasmodnamealias],查看信清除統(tǒng)計信背景注注操作

centerstatistics。信息中操作執(zhí)行命令disyinfo-centerstatistics,查看信息中心的統(tǒng)計信息執(zhí)行命令disylogbuffer,查看Log緩沖區(qū)記錄的信息執(zhí)行命令disylogfilefile-name[offset|hex]*,查看日志文件信息配置配置向日志主機輸Log信息示組網(wǎng)

如圖48h分別與四個日志主機相連且路由可達。網(wǎng)絡管理員希望不同的日志主機接收不同類型和不同嚴重級別的Log靠性,以便對設備不同模塊產(chǎn)生的信息進行實時。ServerServer

Server配置操作

步驟1<<[>system-]sysname[SwitchA]info-center步驟2配置向日志主機發(fā)送Log[SwitchA][SwitchA]info-centerchannel6nameloghost1[SwitchA]info-centerchannel7name#[SwitchA][SwitchA]info-centerloghostchannelloghost1[SwitchA]info-centerloghostchannelloghost1[SwitchA]info-centerloghostchannelloghost2[SwitchA]info-centerloghostchannelloghost2#[SwitchA][SwitchA]info-centersourcearpchannelloghost1loglevelnotification[SwitchA]info-centersourceaaachannelloghost2loglevelwarning步驟3配置發(fā)送日志信息接口的IP[SwitchA][SwitchA]vlan100[SwitchA]interfacegigabitethernet[SwitchA-GigabitEthernet0/0/1]portlink-typehybrid[SwitchA-GigabitEthernet0/0/1]porthybridpvidvlan100[SwitchA-GigabitEthernet0/0/1]porthybriduntaggedvlan100[SwitchA-GigabitEthernet0/0/1]quit[SwitchA]interface[SwitchA-Vlanif100]ipaddress[SwitchA-Vlanif100]return步驟4在Server步驟5#<SwitchA><SwitchA>dis InformationCenter:enabledLoghost:,channelnumber6,channelnameloghost1,languageEnglish,hostfacilitylocal7,channelnumber6,channelnameloghost1,languageEnglish,hostfacilitylocal7,channelnumber7,channelnameloghost2,languageEnglish,hostfacilitylocal7,,channelnumber7,channelnameloghost2,languageEnglish,hostfacilitylocal7channelnumber:0,channelname:channelnumber:1,channelname:monitorSNMPAgent:channelnumber:5,channelname:snmpagentLogbuffer:enabled,maxbuffersize1024,currentbuffersize512,currentmessages26,channelnumber:4,channelname:logbufferdroppedmessages0,overwrittenmessages0Trapenabled,maxbuffersize1024,currentbuffersize256,currentmessages11,channelnumber:3,channelname:trapbufferdroppedmessages0,overwrittenmessages0channelnumber:9,channelname:channel9,language:EnglishInformationtimestampsetting:log-date,trap-date,debug-datemillisecondSentmessages=273456,Receivedmessages=284845IORegmessages=2IOSentmessages=配置

SwitchA的配置文##info-centerchannel6nameloghost1info-centerchannel7nameinfo-centersourceARPchannel6loglevelnotificationinfo-centersourceAAAchannel7loglevelwarninginfo-centerloghostchannel6info-centerloghostchannelinfo-centerloghostchannelinfo-centerloghostchannel7interfaceipaddress#portlink-typehybridporthybridpvidvlan100porthybriduntaggedvlan100配置SNMPAgentTrap信息組網(wǎng)

NM 配置

配置Trap信息輸出到站,以實現(xiàn)網(wǎng)絡管理員能夠在站接收SwitchA產(chǎn)生操作

步驟1<<[>system-]sysname[SwitchA]info-center步驟2配置向SNMP發(fā)送Trap信息的信息通道和輸出規(guī)#配置Trap信息輸出到SNMP所使用的信息通道[SwitchA][SwitchA]info-centersnmpchannel#配置向SNMP輸出Trap信息的規(guī)則[SwitchA][SwitchA]info-centersourcearpchannelchannel7traplevelinformationalstate說明[SwitchA]vlanbatch[SwitchA]interface[SwitchA]vlanbatch[SwitchA]interfacegigabitethernet[SwitchA-GigabitEthernet0/0/1]portlink-typetrunk[SwitchA-GigabitEthernet0/0/1]porttrunkallow-passvlan2[SwitchA-GigabitEthernet0/0/1]quit[SwitchA]interfacevlanif[SwitchA-Vlanif2]ipaddress24[SwitchA-Vlanif2]quit步驟4配置SNMPAgent輸出Trap信息到#使能SNMPAgent,配置版本為SNMPv2c[SwitchA][SwitchA]snmp-agentsys-infoversion[SwitchA][SwitchA]snmp-agentcommunitywrite[SwitchA][SwitchA]snmp-agenttrapWarning:AllswitchesofSNMPtrap/notificationwillbeopen.Continue?[SwitchA]snmp-agenttarget-hosttrapaddressudp

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
  • 4. 未經(jīng)權益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責。
  • 6. 下載文件中如有侵權或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論