(0)
最佳答案
rrpp就参考官网的资料就好了,如果配置正常,一些异常确实可能是模拟器本身的问题
· Device A~Device E构成RRPP域1,该域的主控制VLAN为VLAN 4092,保护VLAN为VLAN 1~30。
· Device A、Device B、Device C和Device D构成主环Ring 1;Device B、Device C和Device E构成子环Ring 2。
· Device A为主环的主节点,Ten-GigabitEthernet1/0/1和Ten-GigabitEthernet1/0/2分别为主、副端口;Device E为子环的主节点,Ten-GigabitEthernet1/0/1和Ten-GigabitEthernet1/0/2分别为主、副端口;Device B为主环的传输节点和子环的边缘节点,Ten-GigabitEthernet1/0/3为边缘端口;Device C为主环的传输节点和子环的辅助边缘节点,Ten-GigabitEthernet1/0/3为边缘端口;Device D为主环的传输节点,Ten-GigabitEthernet1/0/1和Ten-GigabitEthernet1/0/2分别为主、副端口。
# 创建VLAN 1~30,将这些VLAN都映射到MSTI 1上,并激活MST域的配置。
[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-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 enable
[DeviceA-rrpp-domain1] quit
# 使能RRPP协议。
[DeviceA] rrpp enable
# 创建VLAN 1~30,将这些VLAN都映射到MSTI 1上,并激活MST域的配置。
[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和Ten-GigabitEthernet1/0/3上配置物理连接状态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
[DeviceB] interface ten-gigabitethernet 1/0/3
[DeviceB-Ten-GigabitEthernet1/0/3] link-delay 0
[DeviceB-Ten-GigabitEthernet1/0/3] undo stp enable
[DeviceB-Ten-GigabitEthernet1/0/3] port link-type trunk
[DeviceB-Ten-GigabitEthernet1/0/3] port trunk permit vlan 1 to 30
[DeviceB-Ten-GigabitEthernet1/0/3] quit
# 创建RRPP域1,将VLAN 4092配置为该域的主控制VLAN,并将MSTI 1所映射的VLAN配置为该域的保护VLAN。
[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 enable
# 配置本设备为子环Ring 2的边缘节点,边缘端口为Ten-GigabitEthernet1/0/3,并使能该环。
[DeviceB-rrpp-domain1] ring 2 node-mode edge edge-port ten-gigabitethernet 1/0/3
[DeviceB-rrpp-domain1] ring 2 enable
[DeviceB-rrpp-domain1] quit
# 使能RRPP协议。
[DeviceB] rrpp enable
# 创建VLAN 1~30,将这些VLAN都映射到MSTI 1上,并激活MST域的配置。
[DeviceC] vlan 1 to 30
[DeviceC] stp region-configuration
[DeviceC-mst-region] instance 1 vlan 1 to 30
[DeviceC-mst-region] active region-configuration
[DeviceC-mst-region] quit
# 分别在端口Ten-GigabitEthernet1/0/1、Ten-GigabitEthernet1/0/2和Ten-GigabitEthernet1/0/3上配置物理连接状态up/down抑制时间为0秒(即不抑制),关闭生成树协议,并将端口配置为Trunk端口且允许VLAN 1~30通过。
[DeviceC] interface ten-gigabitethernet 1/0/1
[DeviceC-Ten-GigabitEthernet1/0/1] link-delay 0
[DeviceC-Ten-GigabitEthernet1/0/1] undo stp enable
[DeviceC-Ten-GigabitEthernet1/0/1] port link-type trunk
[DeviceC-Ten-GigabitEthernet1/0/1] port trunk permit vlan 1 to 30
[DeviceC-Ten-GigabitEthernet1/0/1] quit
[DeviceC] interface ten-gigabitethernet 1/0/2
[DeviceC-Ten-GigabitEthernet1/0/2] link-delay 0
[DeviceC-Ten-GigabitEthernet1/0/2] undo stp enable
[DeviceC-Ten-GigabitEthernet1/0/2] port link-type trunk
[DeviceC-Ten-GigabitEthernet1/0/2] port trunk permit vlan 1 to 30
[DeviceC-Ten-GigabitEthernet1/0/2] quit
[DeviceC] interface ten-gigabitethernet 1/0/3
[DeviceC-Ten-GigabitEthernet1/0/3] link-delay 0
[DeviceC-Ten-GigabitEthernet1/0/3] undo stp enable
[DeviceC-Ten-GigabitEthernet1/0/3] port link-type trunk
[DeviceC-Ten-GigabitEthernet1/0/3] port trunk permit vlan 1 to 30
[DeviceC-Ten-GigabitEthernet1/0/3] quit
# 创建RRPP域1,将VLAN 4092配置为该域的主控制VLAN,并将MSTI 1所映射的VLAN配置为该域的保护VLAN。
[DeviceC-rrpp-domain1] control-vlan 4092
[DeviceC-rrpp-domain1] protected-vlan reference-instance 1
# 配置本设备为主环Ring 1的传输节点,主端口为Ten-GigabitEthernet1/0/1,副端口为Ten-GigabitEthernet1/0/2,并使能该环。
[DeviceC-rrpp-domain1] ring 1 enable
# 配置本设备为子环Ring 2的辅助边缘节点,边缘端口为Ten-GigabitEthernet1/0/3,并使能该环。
[DeviceC-rrpp-domain1] ring 2 node-mode assistant-edge edge-port ten-gigabitethernet 1/0/3
[DeviceC-rrpp-domain1] ring 2 enable
[DeviceC-rrpp-domain1] quit
# 使能RRPP协议。
[DeviceC] rrpp enable
# 创建VLAN 1~30,将这些VLAN都映射到MSTI 1上,并激活MST域的配置。
[DeviceD] vlan 1 to 30
[DeviceD] stp region-configuration
[DeviceD-mst-region] instance 1 vlan 1 to 30
[DeviceD-mst-region] active region-configuration
[DeviceD-mst-region] quit
# 分别在端口Ten-GigabitEthernet1/0/1和Ten-GigabitEthernet1/0/2上配置物理连接状态up/down抑制时间为0秒(即不抑制),关闭生成树协议,并将端口配置为Trunk端口且允许VLAN 1~30通过。
[DeviceD] interface ten-gigabitethernet 1/0/1
[DeviceD-Ten-GigabitEthernet1/0/1] link-delay 0
[DeviceD-Ten-GigabitEthernet1/0/1] undo stp enable
[DeviceD-Ten-GigabitEthernet1/0/1] port link-type trunk
[DeviceD-Ten-GigabitEthernet1/0/1] port trunk permit vlan 1 to 30
[DeviceD-Ten-GigabitEthernet1/0/1] quit
[DeviceD] interface ten-gigabitethernet 1/0/2
[DeviceD-Ten-GigabitEthernet1/0/2] link-delay 0
[DeviceD-Ten-GigabitEthernet1/0/2] undo stp enable
[DeviceD-Ten-GigabitEthernet1/0/2] port link-type trunk
[DeviceD-Ten-GigabitEthernet1/0/2] port trunk permit vlan 1 to 30
[DeviceD-Ten-GigabitEthernet1/0/2] quit
# 创建RRPP域1,将VLAN 4092配置为该域的主控制VLAN,并将MSTI 1所映射的VLAN配置为该域的保护VLAN。
[DeviceD-rrpp-domain1] control-vlan 4092
[DeviceD-rrpp-domain1] protected-vlan reference-instance 1
# 配置本设备为主环Ring 1的传输节点,主端口为Ten-GigabitEthernet1/0/1,副端口为Ten-GigabitEthernet1/0/2,并使能该环。
[DeviceD-rrpp-domain1] ring 1 enable
[DeviceD-rrpp-domain1] quit
# 使能RRPP协议。
[DeviceD] rrpp enable
# 创建VLAN 1~30,将这些VLAN都映射到MSTI 1上,并激活MST域的配置。
[DeviceE] vlan 1 to 30
[DeviceE] stp region-configuration
[DeviceE-mst-region] instance 1 vlan 1 to 30
[DeviceE-mst-region] active region-configuration
[DeviceE-mst-region] quit
# 分别在端口Ten-GigabitEthernet1/0/1和Ten-GigabitEthernet1/0/2上配置物理连接状态up/down抑制时间为0秒(即不抑制),关闭生成树协议,并将端口配置为Trunk端口且允许VLAN 1~30通过。
[DeviceE] interface ten-gigabitethernet 1/0/1
[DeviceE-Ten-GigabitEthernet1/0/1] link-delay 0
[DeviceE-Ten-GigabitEthernet1/0/1] undo stp enable
[DeviceE-Ten-GigabitEthernet1/0/1] port link-type trunk
[DeviceE-Ten-GigabitEthernet1/0/1] port trunk permit vlan 1 to 30
[DeviceE-Ten-GigabitEthernet1/0/1] quit
[DeviceE] interface ten-gigabitethernet 1/0/2
[DeviceE-Ten-GigabitEthernet1/0/2] link-delay 0
[DeviceE-Ten-GigabitEthernet1/0/2] undo stp enable
[DeviceE-Ten-GigabitEthernet1/0/2] port link-type trunk
[DeviceE-Ten-GigabitEthernet1/0/2] port trunk permit vlan 1 to 30
[DeviceE-Ten-GigabitEthernet1/0/2] quit
# 创建RRPP域1,将VLAN 4092配置为该域的主控制VLAN,并将MSTI 1所映射的VLAN配置为该域的保护VLAN。
[DeviceE-rrpp-domain1] control-vlan 4092
[DeviceE-rrpp-domain1] protected-vlan reference-instance 1
# 配置本设备为子环Ring 2的主节点,主端口为Ten-GigabitEthernet1/0/1,副端口为Ten-GigabitEthernet1/0/2,并使能该环。
[DeviceE-rrpp-domain1] ring 2 enable
[DeviceE-rrpp-domain1] quit
# 使能RRPP协议。
[DeviceE] rrpp enable
配置完成后,用户可以使用display命令显示各设备上RRPP的配置和运行情况。
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
看看配置示例,对于ring2的两个边缘设备,只需要配置一个边缘端口。至于哪个是辅助边缘节点,是自己定的。