不要跟我讲什么VXLAN、SDN,

老夫搞了十几年网络就是‘一把梭’,配VLAN、默认路由,Permit any any,插上console就是干,通了就走!

H3C华三RRPP单环配置

组网需求

  • Device A~Device D构成RRPP域1,该域的主控制VLAN为VLAN 4092,保护VLAN为VLAN 1~30。
  • Device A、Device B、Device C和Device D构成主环Ring 1。Device A为主环的主节点,Ten-GigabitEthernet1/0/1和Ten-GigabitEthernet1/0/2分别为主、副端口;Device B、Device C和Device D为主环的传输节点,其各自的Ten-GigabitEthernet1/0/1和Ten-GigabitEthernet1/0/2分别为主、副端口。

组网图

《H3C华三RRPP单环配置》

 

配置步骤

(1) 配置Device A
# 创建VLAN 1~30,将这些VLAN都映射到MSTI 1上,并激活MST域的配置。
<DeviceA> system-view
[DeviceA] vlan 1 to 30
[DeviceA] stp region-configuration
[DeviceA-mst-region] instance 1 vlan 1 to 30
[DeviceA-mst-region] active region-configuration
[DeviceA-mst-region] quit
# 分别在端口Ten-GigabitEthernet1/0/1和Ten-GigabitEthernet1/0/2上配置物理连接状态up/down抑制时间为0秒(即不抑制),关闭生成树协议,并将端口配置为Trunk端口且允许VLAN 1~30通过。
[DeviceA] interface ten-gigabitethernet 1/0/1
[DeviceA-Ten-GigabitEthernet1/0/1] link-delay 0
[DeviceA-Ten-GigabitEthernet1/0/1] undo stp enable
[DeviceA-Ten-GigabitEthernet1/0/1] port link-type trunk
[DeviceA-Ten-GigabitEthernet1/0/1] port trunk permit vlan 1 to 30
[DeviceA-Ten-GigabitEthernet1/0/1] quit
[DeviceA] interface ten-gigabitethernet 1/0/2
[DeviceA-Ten-GigabitEthernet1/0/2] link-delay 0
[DeviceA-Ten-GigabitEthernet1/0/2] undo stp enable
[DeviceA-Ten-GigabitEthernet1/0/2] port link-type trunk
[DeviceA-Ten-GigabitEthernet1/0/2] port trunk permit vlan 1 to 30
[DeviceA-Ten-GigabitEthernet1/0/2] quit
# 创建RRPP域1,将VLAN 4092配置为该域的主控制VLAN,并将MSTI 1所映射的VLAN配置为该域的保护VLAN。
[DeviceA] rrpp domain 1
[DeviceA-rrpp-domain1] control-vlan 4092
[DeviceA-rrpp-domain1] protected-vlan reference-instance 1
# 配置本设备为主环Ring 1的主节点,主端口为Ten-GigabitEthernet1/0/1,副端口为Ten-GigabitEthernet1/0/2,并使能该环。
[DeviceA-rrpp-domain1] ring 1 node-mode master primary-port ten-gigabitethernet 1/0/1 secondary-port ten-gigabitethernet 1/0/2 level 0
[DeviceA-rrpp-domain1] ring 1 enable
[DeviceA-rrpp-domain1] quit
# 使能RRPP协议。
[DeviceA] rrpp enable
(2) 配置Device B
# 创建VLAN 1~30,将这些VLAN都映射到MSTI 1上,并激活MST域的配置。
<DeviceB> system-view
[DeviceB] vlan 1 to 30
[DeviceB] stp region-configuration
[DeviceB-mst-region] instance 1 vlan 1 to 30
[DeviceB-mst-region] active region-configuration
[DeviceB-mst-region] quit
# 分别在端口Ten-GigabitEthernet1/0/1和Ten-GigabitEthernet1/0/2上配置物理连接状态up/down抑制时间为0秒(即不抑制),关闭生成树协议,并将端口配置为Trunk端口且允许VLAN 1~30通过。
[DeviceB] interface ten-gigabitethernet 1/0/1
[DeviceB-Ten-GigabitEthernet1/0/1] link-delay 0
[DeviceB-Ten-GigabitEthernet1/0/1] undo stp enable
[DeviceB-Ten-GigabitEthernet1/0/1] port link-type trunk
[DeviceB-Ten-GigabitEthernet1/0/1] port trunk permit vlan 1 to 30
[DeviceB-Ten-GigabitEthernet1/0/1] quit
[DeviceB] interface ten-gigabitethernet 1/0/2
[DeviceB-Ten-GigabitEthernet1/0/2] link-delay 0
[DeviceB-Ten-GigabitEthernet1/0/2] undo stp enable
[DeviceB-Ten-GigabitEthernet1/0/2] port link-type trunk
[DeviceB-Ten-GigabitEthernet1/0/2] port trunk permit vlan 1 to 30
[DeviceB-Ten-GigabitEthernet1/0/2] quit
# 创建RRPP域1,将VLAN 4092配置为该域的主控制VLAN,并将MSTI 1所映射的VLAN配置为该域的保护VLAN。
[DeviceB] rrpp domain 1
[DeviceB-rrpp-domain1] control-vlan 4092
[DeviceB-rrpp-domain1] protected-vlan reference-instance 1
# 配置本设备为主环Ring 1的传输节点,主端口为Ten-GigabitEthernet1/0/1,副端口为Ten-GigabitEthernet1/0/2,并使能该环。
[DeviceB-rrpp-domain1] ring 1 node-mode transit primary-port ten-gigabitethernet 1/0/1 secondary-port ten-gigabitethernet 1/0/2 level 0
[DeviceB-rrpp-domain1] ring 1 enable
[DeviceB-rrpp-domain1] quit
# 使能RRPP协议。
[DeviceB] rrpp enable
(3) 配置Device C
Device C的配置与Device B相似,配置过程略。
(4) 配置Device D
Device D的配置与Device B相似,配置过程略。

验证配置

配置完成后,用户可以使用display命令显示各设备上RRPP的配置和运行情况。

点赞