部署单环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命令。否则,由于重启后需要重新进行拓扑检查,将导致倒换时间延长。
配置实例
组网需求

说明

配置用例中,只列出了与RPR配置相关的命令。

路由器RouterA、RouterB、RouterC和RouterD连接成一个逆向双环拓扑结构。

每台路由器上都是有两个RPR物理口RPR 3/0/0和RPR 4/0/0;RPR 3/0/0作为西向Span对应接口,RPR 4/0/0作为东向Span对应接口。

RPR环组网示意图

部署单环RPRNE路由器

适用产品版本

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

配置步骤

步骤 1     配置RouterA

# 创建并配置RPR逻辑接口ring-if 1。

<RouterA> system-view

[RouterA] interface ring-if 1

[RouterA–ring-if1] shutdown

[RouterA–ring-if1] rpr mac-address 1-1-1

[RouterA–ring-if1] ip address 129.10.0.1 255.255.255.0

[RouterA–ring-if1] quit

# 配置与RPR逻辑接口ring-if 1绑定的RPR物理接口。

[RouterA] interface rpr 3/0/0

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

[RouterA-rpr3/0/0] undo shutdown

[RouterA-rpr3/0/0] quit

[RouterA] interface rpr 4/0/0

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

[RouterA-rpr4/0/0] undo shutdown

[RouterA-rpr4/0/0] quit

# 配置静态ARP。

[RouterA] arp static 129.10.0.2 2-2-2

[RouterA] arp static 129.10.0.3 3-3-3

[RouterA] arp static 129.10.0.4 4-4-4

# 启动RPR逻辑接口。

[RouterA] interface ring-if 1

[RouterA–ring-if1] undo shutdown

步骤 2     配置RouterB

# 创建并配置RPR逻辑接口ring-if 1。

<RouterB> system-view

[RouterB] interface ring-if 1

[RouterB–ring-if1] shutdown

[RouterB–ring-if1] rpr mac-address 2-2-2

[RouterB–ring-if1] ip address 129.10.0.2 255.255.255.0

[RouterB–ring-if1] quit

# 配置与RPR逻辑接口ring-if 1绑定的RPR物理接口。

[RouterB] interface rpr 3/0/0

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

[RouterB-rpr3/0/0] undo shutdown

[RouterB-rpr3/0/0] quit

[RouterB] interface rpr 4/0/0

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

[RouterB-rpr4/0/0] undo shutdown

[RouterB-rpr4/0/0] quit

# 配置静态ARP。

[RouterB] arp static 129.10.0.1 1-1-1

[RouterB] arp static 129.10.0.3 3-3-3

[RouterB] arp static 129.10.0.4 4-4-4

# 启动RPR逻辑接口。

[RouterB] interface ring-if 1

[RouterB–ring-if1] undo shutdown

步骤 3     配置RouterC

# 创建并配置RPR逻辑接口ring-if 1。

<RouterC> system-view

[RouterC] interface ring-if 1

[RouterC–ring-if1] shutdown

[RouterC–ring-if1] rpr mac-address 3-3-3

[RouterC–ring-if1] ip address 129.10.0.3 255.255.255.0

[RouterC–ring-if1] quit

# 配置与RPR逻辑接口ring-if 1绑定的RPR物理接口。

[RouterC] interface rpr 3/0/0

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

[RouterC-rpr3/0/0] undo shutdown

[RouterC-rpr3/0/0] quit

[RouterC] interface rpr 4/0/0

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

[RouterC-rpr4/0/0] undo shutdown

# 配置静态ARP。

[RouterC] arp static 129.10.0.1 1-1-1

[RouterC] arp static 129.10.0.2 2-2-2

[RouterC] arp static 129.10.0.4 4-4-4

# 启动RPR逻辑接口。

[RouterC] interface ring-if 1

[RouterC–ring-if1] undo shutdown

步骤 4     配置RouterD

# 创建并配置RPR逻辑接口ring-if 1。

<RouterD> system-view

[RouterD] interface ring-if 1

[RouterD–ring-if1] shutdown

[RouterD–ring-if1] rpr mac-address 4-4-4

[RouterD–ring-if1] ip address 129.10.0.4 24

[RouterD–ring-if1] quit

# 配置与RPR逻辑接口ring-if 1绑定的RPR物理接口。

[RouterD] interface rpr 3/0/0

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

[RouterD-rpr3/0/0] undo shutdown

[RouterD-rpr3/0/0] quit

[RouterD] interface rpr 4/0/0

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

[RouterD-rpr4/0/0] undo shutdown

# 配置静态ARP。

[RouterD] arp static 129.10.0.1 1-1-1

[RouterD] arp static 129.10.0.2 2-2-2

[RouterD] arp static 129.10.0.3 3-3-3

# 启动RPR逻辑接口。

[RouterD] interface ring-if 1

[RouterD–ring-if1] undo shutdown

验证结果

在RouterA上查看RPR环的状态,应该为闭环(closed ring),环上共4个路由器。

<RouterA> display rpr topoinfo interface ring-if 1 ringinfo

Current topology type of the ring is a closed ring

Number of stations on the ring is 4

The Maximum Transmit Unit of the ring is 9100 bytes

Ring Supports jumbo frame

Do not supports bad fcs frames

Ring0:

 Upstream stations 3, downstream stations 3, Unreserved rate 10000 MB/S

Ring1:

 Upstream stations 3, downstream stations 3, Unreserved rate 10000 MB/S

从RouterA上能ping通RouterB、RouterC和RouterD的Ring-if 1接口。

<RouterA> ping 129.10.0.2

  PING 129.10.0.2: 56  data bytes, press CTRL_C to break

    Reply from 129.10.0.2: bytes=56 Sequence=1 ttl=254 time = 3 ms

    Reply from 129.10.0.2: bytes=56 Sequence=2 ttl=254 time = 3 ms

    Reply from 129.10.0.2: bytes=56 Sequence=3 ttl=254 time = 3 ms

    Reply from 129.10.0.2: bytes=56 Sequence=4 ttl=254 time = 3 ms

    Reply from 129.10.0.2: bytes=56 Sequence=5 ttl=254 time = 3 ms

  --- 129.10.0.2 ping statistics ---

    5 packet(s) transmitted

    5 packet(s) received

    0.00% packet loss

round-trip min/avg/max = 3/3/3 ms

配置文件

RouterA的配置文件

#

 sysname RouterA

#

interface ring-if1

 ip address 129.10.0.1 255.255.255.0

 rpr mac-address 0001-0001-0001

#

interface rpr3/0/0

 rpr bind ring-if1 west

 undo shutdown

#

interface rpr4/0/0

 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

#

RouterB,RouterC和RouterD的配置文件类似。


·[毕业学员]广州H3C认证网络排错专家(H3CTE)培训圆满结束 
·[知识课堂]使用本地用户认证进行Console登录 
·[就业指导]计算机专业的同学如何做好职业规划 
·[金桥动态]西南大学2011年在职攻读华三工程硕士学位招生简章 
·[知识课堂]H3CNE考试大纲《GB0-800 构建中小企业网络 v6.0》 
·[知识课堂]使用TFTP传输文件 

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

开班信息

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

7月15日

H3CTE认证

热报中

7月8日

H3CSE培训

热报中

7月1日

H3CNE认证

热报中

8月19日

H3CTE认证

热报中

8月12日

H3CSE培训

热报中

8月5日

H3CNE培训

热报中

9月9日

H3CTE认证

热报中

9月2日

H3CSE认证

热报中

9月9日

H3CNE培训

热报中

7月22日

H3CIMC培训

热报中

7月15日

H3C无线培训

热报中

7月8日

H3CEAD培训

热报中

7月29日

H3CPME认证

热报中

7月22日

H3C安全认证

热报中

8月26日

H3CIMC培训

热报中

7月15日

H3C无线培训

热报中

7月8日

H3CEAD培训

热报中

8月26日

H3CPME认证

热报中

8月19日

H3C安全认证

热报中

9月23日

H3CIMC培训

热报中

9月23日

H3C无线培训

热报中

9月9日

H3CEAD培训

热报中

9月16日

H3CPME认证

热报中

9月23日

H3C安全认证

热报中

点击咨询开班情况>>