• 全部
  • 经验案例
  • 典型配置
  • 技术公告
  • FAQ
  • 漏洞说明
  • 全部
  • 全部
  • 大数据引擎
  • 知了引擎
产品线
搜索
取消
案例类型
发布者
是否解决
是否官方
时间
搜索引擎
匹配模式
高级搜索

rrpp环网配置案例,一共3个环,主节点做的堆叠,求三个环的配置案例

2024-05-29提问
  • 0关注
  • 0收藏,422浏览
粉丝:0人 关注:0人

问题描述:

Sw1/sw2/sw3/sw4/sw5/sw6/sw7/sw8一共8台交换机。
sw1和sw2作为主节点,做的堆叠
sw3/sw4/sw5为第一个环
sw6/sw7/sw8为第二个环
求配置案列

组网及组网描述:

Sw1/sw2/sw3/sw4/sw5/sw6/sw7/sw8一共8台交换机。
sw1和sw2作为主节点,做的堆叠
sw3/sw4/sw5为第一个环
sw6/sw7/sw8为第二个环
求配置案列

最佳答案

粉丝:228人 关注:8人

1.15.3  相交环负载分担配置举例

1. 组网需求

·     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报文的收发数量。

2. 组网图

图1-10 相交环负载分担配置组网图

3. 配置步骤

(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

4. 验证配置

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

暂无评论

分享扩散:

提出建议

    +

亲~登录后才可以操作哦!

确定

亲~检测到您登陆的账号未在http://hclhub.h3c.com进行注册

注册后可访问此模块

跳转hclhub

你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作

举报

×

侵犯我的权益 >
对根叔社区有害的内容 >
辱骂、歧视、挑衅等(不友善)

侵犯我的权益

×

泄露了我的隐私 >
侵犯了我企业的权益 >
抄袭了我的内容 >
诽谤我 >
辱骂、歧视、挑衅等(不友善)
骚扰我

泄露了我的隐私

×

您好,当您发现根叔知了上有泄漏您隐私的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到pub.zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您认为哪些内容泄露了您的隐私?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)

侵犯了我企业的权益

×

您好,当您发现根叔知了上有关于您企业的造谣与诽谤、商业侵权等内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到 pub.zhiliao@h3c.com 邮箱,我们会在审核后尽快给您答复。
  • 1. 您举报的内容是什么?(请在邮件中列出您举报的内容和链接地址)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
  • 3. 是哪家企业?(营业执照,单位登记证明等证件)
  • 4. 您与该企业的关系是?(您是企业法人或被授权人,需提供企业委托授权书)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

抄袭了我的内容

×

原文链接或出处

诽谤我

×

您好,当您发现根叔知了上有诽谤您的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到pub.zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您举报的内容以及侵犯了您什么权益?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

对根叔社区有害的内容

×

垃圾广告信息
色情、暴力、血腥等违反法律法规的内容
政治敏感
不规范转载 >
辱骂、歧视、挑衅等(不友善)
骚扰我
诱导投票

不规范转载

×

举报说明