RPR主要应用在城域网骨干层和接入层,同时也可以在分散的政务网、企业网和校园网中应用,还可应用于IDC(Internet Data Center)和ISP(Internet Service Provider)之中。RPR环网的主要目标是建立低成本高性能的IP城域网,作为城域网中IP业务的承载网络。
在IP城域网中,运营商需要为个人用户和大客户提供包括宽带上网、专线接入、数据互连、VPN等在内的各种业务,为此需要组建一个高品质运营网络。RPR提供一套高品质低成本的解决方案。相对以往的纯以太城域网,RPR城域网由于固有的保护特性,具有更高的可靠性,同时RPR的带宽公平分配能力能够大大提升光纤带宽资源的利用率,避免以往城域网星形结构下部分主干链路成为瓶颈导致其他链路带宽利用率低下的问题,此外也提供很灵活的扩展性。
采用如下的思路配置本例:
1. 创建RPR逻辑接口。
2. 配置物理端口和逻辑接口的绑定关系。
3. 配置静态ARP。
4. 启动RPR逻辑接口。
在下图所示的网络中,PC1和PC2之间需要通过RPR环网互相通信。各路由器的东西向Span接口如下图所示。
配置RPR相切环示例
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通,则表示配置成功。
#
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
#
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
Router-E的配置文件和Router-B的类似,此处不再赘述。
Router-F的配置文件和Router-B的类似,此处不再赘述。
Router-G的配置文件和Router-B的类似,此处不再赘述。
Router-H的配置文件和Router-B的类似,此处不再赘述。
|
|
||
|
|
||
|
|
7月26 |
H3CNE认证 |
热报中 |
8月16 |
H3C-IMC认证 |
热报中 |
7月26 |
H3CNE认证 |
热报中 |
7月26 |
H3CIE+认证 |
热报中 |
8月16 |
H3C-IMC认证 |
热报中 |
7月26 |
H3CNE培训 |
热报中 |
7月26 |
H3CSE认证 |
热报中 |
8月16 |
H3C无线 |
热报中 |
7月26 |
H3CSE培训 |
热报中 |
8月16 |
H3CIMC培训 |
热报中 |
8月16 |
H3C无线培训 |
热报中 |
8月31 |
H3CEAD培训 |
热报中 |
8月16 |
H3CPME认证 |
热报中 |
8月16 |
H3C安全认证 |
热报中 |
8月16 |
H3CIMC培训 |
热报中 |
8月16 |
H3C无线培训 |
热报中 |
8月09 |
H3CEAD培训 |
热报中 |
8月16 |
H3CPME认证 |
热报中 |
8月16 |
H3C安全认证 |
热报中 |
8月16 |
H3CIMC培训 |
热报中 |
8月09 |
H3C无线培训 |
热报中 |
8月09 |
H3CEAD培训 |
热报中 |
8月09 |
H3CPME认证 |
热报中 |
8月09 |
H3C安全认证 |
热报中 |