網(wǎng)絡(luò)管理和監(jiān)控配置指導(dǎo)-整本手冊_第1頁
網(wǎng)絡(luò)管理和監(jiān)控配置指導(dǎo)-整本手冊_第2頁
網(wǎng)絡(luò)管理和監(jiān)控配置指導(dǎo)-整本手冊_第3頁
網(wǎng)絡(luò)管理和監(jiān)控配置指導(dǎo)-整本手冊_第4頁
網(wǎng)絡(luò)管理和監(jiān)控配置指導(dǎo)-整本手冊_第5頁
免費預(yù)覽已結(jié)束,剩余101頁可下載查看

下載本文檔

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

文檔簡介

1、 者。H3CE、Aolynk、H3Care、Netflow、cPath、ware 者。H3CE、Aolynk、H3Care、Netflow、cPath、ware、ITCMM、HUASAN 格 意 粗 格 意 粗斜 x| y|. x| y|. x|y|. x| y|. #5您可以通過)獲的產(chǎn)品資與產(chǎn)品資料相關(guān)的主要欄目介紹如下5您可以通過)獲的產(chǎn)品資與產(chǎn)品資料相關(guān)的主要欄目介紹如下格 意 /:(:1功能1功能 1.3系統(tǒng)調(diào)試功能i1 1 DeviceA與DeviceCDeviceA到DeviceC的1-ip -asource-ip |-ccount |-f |-httl|-erval|-n|-p

2、pad-q|-r|-spacket-size|-ttimeout |-tostos|-v *命令用于IPv4網(wǎng)絡(luò)ipv6命令用于IPv6網(wǎng)ipv6 -asource-ipv6 |-ccount |-erval|-packet-size| -t timeout | -tos tos * host -ierface-number 2 :56 databytes,pressCTRL_Cto2 :56 databytes,pressCTRL_Cto-sistics -5packet(s)5packet(s)received 0.00% packet lossround-tripmin/avg/max=

3、1/41/205DeviceA到DeviceC-r:56 databytes,pressCTRL_CtoReplyfrom: Record Route:Replyfrom: Record Route:Replyfrom: Record Route:time=53time=1time=11-Replyfrom:bytes=56Sequence=4ttl=254time=1ms Record Route:Replyfrom:bytes=56Sequence=4ttl=254time=1ms Record Route:Replyfrom:bytes=56Sequence=5ttl=254time=1

4、ms Record Route:-sistics-5 packet(s)5packet(s)received 0.00% packet lossround-tripmin/avg/max=1/11/53(DeviceC)將自己出接口的 IP 地址()添加到 RR 選項中。得到,Device A Device C ; 。1.2 Tracert1.2.1 Tracert 1-圖1-2 TracertTracert功能也是基于ICMP協(xié)議來實現(xiàn)的,如 圖 1-2 所示,Tracert功能的原 圖1-2 TracertTracert功能也是基于ICMP協(xié)議來實現(xiàn)的,如 圖 1-2 所示,Tracert

5、功能的原 ;端返回一個端口不可達的 ICMP 錯誤消息(攜帶了目的端的 IP 地址 )。 需要在目的端開啟 目的不可達報文發(fā)送功能。如果目的端是 H3C 設(shè)備,需中的“IP。 1- 表1-2 Tracert1.3 系統(tǒng)調(diào)試圖1-3 123123調(diào)試信調(diào)試信試開 表1-2 Tracert1.3 系統(tǒng)調(diào)試圖1-3 123123調(diào)試信調(diào)試信試開 試開1133出開311-tracert-asource-ip |-ttl|-max-ttl|-pport |-qpacket-number |-tos|-wtimeout * tracert命令用于IPv4網(wǎng)絡(luò)環(huán)tracertipv6命令用于IPv6網(wǎng)絡(luò)環(huán)境

6、tracertipv6-f -ttl|-mmax-ttl|-p port |-qpacket-number |-tostos|-w timeout * host1.3.2 undodebuggingall Console表1- 1.3.2 undodebuggingall Console表1- 和 1-terminalterminaldebuggingmodule-nameoptiondisplaydebugging module-name|begin|excludeincluderegular-2DeviceA和DeviceC:56 databytes,pressCTRL_Cto2Devic

7、eA和DeviceC:56 databytes,pressCTRL_Cto-sistics -5packet(s)0packet(s)received 100.00% packet loss在DeviceBICMP system-DeviceBipttl-expires在DeviceCICMP system-DeviceCipunreachablestracerttracerouteto()30hopsmax,40bytesCTRL_Cto123414ms10ms20*從上面結(jié)果可以看出DeviceADevice C 之間路由不可達Device A Device B 之間路由可達, Devic

8、e B Device C 之間的連接出了問題。Device A Device C 上使debugging 1-1NTP1.1NTP簡介1NTP1.1NTP簡介1.2NTP配置任務(wù)簡介1.3配置NTP工作模式1.4配置NTP可選參數(shù)1.4.2 1.5控制權(quán)限1.5.1 配置準配置NTP驗證功能1.6.1 配置準1.6.2 配置過1.8NTP典型配置舉例iNTP配置式時間服務(wù)器和客戶端之間進行時間同步。NTPUDPUDP NTP 為NTP NTP的應(yīng)NTP配置式時間服務(wù)器和客戶端之間進行時間同步。NTPUDPUDP NTP 為NTP NTP的應(yīng) MD5115161-1.1.2 NTP 在Devic

9、eADeviceB的系統(tǒng)時鐘同步之前,DeviceA10:00:00am,Device B 的時鐘設(shè)定為 11:00:00am。Device B NTP 時間服務(wù)器Device A 將使自己的時Device B 的時1.1.2 NTP 在DeviceADeviceB的系統(tǒng)時鐘同步之前,DeviceA10:00:00am,Device B 的時鐘設(shè)定為 11:00:00am。Device B NTP 時間服務(wù)器Device A 將使自己的時Device B 的時鐘同 圖1-1 NTPIPDevice Device IPDevice Device IPDevice Device NTPmessag

10、ereceivedat10:00:03IPDevice Device DeviceA發(fā)送一個NTPDeviceB,該報文帶有它離開DeviceA時的時間戳,該時間10:00:00am(T1)。 (T2) (T3) 10:00:03am(T4) Device A Device B 的時間差offset=(T2-T1)+(T3-T4)/2=1 小時1-10:00:00 11:00:01 11:00:02 10:00:00 11:00:01 10:00:00 NTP的報文格 時鐘同步報文封裝在UDP報文中,其格圖 1-圖1-0147NTP的報文格 時鐘同步報文封裝在UDP報文中,其格圖 1-圖1-0

11、147表示主動對等體模式、2對等體模式、3表示客戶模式、4表示服務(wù)器模式、5廣播模式或組播模式、6 表示此報文為 NTP 控制報文、7 。確度最高,準確度從 1 到 16 依次遞減,層數(shù)為 16 的時鐘處于未同步狀態(tài)。 1-Rootdelay(32Root(32 Reference identifier (32 Reference (64 Originate (64Receive (64 Transmit (64 Authenticator (optional 96 Delay:本地到主參的往返時間。 ReferenceTimest Originate Timest Receive Times

12、tTransmit Delay:本地到主參的往返時間。 ReferenceTimest Originate Timest Receive TimestTransmit NTP的工作模 . 圖1-3 客戶端/在客戶端/服務(wù)器模式中,客戶端向服務(wù)器發(fā)送時鐘同步報文,報文中的 Mode 字段設(shè)置為 3(客戶模式Mode 字段設(shè)置為 4(服務(wù)器模式??蛻舳耸盏綉?yīng)答報文后,進行時鐘過濾和選擇,并同步到優(yōu)選的服務(wù)器。1-圖1-4 Mode3(客戶端模式)4(務(wù)器模式)NTPMode圖1-4 Mode3(客戶端模式)4(務(wù)器模式)NTPMode和圖1-5 1-圖1-6 圖1-6 表1-1 NTP1- 表1-

13、2 在NTPNTP IP 表1-2 在NTPNTP IPIP 。1-ntp-serviceunicast-serverip-address|server-name authentication-keyid keyid | priority | number表1-3 IP表1-3 IPIP 廣播服務(wù)器周期性地向廣播地址 55 發(fā)送 NTP 報文,工作在 NTP 廣播客戶端模式的送 NTP 廣播報文的接口,廣播客戶端上也需要指定一個接收表1-4 廣播報文的接口,所以廣播1-ntp-servicebroadcast-c -ntp-serviceunicast-peerip-address|peer-

14、name authentication-keyid keyid | priority | number表1-5 表1-6 表1-7 1-表1-5 表1-6 表1-7 1-ntp-servicemulticast-c ntip-address- authentication-keyidkeyid|number目前最多可以配置 個組播客戶端,但同時起作用的最多為 128 1.4 配置NTP如果指定了 報文的源接口,則設(shè)備在主動發(fā)送目前最多可以配置 個組播客戶端,但同時起作用的最多為 128 1.4 配置NTP如果指定了 報文的源接口,則設(shè)備在主動發(fā)送 報文時,將報文的源 IP 地址設(shè)置為指定IP

15、地址。ack 接口指定為源接口,以避免設(shè)備上某個接口的狀態(tài)變化而導(dǎo)致 NTP設(shè)備對接收到的 NTP 請求報文進行應(yīng)答應(yīng)答報文的源 IP 地址始終為接收到 NTP 請求報文的目 接口,則以 ntp-service unicast-server ntp-service unicast-peer 指定的為準。 配1-ntp- number表1-9 1.4.3 表1-10 1.4.4 配置NTP報文的DSCP 1.5 1-表1-9 1.4.3 表1-10 1.4.4 配置NTP報文的DSCP 1.5 1- - s-配 erface 1.5.1 ACL。的配置方法請參見“ACL 和 QoS 配置指ACL

16、1.5.2 配控制權(quán) 1.5.1 ACL。的配置方法請參見“ACL 和 QoS 配置指ACL1.5.2 配控制權(quán) NTP 1.6 配置NTP 的1.6.1 authentication-keyidntp-servicereliableauthentication-keyid命令。否則,無法正常啟用 NTP 驗證功能。法正常啟用 NTP 驗證功能。1-ntp-servicespeer|query|synchronizationacl-1.6.2 . 表1-. 1-1.6.2 . 表1-. 1- ntp-serviceauthentication-keyidkeyid authentication

17、-mode md5 cipher | simple value- ntp-serviceauthentication-keyidkeyid authentication-mode md5 cipher | simple valuentp-service reliable authentication-keyidkeyidntp-serviceunicast-serverip-|server-nameauthentication-該密鑰,并將其指定為 密鑰ntp-serviceunicast-peerip-address 1.7 NTP表1-15 NTP1.8 NTP1.8.1 配置NTP客戶端

18、/服務(wù)器 1.7 NTP表1-15 NTP1.8 NTP1.8.1 配置NTP客戶端/服務(wù)器 Device B 工作在客戶端模式Device A NTP 服務(wù)器1-displayntp-us| begin|exclude|includedisplayntp-s e | beginexclude|includeregular-displayntp-servicetrace|begin|exclude|include -authentication-keyid keyidauthentication-keyid keyid2 按照 圖 1-7 配置各接口的IP地址,具體配置過程略。DeviceB的

19、NTP display ntp-Clock2 按照 圖 1-7 配置各接口的IP地址,具體配置過程略。DeviceB的NTP display ntp-Clockus:Clock stratum: 16 ReferenceclockID:noneNominalfrequency:64.0000Hz Actual frequency: 64.0000 Hz Clock preci: 27Clockoffset:0.0000delay:0.000.00:Referencetime:Jan11900DeviceA為DeviceB的NTP system-DeviceB ntp-service unica

20、st-server DeviceB向DeviceADeviceB的NTPDeviceB display ntp-Clockus:Clockstratum:Reference clock ID: 1 Nominalfrequency:64.0000Hz Actual frequency: 64.0000 Hz Clock preci: 27Clockoffset:0.0000delay:31.00:1.05:7.81Referencetime:Jan192011DeviceB的NTPDeviceB與DeviceADeviceB display ntp-tra reach poll now off

21、set delay 123451 23-31.0 note: 1 source(master),2 source(peer),3 selected,4 candidate,5 1-Totaltions: Device A 設(shè)置本地時鐘作為參考時鐘,層數(shù)為 Device B 工作在客戶Totaltions: Device A 設(shè)置本地時鐘作為參考時鐘,層數(shù)為 Device B 工作在客戶端模式Device A NTP 服務(wù)器Device B Device A 同步后Device C 工作在對等體模式Device B 設(shè)為對等體 2 Device Device Device DeviceA為Dev

22、iceB的NTP system-DeviceB ntp-service unicast-server DeviceB的狀態(tài)(DeviceB向DeviceA同步后)DeviceB display ntp-Clockus:Clockstratum:Reference clock ID: 1 Nominalfrequency:100.0000Hz Actual frequency: 100.0000 Hz Clock preci: 218Clockoffset:-21.1982delay:15.00:775.15:34.29Referencetime:Jan1920111- DeviceC ntp-

23、service unicast-peer DeviceBDevice C DeviceC ntp-service unicast-peer DeviceBDevice C配置為對等體,Device C處于主動對等體模式,Device B處于 DeviceC display ntp-Clockus:Clockstratum:Reference clock ID: 2 Nominalfrequency:100.0000Hz Actual frequency: 100.0000 Hz Clock preci: 218Clockoffset:-21.1982delay:15.00:775.15:34.

24、29Referencetime:Jan192011 DeviceC display ntp-strareachpoll nowoffset delay1234533-note: 1 source(master),2 source(peer),3 selected,4 candidate,5 Totaltions: 配置NTP廣播模 Device A Device B 工作在廣播客戶端模式,分別從各自VLAN 接口廣播報文。1-2 按照 圖 1-9 配置各接口的IP地址,具體配置過程略。 erfaceerface2 按照 圖 1-9 配置各接口的IP地址,具體配置過程略。 erfaceerfac

25、eDeviceC-erface2 ntp-service broadcast- system-erfaceerfaceDeviceA-erface2 ntp-service broadcast- system-erfaceerfaceDeviceB-erface2 ntp-service broadcast-DeviceA-erface2 display ntp-Clockus:Clockstratum:Reference clock ID: 1 Nominalfrequency:64.0000Hz Actual frequency: 64.0000 Hz Clock preci: 27Clo

26、ck offset: 0.0000 Rootdelay:31.00Root:8.311-Peer:34.30Referencetime:Jan192011DeviceA的NTPDeviceA與DevicePeer:34.30Referencetime:Jan192011DeviceA的NTPDeviceA與DeviceCDeviceA-erface2 display ntp-tra reach poll now offset delay 12341 2-note: 1 source(master),2 source(peer),3 selected,4 candidate,5 Totaltio

27、ns: 配置 在 Device A 上設(shè)置本地時鐘作為參考時鐘,層數(shù)為 2; DeviceBDeviceA為NTP服務(wù)器;DeviceADevice B 上同時配NTP 驗證2圖1-10 按照 圖 1-10 配置各接口的IP地址,具體配置過程略。 system-#在DeviceB上啟DeviceB ntp-service authentication DeviceB ntp-service authentication-keyid 42 authentication-md5DeviceB ntp-service reliable authentication-keyid DeviceA為Dev

28、iceB的NTPDeviceB ntp-service unicast-server 1 authentication-keyid Device B 還是無法向Device A 同步。DeviceA#在DeviceA上啟DeviceA ntp-service authentication 1-DeviceA ntp-service authentication-keyid 42 authentication-mode md5 DeviceA ntp-service reliable authentication-keyid DeviceBDeviceBdisplayntp-Clockus:De

29、viceA ntp-service authentication-keyid 42 authentication-mode md5 DeviceA ntp-service reliable authentication-keyid DeviceBDeviceBdisplayntp-Clockus:Clockstratum:Reference clock ID: 1 Nominalfrequency:64.0000Hz Actual frequency: 64.0000 Hz Clock preci: 27Clockoffset:0.0000delay:31.00:1.05:7.81Refere

30、ncetime:Jan192011DeviceB display ntp-tra reach poll now offset delay 123451 23-31.0 note: 1 source(master),2 source(peer),3 selected,4 candidate,5 Totaltions: 配置驗證的NTP廣播模 DeviceBDeviceCNTP1-2圖1-11 Vlan- 2 Device Vlan- 3.0.1Device Vlan- Device 按照 圖 1-11 配置各接口的IP地址,具體配置過程略。2圖1-11 Vlan- 2 Device Vlan-

31、3.0.1Device Vlan- Device 按照 圖 1-11 配置各接口的IP地址,具體配置過程略。 system-erfaceerfaceDeviceA-erface2 ntp-service broadcast-# 使能 NTP 驗證功能,創(chuàng)建 ID 為88 的 NTP 驗證密鑰,密鑰值為 123456,并將密鑰 88 指定為ntp-ntp-authentication authentication-keyid 88 authentication-mode md5 reliable authentication-keyid erfaceerfaceDeviceB-erface2 n

32、tp-service broadcast- erfaceerfaceDeviceC-DeviceC-erface2 ntp-service broadcast-erface2DeviceADeviceCDeviceC14。DeviceA-erface2 display ntp-Clockus:Clockstratum:ReferenceclockID:1-Nominalfrequency:64.0000Hz Actual frequency: 64.0000 Hz Clock preci: 27Clockoffset:0.0000delay:31.00:8.31:34.30Referencet

33、ime:Jan192011DeviceA的NTPDeviceA與DeviceCDeviceA-erface2 display ntp-tra reach pollNominalfrequency:64.0000Hz Actual frequency: 64.0000 Hz Clock preci: 27Clockoffset:0.0000delay:31.00:8.31:34.30Referencetime:Jan192011DeviceA的NTPDeviceA與DeviceCDeviceA-erface2 display ntp-tra reach poll now offset delay

34、 12341 -note:1source(master),2source(peer),3selected,4candidate,5Totaltions: DeviceB-erface2 display ntp-Clockus:Clock stratum: 16 ReferenceclockID:noneNominalfrequency:100.0000Hz Actual frequency: 100.0000 Hz Clock preci: 218Clockoffset:0.0000delay:0.000.00:Referencetime:Jan188 ntp-ntp-authenticati

35、on authentication-keyid 88 authentication-mode md5 reliable authentication-keyid 88erfaceerfaceDeviceC-erface2 ntp-service broadcast-server authentication-keyid DeviceB-erface2 display ntp-Clockus:Clockstratum:Reference clock ID: 1 Nominalfrequency:64.0000Hz Actual frequency: 64.0000 Hz Clock preci:

36、 27Clockoffset:0.00001-delay:31.00:8.31:34.30Referencetime:Jan192011DeviceB的NTPDeviceB與DeviceCDeviceB-erface2 display delay:31.00:8.31:34.30Referencetime:Jan192011DeviceB的NTPDeviceB與DeviceCDeviceB-erface2 display ntp-tra reach poll now offset delay 12341 3-note:1source(master),2source(peer),3selecte

37、d,4candidate,5Totaltions: DeviceA-erface2 ntp-Clockus:Clockstratum:Reference clock ID: 1 Nominalfrequency:64.0000Hz Actual frequency: 64.0000 Hz Clock preci: 27Clockoffset:0.0000delay:31.00:8.31:34.301-11.1信息中心簡介11.1信息中心簡介 1.2配置信息中心 i信息中心配置1.1.1 輸出到多個方向,1-描述了缺省情況下,三種信信息中心配置1.1.1 輸出到多個方向,1-描述了缺省情況下,三

38、種信息分別可以分配到哪些信息通道,每個信息圖1-1- 級別為 emergenciesinformational 的信息均會輸出。表1-1 級別為 emergenciesinformational 的信息均會輸出。表1-1 069已經(jīng)定義了通道名、輸出規(guī)則和輸出方向。069缺省配1-01234567表1-1.1.5 1.1.6 表 1-3 所示。該表表明,缺省允許所有模塊的所有 log 信息發(fā)往 Web 頁面和日志文件;允許所有模塊的高于或等于 區(qū)和 SNMP 模塊方向。表1-1.1.5 1.1.6 表 1-3 所示。該表表明,缺省允許所有模塊的所有 log 信息發(fā)往 Web 頁面和日志文件;允

39、許所有模塊的高于或等于 區(qū)和 SNMP 模塊方向。有模塊的所有 Trap 信息不允許發(fā)往日志緩沖區(qū)方向。發(fā)往日志主機、告警緩沖區(qū)、日志緩沖區(qū)、SNMP 模塊、Web 頁面和日志文件。1-0123456789表1-3 志文件)sysname時間戳 主機名 模塊名/信息級別/信:信息2617:08:35:8092011Sysname/4/LOGIN:VTYloginfromH3C sysname vvmodule/level/digest: source Jan914:59:042011MyDevice_LOGIN(l):VTYloggedin格sysname vvmodule/level/ser

40、ial_number: Jan1316:48:082011H3C表1-3 志文件)sysname時間戳 主機名 模塊名/信息級別/信:信息2617:08:35:8092011Sysname/4/LOGIN:VTYloginfromH3C sysname vvmodule/level/digest: source Jan914:59:042011MyDevice_LOGIN(l):VTYloggedin格sysname vvmodule/level/serial_number: Jan1316:48:082011H3Cerface1linkusisJan1316:48:082011H3C10IF

41、NET/2/210231a64jx073000020:protocolonerfaceerface1is1-開開開開開開開開關(guān)關(guān)開關(guān)開關(guān)關(guān)關(guān)開關(guān)開開關(guān)開開關(guān)取值范圍為 07,信息級別具體含義請參見 1-1。2. 取值范圍為 07,信息級別具體含義請參見 1-1。2. 格式由info-center 表1-命(各時間戳參數(shù)的詳細表1-41-%0.109391473 Sysname FTPD/5/FTPD_LOGIN: User ftp (3) has logged in suc系統(tǒng)當前的日期和時間,格式為“Mmmdd hh:mm:ss:sss yyyy”%Jan3005:36:29:5792011

42、FTPD/5/FTPD_LOGIN: User ftp 其中Jan3005:36:29:5792011即為date格 Userftp(3)hasloggedin %SysnameFTPD/5/FTPD_LOGIN:User ftp (3) has logged in. 4. 4(廠家標志該字段表示本信息由 H3C 設(shè)備生本字段只有在使用 H3C 格式將系統(tǒng)信息發(fā)往日志主機時才出現(xiàn)info-center source ?查看到。系統(tǒng)信息的級別共分為 8 級,從 07,它們的定義和說明請參見 表 1-1。各模塊生成的系統(tǒng)信息的 )是一個不超過 32 個字符的字符串,表示該信息的內(nèi)容大意。信息為 D

43、ebug 信息。對于輸出方向為非日志主機的系統(tǒng)信息,時間戳前面會有百分號(%)或井字符號(#)或字符號(*),分別代表該條信息是日志信息或告警信息或調(diào)試信. 1-Jan30Userftp(3)hasloggedin 10.)H3C格式將系統(tǒng)信息發(fā)往日志主機時才出表1-1.2.2 1. 表1-6 1- 10.)H3C格式將系統(tǒng)信息發(fā)往日志主機時才出表1-1.2.2 1. 表1-6 1- info-centerconsolechannelchannel-|channel-name配配配配配 1.2.3 1. 表1-8 1- 1.2.3 1. 表1-8 1- terminalterminalterm

44、inalterminalinfo-centersourcemodule-name|defaultchannelchannel-number|channel-name debuglevelseverity|es e* |levelseverity|es e*|trapseverity|ee * info-centerdebugging|logtrap boot|date|none 1.2.4 表1-10 1- 1.2.4 表1-10 1-terminalterminalterminalterminal info-centermonitorchannelchannel-|channel-namei

45、nfo-centersourcemodule-name|defaultchannelchannel-number|channel-name debuglevelseverity|es e* |levelseverity|es e*|trapseverity|ee * info-centertimestdebugging|log| trap boot | date | none 1.2.5 表1-11 1-1.2.5 表1-11 1- info-centersourcemodule-name|defaultchannelchannel-number|channel-name debuglevel

46、severity|es e* |levelseverity|es e*|trapseverity|ee * info-center loghost source loghostdate|isono-year-date|noneinfo-centerinfo-centerloghosthost-ipv4-address|ipv6 host-ipv6-addressportport-numberdscp dscp-value channel channel-number | channel-name | facility local-number *1.2.6 表1-12 1- 1.2.6 表1-

47、12 1- info-centerlogbufferchannel-number|channel-name|buffersize info-centertrapbufferchannel-number|channel-name|buffersize輸出信息,緩沖區(qū)可 256條info-centersourcemodule-name|defaultchannelchannel-number|channel-name debuglevelseverity|es e* |levelseverity|es e*|trapseverity|ee * info-centertimestdebugging|

48、log| trap boot | date | none 1.2.7 到SNMP模 SNMPSNMPTrap1.2.7 到SNMP模 SNMPSNMPTrap表1-SNMP1- info-centersnmpchannelchannel-number| channel-name info-centersourcemodule-name|defaultchannelchannel-number|channel-name debuglevelseverity|es e *| levelseverity|es e* |trapseverity|ee*info-centertimestdebuggin

49、g|log| trap boot | date | none info-centersourcemodule-name|defaultchannelchannel-number|channel-name debuglevelseverity|es e* |levelseverity|es e*|trapseverity|ee * info-centertimestdebugging|log| trap boot | date | none 1.2.8 Web Web 表1-Web (log1.2.8 Web Web 表1-Web (logfileuffer24 小時,用戶也可以手工觸發(fā)保存,建

50、議在設(shè)備比較1- info-centersyslogchannelchannel-number| channel-name info-centersourcemodule-name|defaultchannelchannel-number|channel-name debuglevelseverity|es e *| levelseverity|es e* |trapseverity|ee*info-centertimestdebugging|log| trap boot | date | none 表1- 1MB,最過 10MB1.2.10 表1-16 1-表1- 1MB,最過 10MB1.

51、2.10 表1-16 1-info-center- info-centerlogfileinfo-centerlogfileinfo-centerlogfile size-quota size設(shè)info-center logfile確認信息,因為情況各異,所當處在交互狀態(tài),需要用戶輸入一些交互信息時( 其他端口生成 Link down 確認信息,因為情況各異,所當處在交互狀態(tài),需要用戶輸入一些交互信息時( 其他端口生成 Link down 日志信息;或者某個接口的狀態(tài)不穩(wěn)定,頻繁地改變,這時,會生成大量的 Link down 日志信息,為這些冗余信息,可以使用該功該端口生成 Link up/L

52、ink down 1.3 表1-18 1-displaychannelchannel-number|channel-name|beginexclude|includeregular-端口生成Linkup/Link undoenablelog生成端口Link up和Link down的日志信息1.4 日志發(fā)送到Unix日志主機的配置舉IP 允許輸出日志信息的模塊為 ARP IP。1.4 日志發(fā)送到Unix日志主機的配置舉IP 允許輸出日志信息的模塊為 ARP IP。2圖1-2 配置信息中心組網(wǎng)圖(Unix日志主機 system-view Sysnameinfo-centerenable1-dis

53、playinfo-center|begin|exclude|includedisplaylogbufferreverselevelseverity|sizebuffersizeslotslot-number*|begin|exclude |includedisplaylogbuffersummarylevelseverity|slotslot-number* | begin | exclude | include regular-expresdisplayuffer|begin|exclude|includedisplaylogfilesummary|begin|exclude|include

54、displaytrapbufferreversesizebuffersize|beginexclude|includeregular-resetreset# IP /16 loghost 通道發(fā)送信息( Sysnameinfo-centerloghostchannelloghostfacilitySysnameinfo-centersourcedefaultchannel# IP /16 loghost 通道發(fā)送信息( Sysnameinfo-centerloghostchannelloghostfacilitySysnameinfo-centersourcedefaultchannellog

55、hostdebugs eofflogeofftrape Sysnameinfo-centersourcearpchannelloghostloglevelinformationalSysnameinfo-centersourceipchannelloghostloglevelinformationalee Device#mkdir #Deviceconfiguration 統(tǒng)守護進syslogd 的進程號,中止 syslogd 進程,并重新用-r 選項在#ps-ae|grepsyslogd #kill-HUP啟動 syslogd,使修改1-#syslogd-r日志發(fā)送到Linux日志主機的配置

56、舉 2圖1-3 配置信息中心組網(wǎng)圖(Linux#syslogd-r日志發(fā)送到Linux日志主機的配置舉 2圖1-3 配置信息中心組網(wǎng)圖(Linux日志主機 system-view Sysnameinfo-centerenable# IP /16 loghost 通道發(fā)送信息( Sysnameinfo-centerloghostchannelloghostfacilitySysnameinfo-centersourcedefaultchannelloghostdebugeofflogeofftrape # Sysnameinfo-centersourcedefaultchannelloghost

57、loglevelinformationale來自 Device 的日志。#mkdir1-#touch#Deviceconfiguration #touch#Deviceconfiguration 統(tǒng)守護進syslogd 的進程號,中止 syslogd 進程,并重新用-r 選項在#ps-ae|grepsyslogd #kill-9#syslogd-r啟動 syslogd,使修改 2圖1-4 配置信息中心組網(wǎng)圖(控制臺 system-1-Sysname info-center # Sysname info-center console channel Sysname info-center # S

58、ysname info-center console channel Sysnameinfo-centersourcedefaultchannelconsoledebugs eofflogeofftrape info-centersourcearpchannelconsoleloglevelinformationalinfo-centersourceipchannelconsoleloglevelinformationals ee# terminal Info:Currentterminalmonitoris terminal Info:Currentterminalloggingis1-1.

59、1SNMP1.1SNMP 1.5 1- iSNMP配置SNMP(Simple Network Management Protocol,簡單網(wǎng)絡(luò)管理協(xié)議)是因特網(wǎng)中的一種網(wǎng)絡(luò)管SNMP配置SNMP(Simple Network Management Protocol,簡單網(wǎng)絡(luò)管理協(xié)議)是因特網(wǎng)中的一種網(wǎng)絡(luò)管。SNMP的工作SNMP 網(wǎng)絡(luò)環(huán)境NMS Agent 兩種元NMS(Network Management S NMS管理設(shè)備的時候通過MIB(ManagementInformationBase,管理信息庫)NMS、AgentMIB圖1-1 NMS、Agent和MIB 從根開始的一串表示路徑的數(shù)

60、字唯一地識別數(shù)字稱為 OID(Object Identifier,對象標識符1-圖1-2 MIBSNMP 提供以下基本操作來實現(xiàn) NMS 和 Agent 的交互SET 操作:NMS 使用該操作設(shè)置Agent MIB 中的一個或多個節(jié)點SNMP的協(xié)議圖1-2 MIBSNMP 提供以下基本操作來實現(xiàn) NMS 和 Agent 的交互SET 操作:NMS 使用該操作設(shè)置Agent MIB 中的一個或多個節(jié)點SNMP的協(xié)議 SNMP 的 NMS Agent 之間的通信提供更高的安全性。;NMS 和 Agent 成功建立連接的前提條件是 NMS 和 Agent 使用的 SNMP 版本必1.2 SNMP表1

溫馨提示

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

評論

0/150

提交評論