OSPF网络类型及NBMA五种类型配置_第1页
OSPF网络类型及NBMA五种类型配置_第2页
OSPF网络类型及NBMA五种类型配置_第3页
OSPF网络类型及NBMA五种类型配置_第4页
OSPF网络类型及NBMA五种类型配置_第5页
已阅读5页,还剩11页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

配置一个基本的帧中继环境:中间的帧中继已经配置好了

Rl(config)#interfaces0/3

Rl(config-if)#noshutdown

Rl(config-if)#encapsulationframe-relay

Rl(config-if)#noframe-relayinverse-arp

Rl(config-if)#noarpframe-relay

Rl(config-if)#frame-relaymapip102broadcast

Rl(config-if)#frame-relaymapip103broadcast

Rl(config-if)#exit

R2#shrunints0/0

Buildingconfiguration...

Currentconfiguration:223bytes

!

interfaceSerial0/3

encapsulationframe-relay

noarpframe-relay

frame-relaymapip203broadcast

frame-relaymapip201broadcast

noframe-relayinverse-arp

end

R3#shrunintsO/3

Buildingconfiguration...

Currentconfiguration:223bytes

interfaceSerial。#

encapsulationframe-relay

noarpframe-relay

frame-relaymapip302broadcast

frame-relaymapip301broadcast

noframe-relayinverse-arp

en

帧中继子接口:

S0/0.1point-to-point

10.0.0.1

DLCI20.0.0.1301

Rl(config)#interfacesO/D

Rl(config-if)#noshutdown

Rl(config-if)#encapsulationframe-relay

Rl(config-if)#exit

Rl(config)#interfaces0/3.1point-to-point

Rl(config-subif)#

Rl(config-subif)#frame-relayinterface-dlci102

Rl(config-fr-dlci)#exit

Rl(config)#interfaces0/0.2point-to-point

Rl(config-subif)#frame-relayinterface-dlci103

Rl(config-fr-dlci)#exit

Rl#shipintbrief

InterfaceIP-AddressOK?MethodStatusProtocol

FastEthernetO/OunassignedYESunsetadministrativelydowndown

SerialO/0unassignedYESTFTPupup

SerialO/O.lYESmanualupup

SerialO/3.2YESmanualupup

FastEthernetO/1unassignedYESunsetadministrativelydowndown

SerialO/1unassignedYESunsetadministrativelydowndown

R3#shrunintsO/3

Buildingconfiguration...

Currentconfiguration:180bytes

!

interfaceSerial。#

encapsulationframe-relay

noarpframe-relay

frame-relaymapip301broadcast

noframe-relayinverse-arp

end

帧中继的多点子接口:

10.0.0.2

DTE

S0/0

1841

R2

201SODLCI10.0.0.1201

_>203s2DLCI10.0.0.3203

,102Si

DTE'103s2

1841S0/0.1multipointCloud-Pi\301SO

RI10.0.0.1FRSW302si

DLCI:.0.3

10.0.0.2102SC/O

10.0.0.3103

1841

R3

DLCI10.0.0.1301

DLCI10.0.0.2302

Rl(config)#interfaces0/0

Rl(config-if)#encapsulationframe-relay

Rl(config-if)#noshutdown

Rl(config-if)#exit

Rl(config)#interfaces0/3.1multipoint

Rl(config-subif)#

Rl(config-subif)#frame-relaymapip102broadcast

Rl(config-subif)#frame-relaymapip103broadcast

Rl(config-subif)#

Rl(config-subif)#exit

R3#shrunint

Buildingconfiguration...

Currentconfiguration:223bytes

!

interfaceSerial0/0

encapsulationframe-relay

noarpframe-relay

frame-relaymapip302broadcast

frame-relaymapip301broadcast

no

OSPF的NBMA:

非广播网络方式

可以当成一个广播网来看,不具备自动发觉邻居的实力,须要手动指定邻居

该类网络须要DR。可以手动指定DR,修改其他设备接口的优先级为0

适用于全互联网络

R1:

interfaceLoopbackO

interfaceSerial。人)

encapsulationframe-relay

noarpframe-relay

frame-relaymapip103broadcast

frame-relaymapip102broadcast

noframe-relayinverse-arp

!

Rl(config)#routerospf1

Rl(config-router)#network55a

Rl(config-router)#network55area0

Rl(config-router)#networkl.l.l.O55area0

Rl(config-router)#neighborpriority0

Rl(config-router)#neighborpriority0

Rl(config-router)#exit

Rl#showipospfinterfacesO/J

Serial。/)isup,lineprotocolisup

InternetAddress^4,Area0

ProcessID1,RouterIDLI.1.1,NetworkTypeNON_BROADCAST/Cost:64

TransmitDelayis1sec.StateWAITING,Priority1

Nodesignatedrouteronthisnetwork

Nobackupdesignatedrouteronthisnetwork

Timerintervalsconfigured,Hello30,Dead120,Wait120,Retransmit5

oob-resynctimeout120

Helloduein00:00:17

WaittimebeforeDesignatedrouterselection00:01:17

SupportsLink-localSignaling(LLS)

CiscoNSFhelpersupportenabled

IETFNSFhelpersupportenabled

Index1/1,floodqueuelength0

Next0x0(0)/)x0(0)

Lastfloodscanlengthis0,maximumis0

Lastfloodscantimeis0msec,maximumis0msec

NeighborCountis0,Adjacentneighborcountis0

Suppresshellofor0neighbor(s)

R2:

interfaceLoopbackO

interfaceSerial。/)

encapsulationframe-relay

ipospfpriority0

noarpframe-relay

frame-relaymapip203broadcast

frame-relaymapip201broadcast

noframe-relayinverse-arp

routerospf1

log-adjacency-changes

network55area0

network55area0

R3:

interfaceLoopbackO

interfaceSerial。/)

encapsulationframe-relay

ipospfpriority0

noarpframe-relay

frame-relaymapip302broadcast

frame-relaymapip301broadcast

noframe-relayinverse-arp

routerospf1

log-adjacency-changes

network55area0

network55area0

Rl#showipospfneighbor

NeighborIDPriStateDeadTimeAddressInterface

Z.2.2.20FULL/DROTHER00:01:51Serial。由

33.3.30FULL/DROTHER00:01:33Serial。由

Rl#shiprouteospf

方2issubnetted,1subnets

O[110龙5]via,00:02:15,Serial0/0

^2issubnetted,1subnets

O33.3.3[110^5]via,00:01:33,SerialO/t)

NBMA环境下点到点子接口:

不须要DR的选举,可以自动发觉邻居,不须要手工指定邻居。

须要留意,对端设备假如运用物理接口,须要增力口配置ipospfnetworkpoint-to-point

S0/0.1point-to-point

10.0.0.1201

102

----------102SI

----------------s103s2

1841S0/0.2point-to-point

R120.0.0.1

103

1841

R3

DLCI20.0.0.1301

RI:

interfaceLoopbackO

ipaddress1.1.1.

interfaceSerialOA)

noipaddress

encapsulationframe-relay

!

interfaceSerialO/).!point-to-point

frame-relayinterface-dlci102

!

interfaceSerialOA).2point-to-point

frame-relayinterface-dlci103

routerospf1

log-adjacency-changes

network55area0

network55area0

network55area0

Rl#showipospfinterface$033.1

SerialOX).lisup,lineprotocolisup

InternetAddress/24,Area0

ProcessID1,RouterID,NetworkTypePOINT_TO_POINT,Cost:64

TransmitDelayis1sec,StatePOINT_TO_POINT

Timerintervalsconfigured,Hello10,Dead40,Wait40,Retransmit5

oob-resynctimeout40

Helloduein00:00:06

SupportsLink-localSignaling(LLS)

CiscoNSFhelpersupportenabled

IETFNSFhelpersupportenabled

Index1/1,floodqueuelength0

Next0x0(0)/t)x0(0)

Lastfloodscanlengthis0,maximumis0

Lastfloodscantimeis0msec,maximumis0msec

NeighborCountis0,Adjacentneighborcountis0

Suppresshellofor0neighbor(s)

R2:

interfaceLoopbackO

interfaceSerial。由

encapsulationframe-relay

ipospfpriority0

noarpframe-relay

frame-relaymapip203broadcast

frame-relaymapip201broadcast

noframe-relayinverse-arp

ipospfnetworkpoint-to-point

routerospf1

log-adjacency-changes

network55area0

network55area0

R3:

interfaceLoopbackO

interfaceSerial。由

encapsulationframe-relay

ipospfnetworkpoint-to-point

ipospfpriority0

noarpframe-relay

frame-relaymapip301broadcast

noframe-relayinverse-arp

!

routerospf1

log-adjacency-changes

network55area0

network55area0

Rl#showipospfneighbor

NeighborIDPriStateDeadTimeAddressInterface

333.30FULL/-00:00:36SerialOX).2

2.2.2.Z0FULL/-00:00:39Serial0A).l

Rl#shiprouteospf

^2issubnetted,1subnets

OZ.2.2,2[110由5]via,00:02:35,SerialO/O.l

62issubnetted,1subnets

O3.33.3[110由5]via,00:01:58,Serial。6.2

NBMA环境下多点子接口:

星型网络,非全互联

须要DR,须要手工指定邻居。

DLCI10.0.0.1301

DLCI302

R1:

interfaceLoopbackO

interfaceSerial。由

noipaddress

encapsulationframe-relay

interfaceSerialO/).!multipoint

frame-relaymapip103broadcast

frame-relaymapip102broadcast

routerospf1

log-adjacency-changes

network55area0

network55area0

Rl#showipospfinterfaces0#.l

SerialO/).!isup,lineprotocolisup

InternetAddress/24,Area0

ProcessID1,RouterID,NetworkTypeNON_BROADCAST,Cost:64

TransmitDelayis1sec,StateDR,Priority1

Nobackupdesignatedrouteronthisnetwork

Timerintervalsconfigured,Hello30,Dead120,Wait120,Retransmit5

oob-resynctimeout120

Helloduein00:00:21

SupportsLink-localSignaling(LLS)

CiscoNSFhelpersupportenabled

IETFNSFhelpersupportenabled

Index1/1/floodqueuelength0

Next0x0(0)/t)x0(0)

Lastfloodscanlengthis0,maximumis0

Lastfloodscantimeis0msec,maximumis0msec

NeighborCountis0,Adjacentneighborcountis0

Suppresshellofor0neighbor(s)

R2;

interfaceSerial。由

encapsulationframe-relay

ipospfnetworknon-broadcast

ipospfpriority0

noarpframe-relay

frame-relaymapip203broadcast

frame-relaymapip201broadcast

noframe-relayinverse-arp

interfaceLoopbackO

end

routerospf1

log-adjacency-changes

network55area0

network55area0

R2#

R3:

interfaceLoopbackO

end

interfaceSerial。由

encapsulationframe-relay

ipospfpriority0

noarpframe-relay

frame-relaymapip301broadcast

noframe-relayinverse-arp

end

routerospf1

log-adjacency-changes

network55area0

network55area0

Rl#showipospfneighbor

NeighborIDPriStateDeadTimeAddressInterface

0FULL/DROTHER00:01:39SerialOA).l

3.33.30FULL/DROTHER00:01:31Serial。用.1

NBMA环境下点到点:

不须要DR,也不须要指定邻居。

R1:

!

interfaceLoopbackO

end

interfaceSerial。由

encapsulationframe-relay

ipospfnetworkpoint-to-point

noarpframe-relay

103broadcast

frame-relaymapip102broadcast

noframe-relayinverse-arp

end

routerospf1

log-adjacency-changes

network55area0

network55area0

RI#showipospfinterfacesO/J

Serial。/)isup,lineprotocolisup

InternetAddress/24,Area0

ProcessID1,RouterID,NetworkTypePOINT_TO_POINT,Cost:64

TransmitDelayis1sec,StatePOINT_TO_POINT

Timerintervalsconfigured,Hello10,Dead40,Wait40,Retransmit5

oob-resynctimeout40

Helloduein00:00:04

SupportsLink-localSignaling(LLS)

CiscoNSFhelpersupportenabled

IETFNSFhelpersupportenabled

Index1/1,floodqueuelength0

Next0x0(0)/t)x0(0)

Lastfloodscanlengthis1,maximumis1

Lastfloodscantimeis0msec,maximumis0msec

NeighborCountis1,Adjacentneighborcountis1

Suppresshellofor0neighbor(s)

NBMA环境下点到多点:

可以当成多个点到点,不须要DR,可以自动发觉邻居。

非全互联,星型网络

须要在各个设备接口下配置:

R2(config)#interfacesO/J

R2(config-if)#ipospfnetworkpoint-to-multipoint

Rl#showipospfinterfacesO/D

Serial。/)isup,lineprotocolisup

InternetAddress/24,Area0

ProcessID1,RouterID,NetworkTypePOINT_TO_MUIIIPOINT;Cost:64

TransmitDelayis1sec,StatePOINT_TO_MULTIPOINT

Timerintervalsconfigured,Hello30,Dead120,Wait120,Retransmit5

oob-resynctimeout120

Helloduein00:00:06

SupportsLink-localSignaling(LLS)

CiscoNSFhelpersupportenabled

IETFNSFhelpersupportenabled

Index1/1/floodqueuelength0

Next0x0(0)/0x0(0)

Lastfloodscanlengthis1,maximumis1

Lastfloodscantimeis0msec,maximumis4msec

NeighborCountis2,Adjacentneighborcountis2

Suppresshellofor0neighbor(s)

Rl#showipospfneighbor

NeighborIDPriStateDeadTimeAddressInterface

Z.2.2.20FULL/-00:01:57Serial。由

33.3.30FULL/-00:01:49Serial。/)

R2#shipospfneighbor

NeighborIDPriStateDeadTimeAddressInterface

l.l.l.l0FULL/-00:01:49Serial。/)

R3#shipospfneighbor

NeighborIDPriState

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论