华为设备配置ERPS单环多实例

网友投稿 487 2022-09-19


华为设备配置ERPS单环多实例

1. 配置加入ERPS环的所有端口类型为Trunk型

[LSW1-GigabitEthernet0/0/1]port link-type trunk

[LSW1-GigabitEthernet0/0/2]port link-type trunk

[LSW2-GigabitEthernet0/0/1]port link-type trunk

[LSW2-GigabitEthernet0/0/2]port link-type trunk

[LSW3-GigabitEthernet0/0/1]port link-type trunk

[LSW3-GigabitEthernet0/0/2]port link-type trunk

[LSW4-GigabitEthernet0/0/1]port link-type trunk

[LSW4-GigabitEthernet0/0/2]port link-type trunk

2. 创建ERPS环1、ERPS环2并配置两个ERPS环的保护实例,配置ERPS环1的控制VLAN为10,ERPS环2的控制VLAN为20,ERPS环1传递VLAN100-200的数据报文,ERPS环2传递VLAN201-300的数据报文

[LSW1]erps ring 1

[LSW1-erps-ring1]control-vlan 10

[LSW1-erps-ring1]protected-instance 1

[LSW1]erps ring 2

[LSW1-erps-ring2]control-vlan 20

[LSW1-erps-ring2]protected-instance 2

[LSW1]stp region-configuration

[LSW1-mst-region]instance 1 vlan 10 100 to 200

[LSW1-mst-region]instance 2 vlan 20 201 to 300

[LSW1-mst-region]active region-configuration

[LSW2]erps ring 1

[LSW2-erps-ring1]control-vlan 10

[LSW2-erps-ring1]protected-instance 1

[LSW2]erps ring 2

[LSW2-erps-ring2]control-vlan 20

[LSW2-erps-ring2]protected-instance 2

[LSW2]stp region-configuration

[LSW2-mst-region]instance 1 vlan 10 100 to 200

[LSW2-mst-region]instance 2 vlan 20 201 to 300

[LSW2-mst-region]active region-configuration

[LSW3]erps ring 1

[LSW3-erps-ring1]control-vlan 10

[LSW3-erps-ring1]protected-instance 1

[LSW3]erps ring 2

[LSW3-erps-ring2]control-vlan 20

[LSW3-erps-ring2]protected-instance 2

[LSW3]stp region-configuration

[LSW3-mst-region]instance 1 vlan 10 100 to 200

[LSW3-mst-region]instance 2 vlan 20  201 to 300

[LSW3-mst-region]active region-configuration

[LSW4]erps ring 1

[LSW4-erps-ring1]control-vlan 10

[LSW4-erps-ring1]protected-instance 1

[LSW4]erps ring 2

[LSW4-erps-ring2]control-vlan 20

[LSW4-erps-ring2]protected-instance 2

[LSW4]stp region-configuration

[LSW4-mst-region]instance 1 vlan 10 100 to 200

[LSW4-mst-region]instance 2 vlan 20 201 to 300

[LSW4-mst-region]active region-configuration

3. 将二层端口加入ERPS环并配置端口角色,分别配置RPL owner

[LSW1-GigabitEthernet0/0/1]stp disable

[LSW1-GigabitEthernet0/0/1]erps ring 1

[LSW1-GigabitEthernet0/0/1]erps ring 2

[LSW1-GigabitEthernet0/0/2]stp disable

[LSW1-GigabitEthernet0/0/2]erps ring 1

[LSW1-GigabitEthernet0/0/2]erps ring 2

[LSW2-GigabitEthernet0/0/1]stp disable

[LSW2-GigabitEthernet0/0/1]erps ring 1

[LSW2-GigabitEthernet0/0/1]erps ring 2

[LSW2-GigabitEthernet0/0/2]stp disable

[LSW2-GigabitEthernet0/0/2]erps ring 1

[LSW2-GigabitEthernet0/0/2]erps ring 2

[LSW3-GigabitEthernet0/0/1]stp disable

[LSW3-GigabitEthernet0/0/1]erps ring 1

[LSW3-GigabitEthernet0/0/1]erps ring 2 rpl owner

[LSW3-GigabitEthernet0/0/2]stp disable

[LSW3-GigabitEthernet0/0/2]erps ring 1

[LSW3-GigabitEthernet0/0/2]erps ring 2

[LSW4-GigabitEthernet0/0/1]stp disable

[LSW4-GigabitEthernet0/0/1]erps ring 1

[LSW4-GigabitEthernet0/0/1]erps ring 2

[LSW4-GigabitEthernet0/0/2]stp disable

[LSW4-GigabitEthernet0/0/2]erps ring 1 rpl owner

[LSW4-GigabitEthernet0/0/2]erps ring 2

4. 配置ERPS环的Guard Timer和WTR Timer定时器

[LSW1]erps ring 1

[LSW1-erps-ring1]wtr-timer  6

[LSW1-erps-ring1]guard-timer 100

[LSW1-erps-ring1]erps ring 2

[LSW1-erps-ring2]wtr-timer 6

[LSW1-erps-ring2]guard-timer 100

[LSW2]erps ring 1

[LSW2-erps-ring1]wtr-timer 6

[LSW2-erps-ring1]guard-timer 100

[LSW2-erps-ring1]erps ring 2

[LSW2-erps-ring2]wtr-timer 6

[LSW2-erps-ring2]guard-timer 100

[LSW3]erps ring 1

[LSW3-erps-ring1]wtr-timer 6

[LSW3-erps-ring1]guard-timer 100

[LSW3-erps-ring1]erps ring 2

[LSW3-erps-ring2]wtr-timer 6

[LSW3-erps-ring2]guard-timer 100

[LSW4]erps ring 1

[LSW4-erps-ring1]wtr-timer 6

[LSW4-erps-ring1]guard-timer 100

[LSW4-erps-ring1]erps ring 2

[LSW4-erps-ring2]wtr-timer 6

[LSW4-erps-ring2]guard-timer 100

5. 配置二层转发功能

[LSW1]vlan batch 100 to 300

[LSW1-GigabitEthernet0/0/1]undo port trunk allow-pass vlan 1

[LSW1-GigabitEthernet0/0/1]port trunk allow-pass vlan 100 to 300

[LSW1-GigabitEthernet0/0/2]undo port trunk allow-pass vlan 1

[LSW1-GigabitEthernet0/0/2]port trunk allow-pass vlan 100 to 300

[LSW2]vlan batch 100 to 300

[LSW2-GigabitEthernet0/0/1]undo port trunk allow-pass vlan 1

[LSW2-GigabitEthernet0/0/1]port trunk allow-pass vlan 100 to 300

[LSW2-GigabitEthernet0/0/2]undo port trunk allow-pass vlan 1

[LSW2-GigabitEthernet0/0/2]port trunk allow-pass vlan 100 to 300

[LSW3]vlan batch 100 to 300

[LSW3-GigabitEthernet0/0/1]undo port trunk allow-pass vlan 1

[LSW3-GigabitEthernet0/0/1]port trunk allow-pass vlan 100 to 300

[LSW3-GigabitEthernet0/0/2]undo port trunk allow-pass vlan 1

[LSW3-GigabitEthernet0/0/2]port trunk allow-pass vlan 100 to 300

[LSW4]vlan batch 100 to 300

[LSW4-GigabitEthernet0/0/1]undo port trunk allow-pass vlan 1

[LSW4-GigabitEthernet0/0/1]port trunk allow-pass vlan 100 to 300

[LSW4-GigabitEthernet0/0/2]undo port trunk allow-pass vlan 1

[LSW4-GigabitEthernet0/0/2]port trunk allow-pass vlan 100 to 300

6. 验证配置


版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:记一次排障过程()
下一篇:SpringBoot实现快递物流查询功能(快递鸟)
相关文章

 发表评论

暂时没有评论,来抢沙发吧~