Sw1/sw2/sw3/sw4/sw5/sw6/sw7/sw8一共8台交换机。
Sw1/sw2/sw3/sw4/sw5/sw6/sw7/sw8一共8台交换机。
(0)
最佳答案
· Device A、Device B、Device C、Device D和Device F构成RRPP域1,该域的主控制VLAN为VLAN 100。在该域中,Device A和Device D分别为主环Ring 1的主节点和传输节点,Device F、Device C和Device B分别为子环Ring 3的主节点、边缘节点和辅助边缘节点。
· Device A、Device B、Device C、Device D和Device E构成RRPP域2,该域的主控制VLAN为VLAN 105。在该域中,Device A和Device D分别为主环Ring 1的主节点和传输节点,Device E、Device C和Device B分别为子环Ring 2的主节点、边缘节点和辅助边缘节点。
· RRPP域1的保护VLAN为VLAN 11,RRPP域2的保护VLAN为VLAN 12。由此可以按照VLAN在主环上实现负载分担。
· 由于子环Ring 2和Ring 3的边缘节点和辅助边缘节点的配置相同,且其对应的主环链路也相同,因此可将子环Ring 2和Ring 3加入环组,以减少Edge-Hello报文的收发数量。
图1-10 相交环负载分担配置组网图
(1) 配置Device A
# 创建VLAN 11和12,将VLAN 11和12分别映射到MSTI 1和2上,并激活MST域的配置。
<DeviceA> system-view
[DeviceA] vlan 11 to 12
[DeviceA] stp region-configuration
[DeviceA-mst-region] instance 1 vlan 11
[DeviceA-mst-region] instance 2 vlan 12
[DeviceA-mst-region] active region-configuration
[DeviceA-mst-region] quit
# 分别在端口GigabitEthernet1/0/1和GigabitEthernet1/0/2上配置物理连接状态up/down抑制时间为0秒(即不抑制),关闭生成树协议;将端口配置为Trunk端口,禁止VLAN 1通过、允许VLAN 11和12通过,并配置其缺省VLAN为VLAN 11。
[DeviceA] interface gigabitethernet 1/0/1
[DeviceA-GigabitEthernet1/0/1] link-delay up 0
[DeviceA-GigabitEthernet1/0/1] link-delay down 0
[DeviceA-GigabitEthernet1/0/1] undo stp enable
[DeviceA-GigabitEthernet1/0/1] port link-type trunk
[DeviceA-GigabitEthernet1/0/1] undo port trunk permit vlan 1
[DeviceA-GigabitEthernet1/0/1] port trunk permit vlan 11 12
[DeviceA-GigabitEthernet1/0/1] port trunk pvid vlan 11
[DeviceA-GigabitEthernet1/0/1] quit
[DeviceA] interface gigabitethernet 1/0/2
[DeviceA-GigabitEthernet1/0/2] link-delay up 0
[DeviceA-GigabitEthernet1/0/2] link-delay down 0
[DeviceA-GigabitEthernet1/0/2] undo stp enable
[DeviceA-GigabitEthernet1/0/2] port link-type trunk
[DeviceA-GigabitEthernet1/0/2] undo port trunk permit vlan 1
[DeviceA-GigabitEthernet1/0/2] port trunk permit vlan 11 12
[DeviceA-GigabitEthernet1/0/2] port trunk pvid vlan 11
[DeviceA-GigabitEthernet1/0/2] quit
# 创建RRPP域1,将VLAN 100配置为该域的主控制VLAN,并将MSTI 1所映射的VLAN配置为该域的保护VLAN。
[DeviceA] rrpp domain 1
[DeviceA-rrpp-domain1] control-vlan 100
[DeviceA-rrpp-domain1] protected-vlan reference-instance 1
# 在RRPP域1内配置本设备为主环Ring 1的主节点,主端口为GigabitEthernet1/0/1,副端口为GigabitEthernet1/0/2,并开启该环。
[DeviceA-rrpp-domain1] ring 1 node-mode master primary-port gigabitethernet 1/0/1 secondary-port gigabitethernet 1/0/2 level 0
[DeviceA-rrpp-domain1] ring 1 enable
[DeviceA-rrpp-domain1] quit
# 创建RRPP域2,将VLAN 105配置为该域的主控制VLAN,并将MSTI 2所映射的VLAN配置为该域的保护VLAN。
[DeviceA] rrpp domain 2
[DeviceA-rrpp-domain2] control-vlan 105
[DeviceA-rrpp-domain2] protected-vlan reference-instance 2
# 在RRPP域2内配置本设备为主环Ring 1的主节点,主端口为GigabitEthernet1/0/2,副端口为GigabitEthernet1/0/1,并开启该环。
[DeviceA-rrpp-domain2] ring 1 node-mode master primary-port gigabitethernet 1/0/2 secondary-port gigabitethernet 1/0/1 level 0
[DeviceA-rrpp-domain2] ring 1 enable
[DeviceA-rrpp-domain2] quit
# 开启RRPP协议。
[DeviceA] rrpp enable
(2) 配置Device B
# 创建VLAN 11和12,将VLAN 11和12分别映射到MSTI 1和2上,并激活MST域的配置。
<DeviceB> system-view
[DeviceB] vlan 11 to 12
[DeviceB] stp region-configuration
[DeviceB-mst-region] instance 1 vlan 11
[DeviceB-mst-region] instance 2 vlan 12
[DeviceB-mst-region] active region-configuration
[DeviceB-mst-region] quit
# 分别在端口GigabitEthernet1/0/1和GigabitEthernet1/0/2上配置物理连接状态up/down抑制时间为0秒(即不抑制),关闭生成树协议;将端口配置为Trunk端口,禁止VLAN 1通过、允许VLAN 11和12通过,并配置其缺省VLAN为VLAN 11。
[DeviceB] interface gigabitethernet 1/0/1
[DeviceB-GigabitEthernet1/0/1] link-delay up 0
[DeviceB-GigabitEthernet1/0/1] link-delay down 0
[DeviceB-GigabitEthernet1/0/1] undo stp enable
[DeviceB-GigabitEthernet1/0/1] port link-type trunk
[DeviceB-GigabitEthernet1/0/1] undo port trunk permit vlan 1
[DeviceB-GigabitEthernet1/0/1] port trunk permit vlan 11 12
[DeviceB-GigabitEthernet1/0/1] port trunk pvid vlan 11
[DeviceB-GigabitEthernet1/0/1] quit
[DeviceB] interface gigabitethernet 1/0/2
[DeviceB-GigabitEthernet1/0/2] link-delay up 0
[DeviceB-GigabitEthernet1/0/2] link-delay down 0
[DeviceB-GigabitEthernet1/0/2] undo stp enable
[DeviceB-GigabitEthernet1/0/2] port link-type trunk
[DeviceB-GigabitEthernet1/0/2] undo port trunk permit vlan 1
[DeviceB-GigabitEthernet1/0/2] port trunk permit vlan 11 12
[DeviceB-GigabitEthernet1/0/2] port trunk pvid vlan 11
[DeviceB-GigabitEthernet1/0/2] quit
# 在端口GigabitEthernet1/0/3上配置物理连接状态up/down抑制时间为0秒(即不抑制),关闭生成树协议;将端口配置为Trunk端口,禁止VLAN 1通过、允许VLAN 12通过,并配置其缺省VLAN为VLAN 12。
[DeviceB] interface gigabitethernet 1/0/3
[DeviceB-GigabitEthernet1/0/3] link-delay up 0
[DeviceB-GigabitEthernet1/0/3] link-delay down 0
[DeviceB-GigabitEthernet1/0/3] undo stp enable
[DeviceB-GigabitEthernet1/0/3] port link-type trunk
[DeviceB-GigabitEthernet1/0/3] undo port trunk permit vlan 1
[DeviceB-GigabitEthernet1/0/3] port trunk permit vlan 12
[DeviceB-GigabitEthernet1/0/3] port trunk pvid vlan 12
[DeviceB-GigabitEthernet1/0/3] quit
# 在端口GigabitEthernet1/0/4上配置物理连接状态up/down抑制时间为0秒(即不抑制),关闭生成树协议;将端口配置为Trunk端口,禁止VLAN 1通过、允许VLAN 11通过,并配置其缺省VLAN为VLAN 11。
[DeviceB] interface gigabitethernet 1/0/4
[DeviceB-GigabitEthernet1/0/4] link-delay up 0
[DeviceB-GigabitEthernet1/0/4] link-delay down 0
[DeviceB-GigabitEthernet1/0/4] undo stp enable
[DeviceB-GigabitEthernet1/0/4] port link-type trunk
[DeviceB-GigabitEthernet1/0/4] undo port trunk permit vlan 1
[DeviceB-GigabitEthernet1/0/4] port trunk permit vlan 11
[DeviceB-GigabitEthernet1/0/4] port trunk pvid vlan 11
[DeviceB-GigabitEthernet1/0/4] quit
# 创建RRPP域1,将VLAN 100配置为该域的主控制VLAN,并将MSTI 1所映射的VLAN配置为该域的保护VLAN。
[DeviceB] rrpp domain 1
[DeviceB-rrpp-domain1] control-vlan 100
[DeviceB-rrpp-domain1] protected-vlan reference-instance 1
# 在RRPP域1内配置本设备为主环Ring 1的传输节点,主端口为GigabitEthernet1/0/1,副端口为GigabitEthernet1/0/2,并开启该环。
[DeviceB-rrpp-domain1] ring 1 node-mode transit primary-port gigabitethernet 1/0/1 secondary-port gigabitethernet 1/0/2 level 0
[DeviceB-rrpp-domain1] ring 1 enable
# 在RRPP域1内配置本设备为子环Ring 3的辅助边缘节点,边缘端口为GigabitEthernet1/0/4,并开启该环。
[DeviceB-rrpp-domain1] ring 3 node-mode assistant-edge edge-port gigabitethernet 1/0/4
[DeviceB-rrpp-domain1] ring 3 enable
[DeviceB-rrpp-domain1] quit
# 创建RRPP域2,将VLAN 105配置为该域的主控制VLAN,并将MSTI 2所映射的VLAN配置为该域的保护VLAN。
[DeviceB] rrpp domain 2
[DeviceB-rrpp-domain2] control-vlan 105
[DeviceB-rrpp-domain2] protected-vlan reference-instance 2
# 在RRPP域2内配置本设备为主环Ring 1的传输节点,主端口为GigabitEthernet1/0/1,副端口为GigabitEthernet1/0/2,并开启该环。
[DeviceB-rrpp-domain2] ring 1 node-mode transit primary-port gigabitethernet 1/0/1 secondary-port gigabitethernet 1/0/2 level 0
[DeviceB-rrpp-domain2] ring 1 enable
# 在RRPP域2内配置本设备为子环Ring 2的辅助边缘节点,边缘端口为GigabitEthernet1/0/3,并开启该环。
[DeviceB-rrpp-domain2] ring 2 node-mode assistant-edge edge-port gigabitethernet 1/0/3
[DeviceB-rrpp-domain2] ring 2 enable
[DeviceB-rrpp-domain2] quit
# 开启RRPP协议。
[DeviceB] rrpp enable
(3) 配置Device C
# 创建VLAN 11和12,将VLAN 11和12分别映射到MSTI 1和2上,并激活MST域的配置。
<DeviceC> system-view
[DeviceC] vlan 11 to 12
[DeviceC] stp region-configuration
[DeviceC-mst-region] instance 1 vlan 11
[DeviceC-mst-region] instance 2 vlan 12
[DeviceC-mst-region] active region-configuration
[DeviceC-mst-region] quit
# 分别在端口GigabitEthernet1/0/1和GigabitEthernet1/0/2上配置物理连接状态up/down抑制时间为0秒(即不抑制),关闭生成树协议;将端口配置为Trunk端口,禁止VLAN 1通过、允许VLAN 11和12通过,并配置其缺省VLAN为VLAN 11。
[DeviceC] interface gigabitethernet 1/0/1
[DeviceC-GigabitEthernet1/0/1] link-delay up 0
[DeviceC-GigabitEthernet1/0/1] link-delay down 0
[DeviceC-GigabitEthernet1/0/1] undo stp enable
[DeviceC-GigabitEthernet1/0/1] port link-type trunk
[DeviceC-GigabitEthernet1/0/1] undo port trunk permit vlan 1
[DeviceC-GigabitEthernet1/0/1] port trunk permit vlan 11 12
[DeviceC-GigabitEthernet1/0/1] port trunk pvid vlan 11
[DeviceC-GigabitEthernet1/0/1] quit
[DeviceC] interface gigabitethernet 1/0/2
[DeviceC-GigabitEthernet1/0/2] link-delay up 0
[DeviceC-GigabitEthernet1/0/2] link-delay down 0
[DeviceC-GigabitEthernet1/0/2] undo stp enable
[DeviceC-GigabitEthernet1/0/2] port link-type trunk
[DeviceC-GigabitEthernet1/0/2] undo port trunk permit vlan 1
[DeviceC-GigabitEthernet1/0/2] port trunk permit vlan 11 12
[DeviceC-GigabitEthernet1/0/2] port trunk pvid vlan 11
[DeviceC-GigabitEthernet1/0/2] quit
# 在端口GigabitEthernet1/0/3上配置物理连接状态up/down抑制时间为0秒(即不抑制),关闭生成树协议;将端口配置为Trunk端口,禁止VLAN 1通过、允许VLAN 12通过,并配置其缺省VLAN为VLAN 12。
[DeviceC] interface gigabitethernet 1/0/3
[DeviceC-GigabitEthernet1/0/3] link-delay up 0
[DeviceC-GigabitEthernet1/0/3] link-delay down 0
[DeviceC-GigabitEthernet1/0/3] undo stp enable
[DeviceC-GigabitEthernet1/0/3] port link-type trunk
[DeviceC-GigabitEthernet1/0/3] undo port trunk permit vlan 1
[DeviceC-GigabitEthernet1/0/3] port trunk permit vlan 12
[DeviceC-GigabitEthernet1/0/3] port trunk pvid vlan 12
[DeviceC-GigabitEthernet1/0/3] quit
# 在端口GigabitEthernet1/0/4上配置物理连接状态up/down抑制时间为0秒(即不抑制),关闭生成树协议;将端口配置为Trunk端口,禁止VLAN 1通过、允许VLAN 11通过,并配置其缺省VLAN为VLAN 11。
[DeviceC] interface gigabitethernet 1/0/4
[DeviceC-GigabitEthernet1/0/4] link-delay up 0
[DeviceC-GigabitEthernet1/0/4] link-delay down 0
[DeviceC-GigabitEthernet1/0/4] undo stp enable
[DeviceC-GigabitEthernet1/0/4] port link-type trunk
[DeviceC-GigabitEthernet1/0/4] undo port trunk permit vlan 1
[DeviceC-GigabitEthernet1/0/4] port trunk permit vlan 11
[DeviceC-GigabitEthernet1/0/4] port trunk pvid vlan 11
[DeviceC-GigabitEthernet1/0/4] quit
# 创建RRPP域1,将VLAN 100配置为该域的主控制VLAN,并将MSTI 1所映射的VLAN配置为该域的保护VLAN。
[DeviceC] rrpp domain 1
[DeviceC-rrpp-domain1] control-vlan 100
[DeviceC-rrpp-domain1] protected-vlan reference-instance 1
# 在RRPP域1内配置本设备为主环Ring 1的传输节点,主端口为GigabitEthernet1/0/1,副端口为GigabitEthernet1/0/2,并开启该环。
[DeviceC-rrpp-domain1] ring 1 node-mode transit primary-port gigabitethernet 1/0/1 secondary-port gigabitethernet 1/0/2 level 0
[DeviceC-rrpp-domain1] ring 1 enable
# 在RRPP域1内配置本设备为子环Ring 3的边缘节点,边缘端口为GigabitEthernet1/0/4,并开启该环。
[DeviceC-rrpp-domain1] ring 3 node-mode edge edge-port gigabitethernet 1/0/4
[DeviceC-rrpp-domain1] ring 3 enable
[DeviceC-rrpp-domain1] quit
# 创建RRPP域2,将VLAN 105配置为该域的主控制VLAN,并将MSTI 2所映射的VLAN配置为该域的保护VLAN。
[DeviceC] rrpp domain 2
[DeviceC-rrpp-domain2] control-vlan 105
[DeviceC-rrpp-domain2] protected-vlan reference-instance 2
# 在RRPP域2内配置本设备为主环Ring 1的传输节点,主端口为GigabitEthernet1/0/1,副端口为GigabitEthernet1/0/2,并开启该环。
[DeviceC-rrpp-domain2] ring 1 node-mode transit primary-port gigabitethernet 1/0/1 secondary-port gigabitethernet 1/0/2 level 0
[DeviceC-rrpp-domain2] ring 1 enable
# 在RRPP域2内配置本设备为子环Ring 2的边缘节点,边缘端口为GigabitEthernet1/0/3,并开启该环。
[DeviceC-rrpp-domain2] ring 2 node-mode edge edge-port GigabitEthernet1/0/3
[DeviceC-rrpp-domain2] ring 2 enable
[DeviceC-rrpp-domain2] quit
# 开启RRPP协议。
[DeviceC] rrpp enable
(4) 配置Device D
# 创建VLAN 11和12,将VLAN 11和12分别映射到MSTI 1和2上,并激活MST域的配置。
<DeviceD> system-view
[DeviceD] vlan 11 to 12
[DeviceD] stp region-configuration
[DeviceD-mst-region] instance 1 vlan 11
[DeviceD-mst-region] instance 2 vlan 12
[DeviceD-mst-region] active region-configuration
[DeviceD-mst-region] quit
# 分别在端口GigabitEthernet1/0/1和GigabitEthernet1/0/2上配置物理连接状态up/down抑制时间为0秒(即不抑制),关闭生成树协议;将端口配置为Trunk端口,禁止VLAN 1通过、允许VLAN 11和12通过,并配置其缺省VLAN为VLAN 11。
[DeviceD] interface gigabitethernet 1/0/1
[DeviceD-GigabitEthernet1/0/1] link-delay up 0
[DeviceD-GigabitEthernet1/0/1] link-delay down 0
[DeviceD-GigabitEthernet1/0/1] undo stp enable
[DeviceD-GigabitEthernet1/0/1] port link-type trunk
[DeviceD-GigabitEthernet1/0/1] undo port trunk permit vlan 1
[DeviceD-GigabitEthernet1/0/1] port trunk permit vlan 11 12
[DeviceD-GigabitEthernet1/0/1] port trunk pvid vlan 11
[DeviceD-GigabitEthernet1/0/1] quit
[DeviceD] interface gigabitethernet 1/0/2
[DeviceD-GigabitEthernet1/0/2] link-delay up 0
[DeviceD-GigabitEthernet1/0/2] link-delay down 0
[DeviceD-GigabitEthernet1/0/2] undo stp enable
[DeviceD-GigabitEthernet1/0/2] port link-type trunk
[DeviceD-GigabitEthernet1/0/2] undo port trunk permit vlan 1
[DeviceD-GigabitEthernet1/0/2] port trunk permit vlan 11 12
[DeviceD-GigabitEthernet1/0/2] port trunk pvid vlan 11
[DeviceD-GigabitEthernet1/0/2] quit
# 创建RRPP域1,将VLAN 100配置为该域的主控制VLAN,并将MSTI 1所映射的VLAN配置为该域的保护VLAN。
[DeviceD] rrpp domain 1
[DeviceD-rrpp-domain1] control-vlan 100
[DeviceD-rrpp-domain1] protected-vlan reference-instance 1
# 在RRPP域1内配置本设备为主环Ring 1的传输节点,主端口为GigabitEthernet1/0/1,副端口为GigabitEthernet1/0/2,并开启该环。
[DeviceD-rrpp-domain1] ring 1 node-mode transit primary-port gigabitethernet 1/0/1 secondary-port gigabitethernet 1/0/2 level 0
[DeviceD-rrpp-domain1] ring 1 enable
[DeviceD-rrpp-domain1] quit
# 创建RRPP域2,将VLAN 105配置为该域的主控制VLAN,并将MSTI 2所映射的VLAN配置为该域的保护VLAN。
[DeviceD] rrpp domain 2
[DeviceD-rrpp-domain2] control-vlan 105
[DeviceD-rrpp-domain2] protected-vlan reference-instance 2
# 在RRPP域2内配置本设备为主环Ring 1的传输节点,主端口为GigabitEthernet1/0/1,副端口为GigabitEthernet1/0/2,并开启该环。
[DeviceD-rrpp-domain2] ring 1 node-mode transit primary-port gigabitethernet 1/0/1 secondary-port gigabitethernet 1/0/2 level 0
[DeviceD-rrpp-domain2] ring 1 enable
[DeviceD-rrpp-domain2] quit
# 开启RRPP协议。
[DeviceD] rrpp enable
(5) 配置Device E
# 创建VLAN 12,将VLAN 12映射到MSTI 2上,并激活MST域的配置。
<DeviceE> system-view
[DeviceE] vlan 12
[DeviceE-vlan12] quit
[DeviceE] stp region-configuration
[DeviceE-mst-region] instance 2 vlan 12
[DeviceE-mst-region] active region-configuration
[DeviceE-mst-region] quit
# 分别在端口GigabitEthernet1/0/1和GigabitEthernet1/0/2上配置物理连接状态up/down抑制时间为0秒(即不抑制),关闭生成树协议;将端口配置为Trunk端口,禁止VLAN 1通过、允许VLAN 12通过,并配置其缺省VLAN为VLAN 12。
[DeviceE] interface gigabitethernet 1/0/1
[DeviceE-GigabitEthernet1/0/1] link-delay up 0
[DeviceE-GigabitEthernet1/0/1] link-delay down 0
[DeviceE-GigabitEthernet1/0/1] undo stp enable
[DeviceE-GigabitEthernet1/0/1] port link-type trunk
[DeviceE-GigabitEthernet1/0/1] undo port trunk permit vlan 1
[DeviceE-GigabitEthernet1/0/1] port trunk permit vlan 12
[DeviceE-GigabitEthernet1/0/1] port trunk pvid vlan 12
[DeviceE-GigabitEthernet1/0/1] quit
[DeviceE] interface gigabitethernet 1/0/2
[DeviceE-GigabitEthernet1/0/2] link-delay up 0
[DeviceE-GigabitEthernet1/0/2] link-delay down 0
[DeviceE-GigabitEthernet1/0/2] undo stp enable
[DeviceE-GigabitEthernet1/0/2] port link-type trunk
[DeviceE-GigabitEthernet1/0/2] undo port trunk permit vlan 1
[DeviceE-GigabitEthernet1/0/2] port trunk permit vlan 12
[DeviceE-GigabitEthernet1/0/2] port trunk pvid vlan 12
[DeviceE-GigabitEthernet1/0/2] quit
# 创建RRPP域2,将VLAN 105配置为该域的主控制VLAN,并将MSTI 2所映射的VLAN配置为该域的保护VLAN。
[DeviceE] rrpp domain 2
[DeviceE-rrpp-domain2] control-vlan 105
[DeviceE-rrpp-domain2] protected-vlan reference-instance 2
# 在RRPP域2内配置本设备为子环Ring 2的主节点,主端口为GigabitEthernet1/0/2,副端口为GigabitEthernet1/0/1,并开启该环。
[DeviceE-rrpp-domain2] ring 2 node-mode master primary-port gigabitethernet 1/0/2 secondary-port gigabitethernet 1/0/1 level 1
[DeviceE-rrpp-domain2] ring 2 enable
[DeviceE-rrpp-domain2] quit
# 开启RRPP协议。
[DeviceE] rrpp enable
(6) 配置Device F
# 创建VLAN 11,将VLAN 11映射到MSTI 1上,并激活MST域的配置。
<DeviceF> system-view
[DeviceF] vlan 11
[DeviceF-vlan11] quit
[DeviceF] stp region-configuration
[DeviceF-mst-region] instance 1 vlan 11
[DeviceF-mst-region] active region-configuration
[DeviceF-mst-region] quit
# 分别在端口GigabitEthernet1/0/1和GigabitEthernet1/0/2上配置物理连接状态up/down抑制时间为0秒(即不抑制),关闭生成树协议;将端口配置为Trunk端口,禁止VLAN 1通过、允许VLAN 11通过,并配置其缺省VLAN为VLAN 11。
[DeviceF] interface gigabitethernet 1/0/1
[DeviceF-GigabitEthernet1/0/1] link-delay up 0
[DeviceF-GigabitEthernet1/0/1] link-delay down 0
[DeviceF-GigabitEthernet1/0/1] undo stp enable
[DeviceF-GigabitEthernet1/0/1] port link-type trunk
[DeviceF-GigabitEthernet1/0/1] undo port trunk permit vlan 1
[DeviceF-GigabitEthernet1/0/1] port trunk permit vlan 11
[DeviceF-GigabitEthernet1/0/1] port trunk pvid vlan 11
[DeviceF-GigabitEthernet1/0/1] quit
[DeviceF] interface gigabitethernet 1/0/2
[DeviceF-GigabitEthernet1/0/2] link-delay up 0
[DeviceF-GigabitEthernet1/0/2] link-delay down 0
[DeviceF-GigabitEthernet1/0/2] undo stp enable
[DeviceF-GigabitEthernet1/0/2] port link-type trunk
[DeviceF-GigabitEthernet1/0/2] undo port trunk permit vlan 1
[DeviceF-GigabitEthernet1/0/2] port trunk permit vlan 11
[DeviceF-GigabitEthernet1/0/2] port trunk pvid vlan 11
[DeviceF-GigabitEthernet1/0/2] quit
# 创建RRPP域1,将VLAN 100配置为该域的主控制VLAN,并将MSTI 1所映射的VLAN配置为该域的保护VLAN。
[DeviceF] rrpp domain 1
[DeviceF-rrpp-domain1] control-vlan 100
[DeviceF-rrpp-domain1] protected-vlan reference-instance 1
# 在RRPP域1内配置本设备为子环Ring 3的主节点,主端口为GigabitEthernet1/0/1,副端口为GigabitEthernet1/0/2,并开启该环。
[DeviceF-rrpp-domain1] ring 3 node-mode master primary-port gigabitethernet 1/0/1 secondary-port gigabitethernet 1/0/2 level 1
[DeviceF-rrpp-domain1] ring 3 enable
[DeviceF-rrpp-domain1] quit
# 开启RRPP协议。
[DeviceF] rrpp enable
(7) 完成以上配置后,在Device B和Device C上分别配置RRPP环组
# 在Device B上创建RRPP环组1,并为其配置子环。
[DeviceB] rrpp ring-group 1
[DeviceB-ring-group1] domain 2 ring 2
[DeviceB-ring-group1] domain 1 ring 3
# 在Device C上创建RRPP环组1,并为其配置子环。
[DeviceC] rrpp ring-group 1
[DeviceC-ring-group1] domain 2 ring 2
[DeviceC-ring-group1] domain 1 ring 3
配置完成后,用户可以使用display命令显示各设备上RRPP的配置和运行情况。
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论