北京金桥世纪H3C认证培训全国总代理

部署相切RPRNE路由器

2011-11-15 13:39:48互联网

应用环境

RPR主要应用在城域网骨干层和接入层,同时也可以在分散的政务网、企业网和校园网中应用,还可应用于IDC(Internet Data Center)和ISP(Internet Service Provider)之中。RPR环网的主要目标是建立低成本高性能的IP城域网,作为城域网中IP业务的承载网络。

在IP城域网中,运营商需要为个人用户和大客户提供包括宽带上网、专线接入、数据互连、VPN等在内的各种业务,为此需要组建一个高品质运营网络。RPR提供一套高品质低成本的解决方案。相对以往的纯以太城域网,RPR城域网由于固有的保护特性,具有更高的可靠性,同时RPR的带宽公平分配能力能够大大提升光纤带宽资源的利用率,避免以往城域网星形结构下部分主干链路成为瓶颈导致其他链路带宽利用率低下的问题,此外也提供很灵活的扩展性。

配置思路

采用如下的思路配置本例:

1.         创建RPR逻辑接口。

2.         配置物理端口和逻辑接口的绑定关系。

3.         配置静态ARP。

4.         启动RPR逻辑接口。

配置注意事项
  • 配置绑定接口作为RPR逻辑接口的东向或西向接口时,应与实际的接口连线相符合,否则网络不通。
  • 在RPR功能正常运行时,不要轻易对RPR逻辑接口执行restart命令或shutdownundo shutdown命令。否则,由于重启后需要重新进行拓扑检查,将导致倒换时间延长。
配置实例
组网需求

在下图所示的网络中,PC1和PC2之间需要通过RPR环网互相通信。各路由器的东西向Span接口如下图所示。

配置RPR相切环示例

部署相切RPRNE路由器

Router

Interface

IP Address &

MAC address

Router

Interface

IP Address&

MAC address

Router-B

Ring-if1

129.10.0.1

Router-F

Ring-if2

129.10.0.6

Router-B

 

1-1-1

Router-F

 

6-6-6

Router-C

Ring-if1

129.10.0.2

Router-G

Ring-if2

129.10.0.7

Router-C

 

2-2-2

Router-G

 

7-7-7

Router-D

Ring-if1

129.10.0.3

Router-H

Ring-if2

129.10.0.8

Router-D

 

3-3-3

Router-H

 

8-8-8

Router-D

Ring-if2

129.10.0.4

Router-H

 

 

Router-D

 

4-4-4

Router-H

 

 

Router-E

Ring-if1

129.10.0.5

 

 

 

Router-E

 

5-5-5

 

 

 

适用产品版本

采用NE40E/NE80E设备,版本为(VRP5.30-31)及后续版本

配置步骤

步骤 1     在Router-B上创建RPR逻辑接口。

<Router-B> system-view

[Router-B] interface ring-if 1

[Router-B–ring-if1] shutdown

[Router-B–ring-if1] rpr mac-address 1-1-1

[Router-B–ring-if1] ip address 129.10.0.1 255.255.255.0

[Router-B–ring-if1] quit

步骤 2     在Router-B上配置物理端口和逻辑接口的绑定关系。

[Router-B] interface rpr 1/0/1

[Router-B-rpr1/0/1] shutdown

[Router-B-rpr1/0/1] rpr bind ring-if 1 west

[Router-B-rpr1/0/1] undo shutdown

[Router-B-rpr1/0/1] quit

[Router-B] interface rpr 1/0/2

[Router-B-rpr1/0/2] shutdown

[Router-B-rpr1/0/2] rpr bind ring-if 1 east

[Router-B-rpr1/0/2] undo shutdown

[Router-B-rpr1/0/2] quit

步骤 3     配置静态ARP。

[Router-B] arp static 129.10.0.2 2-2-2

[Router-B] arp static 129.10.0.3 3-3-3

[Router-B] arp static 129.10.0.4 4-4-4

[Router-B] arp static 129.10.0.5 5-5-5

[Router-B] arp static 129.10.0.6 6-6-6

[Router-B] arp static 129.10.0.7 7-7-7

[Router-B] arp static 129.10.0.8 8-8-8

步骤 4     在Router-B上启动RPR逻辑接口。

[Router-B] interface ring-if 1

[Router-B–ring-if1] undo shutdown

步骤 5     在Router-C、Router-E、Router-F、Router-G、Router-H上创建RPR节点。和在Router-B上创建RPR节点的方法类似,此处不再赘述。

步骤 6     配置Router-D

# 在Router-D上创建RPR逻辑接口。

[Router-D] interface ring-if 1

[Router-D–ring-if3] shutdown

[Router-D–ring-if3] rpr mac-address 3-3-3

[Router-D–ring-if3] ip address 129.10.0.3 255.255.255.0

[Router-D–ring-if3] quit

[Router-D] interface ring-if 2

[Router-D–ring-if4] shutdown

[Router-D–ring-if4] rpr mac-address 4-4-4

[Router-D–ring-if4] ip address 129.10.0.4 255.255.255.0

[Router-D–ring-if4] quit

# 在Router-D上配置物理端口和逻辑接口的绑定关系。

[Router-D] interface rpr 3/0/1

[Router-D-rpr3/0/1] shutdown

[Router-D-rpr3/0/1] rpr bind ring-if 1 west

[Router-D-rpr3/0/1] undo shutdown

[Router-D-rpr3/0/1] quit

[Router-D] interface rpr 4/0/1

[Router-D-rpr4/0/1] shutdown

[Router-D-rpr4/0/1] rpr bind ring-if 1 east

[Router-D-rpr4/0/1] undo shutdown

[Router-D-rpr4/0/1] quit

[Router-D] interface rpr 3/0/2

[Router-D-rpr3/0/2] shutdown

[Router-D-rpr3/0/2] rpr bind ring-if 2 west

[Router-D-rpr3/0/2] undo shutdown

[Router-D-rpr3/0/2] quit

[Router-D] interface rpr 4/0/2

[Router-D-rpr4/0/2] shutdown

[Router-D-rpr4/0/2] rpr bind ring-if 2 east

[Router-D-rpr4/0/2] undo shutdown

[Router-D-rpr4/0/2] quit

# 配置静态ARP。

[Router-D] arp static 129.10.0.1 1-1-1

[Router-D] arp static 129.10.0.2 2-2-2

[Router-D] arp static 129.10.0.5 5-5-5

[Router-D] arp static 129.10.0.6 6-6-6

[Router-D] arp static 129.10.0.7 7-7-7

[Router-D] arp static 129.10.0.8 8-8-8

# 在Router-D上打开RPR逻辑接口。

[Router-D] interface ring-if 1

[Router-D–ring-if3] undo shutdown

[Router-D] interface ring-if 2

[Router-D–ring-if4] undo shutdown

验证结果

从PC1上pingPC2,如果能够ping通,则表示配置成功。

配置文件
  • RouterB的配置文件

#

 sysname Router-B

#

interface ring-if1

 ip address 129.10.0.1 255.255.255.0

 rpr mac-address 0001-0001-0001

undo shutdown

#

interface rpr1/0/1

 rpr bind ring-if1 west

 undo shutdown

#

interface rpr1/0/2

 rpr bind ring-if1 east

 undo shutdown

#

 arp static 129.10.0.2         0002-0002-0002

 arp static 129.10.0.3         0003-0003-0003

 arp static 129.10.0.4         0004-0004-0004

arp static 129.10.0.5         0005-0005-0005

 arp static 129.10.0.6         0006-0006-0006

 arp static 129.10.0.7         0007-0007-0007

arp static 129.10.0.8         0008-0008-0008

#

return

  • RouterD的配置文件

#

 sysname Router-D

#

interface ring-if1

ip address 129.10.0.3 255.255.255.0

 rpr mac-address 0003-0003-0003

undo shutdown

 

#

interface ring-if2

ip address 129.10.0.4 255.255.255.0

 rpr mac-address 0004-0004-0004

undo shutdown

#

interface rpr3/0/1

 rpr bind ring-if1 west

 undo shutdown

#

interface rpr4/0/1

 rpr bind ring-if1 east

 undo shutdown

#

interface rpr3/0/2

 rpr bind ring-if2 west

 undo shutdown

#

interface rpr4/0/2

 rpr bind ring-if2 east

 undo shutdown

#

arp static 129.10.0.1         0001-0001-0001

 arp static 129.10.0.2         0002-0002-0002

arp static 129.10.0.5         0005-0005-0005

 arp static 129.10.0.6         0006-0006-0006

 arp static 129.10.0.7         0007-0007-0007

arp static 129.10.0.8         0008-0008-0008

#

return

  • RouterE的配置文件

Router-E的配置文件和Router-B的类似,此处不再赘述。

  • RouterF的配置文件

Router-F的配置文件和Router-B的类似,此处不再赘述。

  • RouterG的配置文件

Router-G的配置文件和Router-B的类似,此处不再赘述。

  • RouterH的配置文件

Router-H的配置文件和Router-B的类似,此处不再赘述。


·[知识课堂]H3C江西无线城市项案例目 
·[知识课堂]【华三培训】PPPoEoA Server 典型配置举例 
·[知识课堂]H3C认证培训知识课堂-H3C培训机构常见问答 
·[知识课堂]H3C MSR 20-1x路由器视频讲解 
·[知识课堂]【H3C认证网络工程师培训】IPoA 典型配置举例 
·[金桥动态]金桥世纪特别整理:H3C认证培训知识课堂 


点击这里给我发消息 点击这里给我发消息 点击这里给我发消息 点击这里给我发消息 点击这里给我发消息


开班信息

开班时间 班级类型 报名情况

7月14日

H3CTE认证

热报中

7月7日

H3CSE培训

热报中

7月7日

H3CNE认证

热报中

7月14日

H3CTE认证

热报中

7月7日

H3CSE培训

热报中

7月7日

H3CNE培训

热报中

7月14日

H3CTE认证

热报中

7月7日

H3CSE认证

热报中

7月7日

H3CNE培训

热报中

7月21日

H3CIMC培训

热报中

7月8日

H3C无线培训

热报中

7月8日

H3CEAD培训

热报中

7月28日

H3CPME认证

热报中

7月14日

H3C安全认证

热报中

7月21日

H3CIMC培训

热报中

7月8日

H3C无线培训

热报中

7月8日

H3CEAD培训

热报中

7月28日

H3CPME认证

热报中

7月14日

H3C安全认证

热报中

7月21日

H3CIMC培训

热报中

7月8日

H3C无线培训

热报中

7月8日

H3CEAD培训

热报中

7月28日

H3CPME认证

热报中

7月14日

H3C安全认证

热报中

点击咨询开班情况>>

在线咨询