技術員聯(lián)盟提供win764位系統(tǒng)下載,win10,win7,xp,裝機純凈版,64位旗艦版,綠色軟件,免費軟件下載基地!

當前位置:主頁 > 教程 > 硬件教程 >

路由器日常維護和排錯

來源:技術員聯(lián)盟┆發(fā)布時間:2018-06-04 06:42┆點擊:

  通常我們使用show interface命令來查看接口的信息,如show interface gig 1/0或者show int pos 2/0等來分別查看路由器上千兆以太接口和POS接口的端口信息。

  查看以太網(wǎng)接口信息,在7507上使用命令為: show interfaces fastethernet [slot/port-adapter/port]

  查看POS接口信息,在7507上使用命令為: show interfaces pos [slot/port-adapter/port]

  1、下例給出了在7507上查看第1槽位上第1個PA上的第1個快速以太網(wǎng)接口的接口配置信息:

  Router# show interfaces fastethernet 1/0/0

  Fast Ethernet1/0/0 is up, line protocol is up

  Hardware is TSWITCH, address is 00e0.f7a4.5130 (bia 00e0.f7a4.5130)

  MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec, rely 255/255, load 1/255

  Encapsulation ARPA, loopback not set, keepalive set (10 sec)

  Half-duplex, 100BaseTX

  ARP type: ARPA, ARP Timeout 04:00:00

  Last input 00:05:30, output 00:00:00, output hang never

  Last clearing of "show interface" counters never

  Queueing strategy: fifo

  Output queue 0/40, 0 drops; input queue 0/75, 0 drops

  5 minute input rate 0 bits/sec, 0 packets/sec

  5 minute output rate 0 bits/sec, 0 packets/sec

  312 packets input, 18370 bytes, 0 no buffer

  Received 216 broadcasts, 0 runts, 0 giants, 0 throttles

  3 input errors, 0 CRC, 0 frame, 0 overrun, 3 ignored, 0 abort

  0 input packets with dribble condition detected

  15490 packets output, 1555780 bytes, 0 underruns

  2 output errors, 0 collisions, 2 interface resets

  0 babbles, 0 late collision, 0 deferred

  0 lost carrier, 0 no carrier

  2 output buffer failures, 0 output buffers swapped out

  2、下例給出了在7507上查看第2槽位上第1個PA上的第1個快速以太網(wǎng)接口的接口配置信息:

  Router# show interfaces pos 2/0/0

  POS2/0/0 is up, line protocol is up

  Hardware is cyBus Packet over Sonet

  Description: PRI-T1 net to zippy (4K) to Pac-Bell

  Internet address is 10.1.1.1/27

  MTU 4470 bytes, BW 1000 Kbit, DLY 40000 usec, rely 255/255, load 1/255

  Encapsulation HDLC, loopback not set, keepalive set (3 sec)

  Last input 00:00:00, output 00:00:00, output hang never

  Last clearing of "show interface" counters 00:23:09

  Queueing strategy: fifo

  Output queue 0/40, 0 drops; input queue 0/75, 0 drops

  5 minute input rate 0 bits/sec, 1 packets/sec

  5 minute output rate 1000 bits/sec, 1 packets/sec

  1046 packets input, 54437 bytes, 0 no buffer

  Received 485 broadcasts, 0 runts, 0 giants, 0 parity

  0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort

  4013 packets output, 1357412 bytes, 0 underruns

  0 output errors, 0 applique, 0 interface resets

  0 output buffer failures, 0 output buffers swapped out

  0 carrier transitions

  3、下面給出了show interface的輸出中所有表項的具體含義:

  Fast Ethernet... is up

  ...is administratively down

  表明接口的硬件當前是否是被激活的還是被管理員手工的showdown掉了。

  line protocol is

  標識該接口的線協(xié)議也就是軟件進程是否可用,還是被管理員手工的給shutdown了。

  Hardware

  硬件類型(例如MCI Ethernet, SCI, cBus Ethernet) 和硬件地址

  Internet address

  帶有子網(wǎng)信息的該接口的IP地址。

  MTU

  接口上的最大傳輸單元。

  BW

  接口的帶寬,通常單位是kb/s。

  DLY

  端口的延遲,單位是ms。

  rely

  以255為參照數(shù)的接口的可靠性參數(shù) (255/255 就是百分之百的可靠), 以5分鐘的平均數(shù)來計算。

  load

  以255為參照數(shù)的接口的負荷(255/255 就是百分之百的負荷量), 5分鐘的平均數(shù)來計算。

  Encapsulation

  接口的封裝類型。

  ARP type

  接口配置的地址解析協(xié)議(ARP)的類型。

  loopback

  標識是否設置了接口回環(huán)。

  keepalive

  標識接口是否設置了發(fā)送存活(keepalives)信息

  Last input

  自從接口接受到最近的一個數(shù)據(jù)包后的時間。當該數(shù)據(jù)包是被precess-switch的方式轉發(fā)的時候計數(shù)器會更新,而當該包是被fast-switch的方式轉發(fā)時則不更新計數(shù)器。

  output

  自從接口發(fā)送最近的一個數(shù)據(jù)包后的時間。

  output hang

  接口因為數(shù)據(jù)包傳輸時間過長而重啟后的時間,如果沒有重啟,則顯示為never。

  Last clearing

  清除接口統(tǒng)計計數(shù)器后的時間。注意:可能會影響到路由的變量信息時不會被清除置0的,例如load和reliablity

  型號***表示清計算器后的時間太長顯示不出來了。

  Output queue, input queue, drops

  在接口輸入輸出隊列中的數(shù)據(jù)包的個數(shù)。每個數(shù)字都跟了個/隊列的最大范圍。以及超過了隊列的最大范圍而丟棄的包的數(shù)量。

  5 minute input rate,

  5 minute output rate

  在最近5分鐘內每秒傳輸?shù)臄?shù)據(jù)包的平均值。

  packets input

  系統(tǒng)接受到的數(shù)據(jù)包的總的個數(shù)。

  bytes

  系統(tǒng)接受到的所有數(shù)據(jù)包(包括數(shù)據(jù)和MAC封裝)的字節(jié)數(shù)。

  no buffer