一、  组网需求:

Device ADevice BDevice CDevice DDevice E构成RRPP1,该域的控制VLANVLAN 4092,保护所有VLAN

Device ADevice BDevice CDevice D构成主环1Device BDevice CDevice E构成子环2

Device A为主环的主节点,GigabitEthernet1/0/1为主端口,GigabitEthernet1/0/2为副端口;

Device E为子环的主节点,GigabitEthernet1/0/1为主端口,GigabitEthernet1/0/2为副端口;

Device B为主环的传输节点和子环的边缘节点,GigabitEthernet1/0/3为边缘端口;

Device C为主环的传输节点和子环的辅助边缘节点,GigabitEthernet1/0/3为边缘端口;

Device D为主环的传输节点,GigabitEthernet1/0/1为主端口,GigabitEthernet1/0/2为副端口;

主环和子环的定时器都取缺省值。

二、  组网图:

2.jpg

三、  配置步骤:

1.      Device A上的配置

# 配置RRPP端口GigabitEthernet1/0/1GigabitEthernet1/0/2

<DeviceA> system-view

[DeviceA] interface gigabitethernet 1/0/1

[DeviceA-GigabitEthernet1/0/1] undo stp enable

[DeviceA-GigabitEthernet1/0/1] port link-type trunk

[DeviceA-GigabitEthernet1/0/1] port trunk permitvlan all

[DeviceA-GigabitEthernet1/0/1] qos trust dot1p

[DeviceA-GigabitEthernet1/0/1] quit

[DeviceA] interface gigabitethernet 1/0/2

[DeviceA-GigabitEthernet1/0/2] undo stp enable

[DeviceA-GigabitEthernet1/0/2] port link-type trunk

[DeviceA-GigabitEthernet1/0/2] port trunk permitvlan all

[DeviceA-GigabitEthernet1/0/2] qos trust dot1p

[DeviceA-GigabitEthernet1/0/2] quit

# 创建RRPP1,将VLAN 4092配置为该域的控制VLAN,并将MSTP实例016所映射的VLAN配置为该域的保护VLAN

[DeviceA] rrpp domain 1

[DeviceA-rrpp-domain1] control-vlan 4092

[DeviceA-rrpp-domain1] protected-vlan reference-instance 0 to 16

# 配置本设备为主环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协议。

[DeviceA] rrpp enable

2. Device B上的配置

# 配置RRPP端口GigabitEthernet1/0/1GigabitEthernet1/0/2GigabitEthernet1/0/3

<DeviceB> system-view

[DeviceB] interface gigabitethernet 1/0/1

[DeviceB-GigabitEthernet1/0/1] undo stp enable

[DeviceB-GigabitEthernet1/0/1] port link-type trunk

[DeviceB-GigabitEthernet1/0/1] port trunk permitvlan all

[DeviceB-GigabitEthernet1/0/1] qos trust dot1p

[DeviceB-GigabitEthernet1/0/1] quit

[DeviceB] interface gigabitethernet 1/0/2

[DeviceB-GigabitEthernet1/0/2] undo stp enable

[DeviceB-GigabitEthernet1/0/2] port link-type trunk

[DeviceB-GigabitEthernet1/0/2] port trunk permitvlan all

[DeviceB-GigabitEthernet1/0/2] qos trust dot1p

[DeviceB-GigabitEthernet1/0/2] quit

[DeviceB] interface gigabitethernet 1/0/3

[DeviceB-GigabitEthernet1/0/3] undo stp enable

[DeviceB-GigabitEthernet1/0/3] port link-type trunk

[DeviceB-GigabitEthernet1/0/3] port trunk permitvlan all

[DeviceB-GigabitEthernet1/0/3] qos trust dot1p

[DeviceB-GigabitEthernet1/0/3] quit

# 创建RRPP1,将VLAN 4092配置为该域的控制VLAN,并将MSTP实例016所映射的VLAN配置为该域的保护VLAN

[DeviceB] rrpp domain 1

[DeviceB-rrpp-domain1] control-vlan 4092

[DeviceB-rrpp-domain1] protected-vlan reference-instance 0 to 16

# 配置本设备为主环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

# 配置本设备为子环2的边缘节点,边缘端口为GigabitEthernet1/0/3,并使能该环。

[DeviceB-rrpp-domain1] ring 2 node-mode edge edge-port gigabitethernet 1/0/3

[DeviceB-rrpp-domain1] ring 2 enable

[DeviceB-rrpp-domain1] quit

# 使能RRPP协议。

[DeviceB] rrpp enable

3. Device C上的配置

# 配置RRPP端口GigabitEthernet1/0/1GigabitEthernet1/0/2GigabitEthernet1/0/3

<DeviceC> system-view

[DeviceC] interface gigabitethernet 1/0/1

[DeviceC-GigabitEthernet1/0/1] undo stp enable

[DeviceC-GigabitEthernet1/0/1] port link-type trunk

[DeviceC-GigabitEthernet1/0/1] port trunk permitvlan all

[DeviceC-GigabitEthernet1/0/1] qos trust dot1p

[DeviceC-GigabitEthernet1/0/1] quit

[DeviceC] interface gigabitethernet 1/0/2

[DeviceC-GigabitEthernet1/0/2] undo stp enable

[DeviceC-GigabitEthernet1/0/2] port link-type trunk

[DeviceC-GigabitEthernet1/0/2] port trunk permitvlan all

[DeviceC-GigabitEthernet1/0/2] qos trust dot1p

[DeviceC-GigabitEthernet1/0/2] quit

[DeviceC] interface gigabitethernet 1/0/3

[DeviceC-GigabitEthernet1/0/3] undo stp enable

[DeviceC-GigabitEthernet1/0/3] port link-type trunk

[DeviceC-GigabitEthernet1/0/3] port trunk permitvlan all

[DeviceC-GigabitEthernet1/0/3] qos trust dot1p

[DeviceC-GigabitEthernet1/0/3] quit

# 创建RRPP1,将VLAN 4092配置为该域的控制VLAN,并将MSTP实例016所映射的VLAN配置为该域的保护VLAN

[DeviceC] rrpp domain 1

[DeviceC-rrpp-domain1] control-vlan 4092

[DeviceC-rrpp-domain1] protected-vlan reference-instance 0 to 16

# 配置本设备为主环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

# 配置本设备为子环2的辅助边缘节点,边缘端口为GigabitEthernet1/0/3,并使能该环。

[DeviceC-rrpp-domain1] ring 2 node-mode assistant-edge edge-port gigabitethernet 1/0/3

[DeviceC-rrpp-domain1] ring 2 enable

[DeviceC-rrpp-domain1] quit

# 使能RRPP协议。

[DeviceC] rrpp enable

4. Device D上的配置

# 配置RRPP端口GigabitEthernet1/0/1GigabitEthernet1/0/2

<DeviceD> system-view

[DeviceD] interface gigabitethernet 1/0/1

[DeviceD-GigabitEthernet1/0/1] undo stp enable

[DeviceD-GigabitEthernet1/0/1] port link-type trunk

[DeviceD-GigabitEthernet1/0/1] port trunk permitvlan all

[DeviceD-GigabitEthernet1/0/1] qos trust dot1p

[DeviceD-GigabitEthernet1/0/1] quit

[DeviceD] interface gigabitethernet 1/0/2

[DeviceD-GigabitEthernet1/0/2] undo stp enable

[DeviceD-GigabitEthernet1/0/2] port link-type trunk

[DeviceD-GigabitEthernet1/0/2] port trunk permitvlan all

[DeviceD-GigabitEthernet1/0/2] qos trust dot1p

[DeviceD-GigabitEthernet1/0/2] quit

# 创建RRPP1,将VLAN 4092配置为该域的控制VLAN,并将MSTP实例016所映射的VLAN配置为该域的保护VLAN

[DeviceD] rrpp domain 1

[DeviceD-rrpp-domain1] control-vlan 4092

[DeviceD-rrpp-domain1] protected-vlan reference-instance 0 to 16

# 配置本设备为主环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协议。

[DeviceD] rrpp enable

5. Device E上的配置

# 配置RRPP端口GigabitEthernet1/0/1GigabitEthernet1/0/2

<DeviceE> system-view

[DeviceE] interface gigabitethernet 1/0/1

[DeviceE-GigabitEthernet1/0/1] undo stp enable

[DeviceE-GigabitEthernet1/0/1] port link-type trunk

[DeviceE-GigabitEthernet1/0/1] port trunk permitvlan all

[DeviceE-GigabitEthernet1/0/1] qos trust dot1p

[DeviceE-GigabitEthernet1/0/1] quit

[DeviceE] interface gigabitethernet 1/0/2

[DeviceE-GigabitEthernet1/0/2] undo stp enable

[DeviceE-GigabitEthernet1/0/2] port link-type trunk

[DeviceE-GigabitEthernet1/0/2] port trunk permitvlan all

[DeviceE-GigabitEthernet1/0/2] qos trust dot1p

[DeviceE-GigabitEthernet1/0/2] quit

# 创建RRPP1,将VLAN 4092配置为该域的控制VLAN,并将MSTP实例016所映射的VLAN配置为该域的保护VLAN

[DeviceE] rrpp domain 1

[DeviceE-rrpp-domain1] control-vlan 4092

[DeviceE-rrpp-domain1] protected-vlan reference-instance 0 to 16

# 配置本设备为子环2的主节点,主端口为GigabitEthernet1/0/1,副端口为GigabitEthernet1/0/2,并使能该环。

[DeviceE-rrpp-domain1] ring 2 node-mode master primary-port gigabitethernet 1/0/1 secondary-port gigabitethernet 1/0/2 level 1

[DeviceE-rrpp-domain1] ring 2 enable

[DeviceE-rrpp-domain1] quit

# 使能RRPP协议。

[DeviceE] rrpp enable

6. 检验配置效果

配置完成后,用户可以使用

 

设为首页 | 加入收藏 | 邮箱登陆    南京咚吆网络科技有限公司版权所有 Copyright © 2008-2014  ICP备案号:苏ICP备15018674号

地址: 江苏省南京市珠江路435号华海大厦709室   邮编: 210018   电话: 0771-2029366   传真: (86)25-83156290   邮箱: master@junovation.com