【正文】
/0 R [120/1] via , 00:00:00, GigabitEther0/0 BUPT ? H3C: 配置接口 IP H3Csystemview [H3C]interface Ether2/0 [H3CEther2/0]ip address 24 [H3CEther2/0]undo shutdown [H3CEther2/0]quit 配置 RIP路由 [H3C]rip 1 [H3Crip1]version 2 [H3Crip1]work [H3Crip1]quit BUPT ? 察看結(jié)果: [H3C]display ip routingtable Routing Tables: Public Destinations : 8 Routes : 8 Destination/Mask Proto Pre Cost NextHop Interface BUPT ? Juniper: 配置接口 IP Login: root root% cli root configure root set interfaces fe0/0/3 unit 0 family i address root mit 配置策略 root set policyoptions policystatement statictorip term 1 from protocol static root set policyoptions policystatement statictorip term 1 then accept root set policyoptions policystatement statictorip term 2 from interface [fe0/0/] //將在這些接口上收到的路由發(fā)布出去,包括這些接口的網(wǎng)絡(luò)號(hào) root set policyoptions policystatement statictorip term 2 then accept root mit BUPT 配置 rip root set protocols rip group ripneighbors export statictorip //定義轉(zhuǎn)發(fā)策略, juniper默認(rèn)不會(huì)將直連網(wǎng)絡(luò)宣告出去,需要定義轉(zhuǎn)發(fā)策略 root set protocols rip group ripneighbors neighbor fe0/0/ //相當(dāng)于在接口上啟用 rip root mit BUPT ? 測(cè)試: ? show the state of RIP interface ? root run show rip neighbor ? show all route learned via RIP ? root run show route protocol rip ? display routes ? root run show route BUPT 演講完畢,謝謝觀看!