OSPF和EIGRP都是收斂速度較快並且不會形成loop的演算法,網路帶寬佔用較小,使用靈活,安全性較好
的路由協議。但是從以上分析可以看出,各自還是有優缺點。
(一)、OSPF的缺點
1. 配置較複雜。由於網路區域劃分和網路屬性的複雜性,需要有較高的網路技術才能管理OSPF網路。
OSPF和EIGRP都是收斂速度較快並且不會形成loop的演算法,網路帶寬佔用較小,使用靈活,安全性較好
的路由協議。但是從以上分析可以看出,各自還是有優缺點。
(一)、OSPF的缺點
1. 配置較複雜。由於網路區域劃分和網路屬性的複雜性,需要有較高的網路技術才能管理OSPF網路。
OSPF
OSPF是Open Shortest Path First(即“開放最短路由優先協議”)的縮寫。它是IETF組織開發的一個基於鏈路
狀態的自治系統內部路由協議。在IP網路上,它通過收集和傳遞自治系統的鏈路狀態來動態地發現並傳播路
由。每一台運行OSPF協議的路由器總是將本地網路的連接狀態,(如可用介面資訊、可達鄰居資訊等)用LSA
(鏈路狀態廣播)描述,並廣播到整個自治系統中去。這樣,每台路由器都收到了自治系統中所有路由器生成的
1.設定ISDN交換機型
RouterA(config)#int bri0
RouterA(config-if)#isdn switch-type basic-ni
RouterB(config)#int bri0
RouterB(config-if)#isdn switch-type basic-ni
========================設定訊框中繼============================
1.在訊框中繼交換機上,設定主機名稱,frame-relay switching命令,以及每片序列介面的封裝
RouterB(config)#frame-relay switching[makes the router a FR switch]
RouterB(config)#int s0
RouterB(config-if)#encapsulation frame-relay
1.利用encapsulation hdle命令為每片序列介面設定封裝
RouterA(config)#int s0
RouterA(config)#encapsulation hdls
RouterB(config)#int s0
RouterB(config)#encapsulation hdls
Router(config)#int s0
cencapsulation ppp //設定PPP封裝
Router(config-if)#^z
RouterA(config)#username RouterB password Cisco //使用者名稱就是遠端路由器的名稱,且密碼相同
RouterB(config)#username RouterA password Cisco //需注意大小寫
Router(config)#access list ?
<1-99> IP standard access list
<100-199> IP extended access list
<1000-1099> IPX SAP access list
<1100-1199> Extended 48-bit MAC address access list
靜態VLAN
1.設定VLAN名稱
Switch(config)#vlan 2 name sales
Switch(config)#vlan 3 name marketing
Switch(config)#exit
====================== Configuration of OSPF ===========================
Router(config)#router ospf process-id //識別碼(1-65535)
Router(config-router)#network ip-address mask area area-id
Router(config)#router ospf 100
Router(config-router)#network 10.1.1.2 0.0.0.0 area 0 //#10.1.1.2 Router上的SerialPort 01
=======================EIGRP passive-interface設置指令=====================
功用:不會傳送Hello訊息和宣告,禁止該介面發言,該介面只能透過其他介面通告給他的鄰居
公式:Router(config-router)#passive-interface interface-port
Router(config)#int f0/0
Router(config-if)#ip address 172.17.0.1 255.255.255.0
Router#show ip route
Gateway of last resort is not set
S * 0.0.0.0/0 via 10.200.0.1 [d:1 m:0]
S 9.9.9.9/32 via 127.0.0.1 [d:1 m:0]
C 10.200.0.0/16 directly connected to Ethernet 0
===========================主要任務=================================
點對點協定(Point-to-Point Protocol,PPP),PPP是一種業界標準,因為所有多重協定版的HDLC都是專屬的,所
以可利用PPP在不同的廠商的設備間產生點對點的鏈路,ppp使用資料鏈結標頭中的網路層控制協定欄來識別網
路層協定,他允許認證與多重鏈路的連線,且可以在同步與非同步的鏈路上運作