您好,登錄后才能下訂單哦!
eNSP關(guān)于多點子接口和點到點子接口實例:
點到點子接口:R1到R2
多點子接口:R1到R3、R4
關(guān)鍵配置:
[R1]dis cur
sysname R1
#
router id 91.1.1.1
#
interface Serial0/0/0
link-protocol fr
undo fr inarp
#
interfaceSerial0/0/0.102 p2p
fr dlci 102
ip address 12.1.1.1 255.255.255.0
ospf network-type p2p
#
interface Serial0/0/0.134 p2mp #默認p2mp類型多點子接口,敲上p2mp后再dis cur int s0/0/0.134你會發(fā)現(xiàn)還是沒有p2mp
fr map ip 100.1.1.3 103 broadcast
fr map ip 100.1.1.4 104 broadcast
ip address 100.1.1.1 255.255.255.0
ospf network-type p2mp
ospf timer hello 10
#
interface LoopBack0
ip address 1.1.1.1 255.255.255.0
#
ospf 10
area 0.0.0.0
network 1.1.1.1 0.0.0.0
network 12.1.1.1 0.0.0.0
network 100.1.1.1 0.0.0.0
#
[R2]dis cur
#
sysname R2
#
routerid 92.2.2.2
#
interface Serial0/0/0
link-protocol fr
undo fr inarp
fr map ip 12.1.1.1 201 broadcast
ip address 12.1.1.2 255.255.255.0
ospf network-type p2p
#
ospf 10
area 0.0.0.0
network 2.2.2.2 0.0.0.0
network 12.1.1.2 0.0.0.0
#
[R3]dis cur
#
sysname R3
#
router id 93.3.3.3
#
interface Serial0/0/0
link-protocol fr
undo fr inarp
fr map ip 100.1.1.1 301 broadcast
ip address 100.1.1.3 255.255.255.0
ospf network-type p2mp
ospf timer hello 10
#
interface LoopBack0
ip address 3.3.3.3 255.255.255.0
#
ospf 10
area 0.0.0.0
network 3.3.3.3 0.0.0.0
network 100.1.1.3 0.0.0.0
#
[R4]dis cur
#
sysname R4
#
router id 94.4.4.4
#
interface Serial0/0/0
link-protocol fr
undo fr inarp
fr map ip 100.1.1.1 401 broadcast
ip address 100.1.1.4 255.255.255.0
ospf network-type p2mp
ospf timer hello 10
#
interface LoopBack0
ip address 4.4.4.4 255.255.255.0
#
ospf 10
area 0.0.0.0
network 4.4.4.4 0.0.0.0
network 100.1.1.4 0.0.0.0
#
全網(wǎng)可達
p2p和p2mp的子接口配合使用實現(xiàn)不同網(wǎng)段共存
以上只討論non-full mesh的情況:
幀中繼的子接口可以選擇p2p、p2mp,子接口不敲類型就是p2mp的但仍然是NBMA類型的(在子接口后面敲不敲p2mp都是默認不顯示),和主接口類型一致。另外,NBMA單邊指鄰居是不行的。
如果修改peer、dr-priority的值,華為路由器直接生效,不必重啟進程
免責聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點不代表本網(wǎng)站立場,如果涉及侵權(quán)請聯(lián)系站長郵箱:is@yisu.com進行舉報,并提供相關(guān)證據(jù),一經(jīng)查實,將立刻刪除涉嫌侵權(quán)內(nèi)容。