当前位置:网站首页>Configuring OSPF GR features for Huawei devices

Configuring OSPF GR features for Huawei devices

2022-07-06 05:55:00 Tony7483


 Huawei equipment configuration OSPF GR characteristic _ Huawei

1. Configure all interfaces VLAN

[LSW1]vlan batch 10

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

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

[LSW2]vlan batch 10 100

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

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

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

[LSW2-GigabitEthernet0/0/3]port trunk allow-pass vlan 100

[LSW3]vlan 100

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

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

2. Configure the IP Address

[LSW1-Vlanif10]ip add 10.1.10.1 24

[LSW1]int LoopBack 0

[LSW1-LoopBack0]ip add 10.1.1.1 32

[LSW2-Vlanif10]ip add 10.1.10.2 24

[LSW2-Vlanif100]ip add 10.1.100.2 24

[LSW2]int LoopBack 0

[LSW2-LoopBack0]ip add 10.2.2.2 32

[LSW3-Vlanif100]ip add 10.1.100.3 24

[LSW3]int LoopBack 0

[LSW3-LoopBack0]ip add 10.3.3.3 32

3. To configure OSPF Basic function

[LSW1]ospf 1 router-id 10.1.1.1

[LSW1-ospf-1]area 0

[LSW1-ospf-1-area-0.0.0.0]network 10.1.10.0 0.0.0.255

[LSW2]ospf 1 router-id 10.2.2.2

[LSW2-ospf-1]area 0

[LSW2-ospf-1-area-0.0.0.0]network 10.1.10.0 0.0.0.255

[LSW2-ospf-1]area 100

[LSW2-ospf-1-area-0.0.0.100]network 10.1.100.0 0.0.0.255

[LSW3]ospf 1 router-id 10.3.3.3

[LSW3-ospf-1]area 100

[LSW3-ospf-1-area-0.0.0.100]network 10.1.100.0 0.0.0.255

4. Can make Opaque-LSA function , Realization OSPF adopt Type9 LSA Support OSPF GR

[LSW2]ospf 1

[LSW2-ospf-1]opaque-capability enable

[LSW1]ospf  

[LSW1-ospf-1]opaque-capability enable

5. To configure OSPF GR characteristic , Make running OSPF The normal forwarding of data will not be affected during the restart of the Protocol

[LSW2-ospf-1]graceful-restart

[LSW1-ospf-1]graceful-restart

6. Verify configuration

 Huawei equipment configuration OSPF GR characteristic _GR_02

 Huawei equipment configuration OSPF GR characteristic _ Huawei _03

<LSW1>reset ospf process graceful-restart  // Smooth restart LSW1 Of OSPF process

 Huawei equipment configuration OSPF GR characteristic _GR_04

You can see LSW1 And LSW2 The neighborhood relationship continues to be Full state , Not subject to LSW1 Of OSPF The impact of smooth restart of the process

原网站

版权声明
本文为[Tony7483]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202132038180001.html