2024年8月28日 17:14:02

This commit is contained in:
Noriu 2024-08-28 17:14:00 +08:00
parent e1073ebd89
commit 72378b72c8

View File

@ -16,7 +16,7 @@
[AR1-GigabitEthernet0/0/1]quit
[AR1]ip route-static 192.168.2.0 24 192.168.12.2
[AR1]ip route-static 192.168.2.0 24 192.168.13.2 preference 100
[AR1]ip route-static 192.168.2.0 24 192.168.13.3 preference 100
```
- **AR2**
@ -78,7 +78,7 @@
[AR1-bfd-session-ntd2407]commit
[AR1-bfd-session-ntd2407]quit
[AR1]ip route-static 192.168.2.0 24 192.168.12.2 track bfd ntd2407
[AR1]ip route-static 192.168.2.0 24 192.168.12.2 track bfd-session ntd2407
```
- *注解:*
@ -90,7 +90,7 @@
6. `[AR1-bfd-session-ntd2407]min-tx-interval 10`设置BFD会话的最小发送间隔为`10`毫秒
7. `[AR1-bfd-session-ntd2407]min-rx-interval 10`设置BFD会话的最小接收间隔为`10`毫秒
8. `[AR1-bfd-session-ntd2407]commit`提交BFD会话的配置使其生效
9. `ip route-static 192.168.2.0 24 192.168.12.2 track bfd ntd2407`BFD与静态路由联动
9. `ip route-static 192.168.2.0 24 192.168.12.2 track bfd-session ntd2407`BFD与静态路由联动
- **AR4**
@ -118,12 +118,48 @@
7. `[AR1-bfd-session-ntd2407]min-rx-interval 10`设置BFD会话的最小接收间隔为`10`毫秒
8. `[AR1-bfd-session-ntd2407]commit`提交BFD会话的配置使其生效
### 三、功能性测试
### 三、完备性测试
- **AR1**
```
[AR1]dis bfd session all
--------------------------------------------------------------------------------
Local Remote PeerIpAddr State Type InterfaceName
--------------------------------------------------------------------------------
1 4 192.168.24.4 Up S_IP_PEER -
--------------------------------------------------------------------------------
Total UP/DOWN Session Number : 1/0
```
- **PC1**
```
PC>ping 192.168.2.1
Ping 192.168.2.1: 32 data bytes, Press Ctrl_C to break
Request timeout!
Request timeout!
Request timeout!
From 192.168.2.1: bytes=32 seq=4 ttl=125 time=32 ms
From 192.168.2.1: bytes=32 seq=5 ttl=125 time=15 ms
--- 192.168.2.1 ping statistics ---
5 packet(s) transmitted
2 packet(s) received
60.00% packet loss
round-trip min/avg/max = 0/23/32 ms
```
### 四、功能性测试
- **断连测试**
![image-20240828153740948](https://picgo-noriu.oss-cn-beijing.aliyuncs.com/Images/image-20240828153740948.png)
- **AR1**
- 查看BFD信息
```
@ -137,16 +173,36 @@
Total UP/DOWN Session Number : 0/1
```
- **PC1**
- PING
```
PC>ping 192.168.2.1
Ping 192.168.2.1: 32 data bytes, Press Ctrl_C to break
Request timeout!
From 192.168.2.1: bytes=32 seq=2 ttl=125 time=31 ms
From 192.168.2.1: bytes=32 seq=3 ttl=125 time=16 ms
From 192.168.2.1: bytes=32 seq=4 ttl=125 time=47 ms
From 192.168.2.1: bytes=32 seq=5 ttl=125 time=16 ms
--- 192.168.2.1 ping statistics ---
5 packet(s) transmitted
4 packet(s) received
20.00% packet loss
round-trip min/avg/max = 0/27/47 ms
```
- Tracert
```
PC>tracert 192.168.2.1
traceroute to 192.168.2.1, 8 hops max
(ICMP), press Ctrl+C to stop
1 192.168.1.254 16 ms 15 ms 16 ms
2 192.168.13.3 16 ms 15 ms 16 ms
3 192.168.34.4 16 ms 31 ms 15 ms
4 192.168.2.1 16 ms 31 ms 16 ms
```