目录
MRPP 配置
一、组网说明
交换机组成一个单一的MRPP环,所有的交换机都只配置了一个MRPP环4000,从而组成一个单一的MRPP环。在上面的配置中,SWITCH A配置为MRPP环4000的主节点,并且配置E0/0/1为主端口,E0/0/2为副端口。其它交换机为MRPP环的副节点,分别配置了主端口和副端口。为了避免环路,在使能整个MRPP环的各MRPP环时,应该暂时关闭其中主节点的一个端口,等到所有节点配置完成后,再打开该端口。
二、组网图
三、配置步骤
SWITCH A配置任务序列:
Switch(Config)#
mrpp enable
Switch(Config)#
mrpp ring
4000
Switch(mrpp-ring-4000)#
control-vlan
4000
Switch(mrpp-ring-4000)#
fail-timer
18
Switch(mrpp-ring-4000)#
hello-timer
5
Switch(mrpp-ring-4000)#
node-mode master
Switch(mrpp-ring-4000)#
enable
Switch(Config)#
interface ethernet 0/0/1
Switch(config-If-Ethernet0/0/1)#
mrpp ring
4000
primary-port
Switch(config-If-Ethernet0/0/1)#
interface ethernet 0/0/2
Switch(config-If-Ethernet0/0/2)#
mrpp ring
4000
secondary-port
SWITCH B配置任务序列:
Switch(Config)#
mrpp enable
Switch(Config)#
mrpp ring
4000
Switch(mrpp-ring-4000)#
control-vlan
4000
Switch(mrpp-ring-4000)#
enable
Switch(Config)#
interface ethernet 0/0/1
Switch(config-If-Ethernet0/0/1)#
mrpp ring
4000
primary-port
Switch(config-If-Ethernet0/0/1)#
interface ethernet 0/0/2
Switch(config-If-Ethernet0/0/2)#
mrpp ring
4000
secondary-port
SWITCH C配置任务序列:
Switch(Config)#
mrpp enable
Switch(Config)#
mrpp ring
4000
Switch(mrpp-ring-4000)#
control-vlan
4000
Switch(mrpp-ring-4000)#
enable
Switch(Config)#
interface ethernet 0/0/1
Switch(config-If-Ethernet0/0/1)#
mrpp ring
4000
primary-port
Switch(config-If-Ethernet0/0/1)#
interface ethernet 0/0/2
Switch(config-If-Ethernet0/0/2)#
mrpp ring
4000
secondary-port
SWITCH D配置任务序列:
Switch(Config)#
mrpp enable
Switch(Config)#
mrpp ring
4000
Switch(mrpp-ring-4000)#
control-vlan
4000
Switch(mrpp-ring-4000)#
enable
Switch(Config)#
interface ethernet 0/0/1
Switch(config-If-Ethernet0/0/1)#
mrpp ring
4000
primary-port
Switch(config-If-Ethernet0/0/1)#
interface ethernet 0/0/2
Switch(config-If-Ethernet0/0/2)#
mrpp ring
4000
secondary-port
四、注意事项
MRPP协议的正常运行非常依赖于对MRPP环上各个交换机的正常配置,否则极有可能形成环路和广播风暴:
1.. 在配置MRPP环路时。最好先断开该环路,等待各个交换机配置完毕后再打开该环路
2. 在关闭MRPP环路上一个使能的交换机的MRPP环的时候,应确保该MRPP环所在的环路已经断开。
3. 在MRPP环上出现广播风暴时,首先断开该环路,并确定环上的各个交换机MRPP环配置是否正确,如果配置正确,恢复该环路,然后观察环路是否正常。
4. RPP环网的收敛时间和端口up/down的响应方式有关。若使用查询方式,在简单环网内,MRPP收敛时间为几百毫秒;若使用中断 方式,收敛时间在50毫秒以内。