eNSP关于多点子接口和点到点子接口实例:
点到点子接口:R1到R2
多点子接口:R1到R3、R4
关键配置:
[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你会发现还是没有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
#
全网可达
p2p和p2mp的子接口配合使用实现不同网段共存
以上只讨论non-full mesh的情况:
帧中继的子接口可以选择p2p、p2mp,子接口不敲类型就是p2mp的但仍然是NBMA类型的(在子接口后面敲不敲p2mp都是默认不显示),和主接口类型一致。另外,NBMA单边指邻居是不行的。
如果修改peer、dr-priority的值,华为路由器直接生效,不必重启进程
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。