HDLC封裝,二點專線設定

RouterSerial Interface對接

 ScreenHunter_07 Mar. 07 15.57ScreenHunter_08 Mar. 07 15.58  

 

擔任DCE的設備必須負責同步時脈

Router-1(config)#int serial 1/0

Router-1(config-if)#no sh

 

%LINK-5-CHANGED: Interface Serial1/0, changed state to down

Router-1(config-if)#clock rate 500000

使用clock rate指令指定時脈,確認可以使用的時脈可以使用 clock rate ?

所以可以檢查一下介面的狀態

Router-1#show int s 1/0

Serial1/0 is down, line protocol is down (disabled)

  Hardware is HD64570

  Internet address is 10.1.1.1/24

  MTU 1500 bytes, BW 128 Kbit, DLY 20000 usec,

     reliability 255/255, txload 1/255, rxload 1/255

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

  Last input never, output never, output hang never

  Last clearing of "show interface" counters never

  Input queue: 0/75/0 (size/max/drops); Total output drops: 0

  Queueing strategy: weighted fair

  Output queue: 0/1000/64/0 (size/max total/threshold/drops)

     Conversations  0/0/256 (active/max active/max total)

     Reserved Conversations 0/0 (allocated/max allocated)

     Available Bandwidth 96 kilobits/sec

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

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

     0 packets input, 0 bytes, 0 no buffer

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

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

     0 packets output, 0 bytes, 0 underruns

     0 output errors, 0 collisions, 2 interface resets

     0 output buffer failures, 0 output buffers swapped out

     0 carrier transitions

     DCD=down  DSR=down  DTR=down  RTS=down  CTS=down

可以看得出來S1/0是使用HDLC封裝協定,二邊的Router都檢查一下

測試一下是否可以Ping的到另外一台Router

Router-1#ping 10.1.1.2

 

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 10.1.1.2, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 1/4/7 ms

 

創作者介紹
創作者 林作倉 的頭像
林作倉

林作倉

林作倉 發表在 痞客邦 留言(0) 人氣()