二层环路保护,RRPP多环的配置

  作者:邓聪聪

  组网需求:

    局域网中,由A/B/C/D构成RRPP域1换网络结构,要求环网机构中的任意两条线路中断都不能影响业务。

  配置思路:

    环路由两部分组成,ring1、ring2,B为环1的主节点,G0/0/2为主端口,G0/0/3为阻塞口,A的G0/0/1为传输节点,G/0/0/2为阻塞口,D的G0/0/3为传输节点,G0/0/1为阻塞端口。C的G0/0/1为环2的主节点,G0/0/2为阻塞端口,B的G0/0/3口是主边缘端口,G0/0/1为阻塞口,D的G0/0/3口为副边缘端口,G0/0/2为阻塞口

配置文件:

A设备:
rrpp enable rrpp domain
1 control-vlan 4093 protected-vlan reference-instance 0 ring 1 node-mode transit primary-port GigabitEthernet0/0/1 secondary-port Gigab itEthernet0/0/2 level 0 ring 1 enable # interface Vlanif1 ip address 1.1.1.2 255.255.255.0 # interface GigabitEthernet0/0/1 port link-type trunk port trunk allow-pass vlan 4093 to 4094 stp disable # interface GigabitEthernet0/0/2 port link-type trunk port trunk allow-pass vlan 4093 to 4094 stp disable
B设备:

rrpp enable
#
rrpp domain 1
control-vlan 4093
protected-vlan reference-instance 0
ring 1 node-mode master primary-port GigabitEthernet0/0/2 secondary-port Gigabi
tEthernet0/0/3 level 0
ring 1 enable
ring 2 node-mode edge common-port GigabitEthernet0/0/3 edge-port GigabitEtherne
t0/0/1
ring 2 enable
#
drop-profile default
#
interface Vlanif1
ip address 1.1.1.1 255.255.255.0


interface GigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 4094
stp disable
#
interface GigabitEthernet0/0/2
shutdown
port link-type trunk
port trunk allow-pass vlan 4093 to 4094
stp disable
#
interface GigabitEthernet0/0/3
shutdown
port link-type trunk
port trunk allow-pass vlan 4093 to 4094
stp disable

C设备:

rrpp enable
#
rrpp domain 1
control-vlan 4093
protected-vlan reference-instance 0
ring 2 node-mode master primary-port GigabitEthernet0/0/1 secondary-port Gigabi
tEthernet0/0/2 level 1
ring 2 enable
#
interface Vlanif1
ip address 1.1.1.3 255.255.255.0
#
interface MEth0/0/1
#
interface GigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 4094
stp disable
#
interface GigabitEthernet0/0/2
port link-type trunk
port trunk allow-pass vlan 4094
stp disable

D设备:

rrpp enable
#
rrpp domain 1
control-vlan 4093
protected-vlan reference-instance 0
ring 1 node-mode transit primary-port GigabitEthernet0/0/3 secondary-port Gigab
itEthernet0/0/1 level 0
ring 1 enable
ring 2 node-mode assistant-edge common-port GigabitEthernet0/0/3 edge-port Giga
bitEthernet0/0/2
ring 2 enable
#
interface Vlanif1
ip address 1.1.1.4 255.255.255.0
#
interface MEth0/0/1
#
interface GigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 4093 to 4094
stp disable
#
interface GigabitEthernet0/0/2
port link-type trunk
port trunk allow-pass vlan 4094
stp disable
#
interface GigabitEthernet0/0/3
port link-type trunk
port trunk allow-pass vlan 4093 to 4094
stp disable

 

  

posted @ 2018-05-28 16:18  邓聪聪  阅读(726)  评论(0编辑  收藏  举报