当前位置:   article > 正文

华三静态路由、路由负载分担、路由备份与BFD联动_h3c路由器 静态路由

h3c路由器 静态路由

拓扑如下:

参数配置

设备接口IP地址子网掩码默认网关
R1G0/0192.168.1.1255.255.255.0N/A
S1/0192.168.12.1255.255.255.0N/A
R2S1/0192.168.12.2255.255.255.0N/A
S2/0192.168.23.2255.255.255.0N/A
S1/0192.168.23.3255.255.255.0N/A
R3Loopback0172.16.0.3255.255.255.0N/A
Loopback1172.16.1.3255.255.255.0N/A
Loopback2172.16.2.3255.255.255.0N/A
Loopback3172.16.3.3255.255.255.0N/A
PC1G0/1192.168.1.100255.255.255.0192.168.1.1

 一、带下一跳的静态路由

配置:

  1. AR1配置
  2. [AR1]interface GigabitEthernet 0/0
  3. [AR1-GigabitEthernet0/0]ip address 192.168.1.1 24
  4. [AR1-GigabitEthernet0/0]undo shutdown
  5. [AR1]interface Serial 1/0
  6. [AR1-Serial1/0]ip address 192.168.12.1 24
  7. [AR1-Serial1/0]undo shutdown
  8. 配置带下一跳地址的静态路由
  9. [AR1]ip route-static 172.16.0.0 24 192.168.12.2
  10. [AR1]ip route-static 172.16.1.0 24 192.168.12.2
  11. [AR1]ip route-static 172.16.2.0 24 192.168.12.2
  12. [AR1]ip route-static 172.16.3.0 24 192.168.12.2
  13. [AR1]ip route-static 172.16.23.0 24 192.168.12.2
  1. AR2配置
  2. [AR2]interface Serial 1/0
  3. [AR2-Serial1/0]ip address 192.168.12.2 24
  4. [AR2-Serial1/0]undo shutdown
  5. [AR2]interface Serial 2/0
  6. [AR2-Serial2/0]ip address 192.168.23.2 24
  7. [AR2-Serial2/0]undo shutdown
  8. 以下配置带下一跳地址的静态路由
  9. [AR2]ip route-static 172.16.0.0 24 192.168.23.3
  10. [AR2]ip route-static 172.16.1.0 24 192.168.23.3
  11. [AR2]ip route-static 172.16.2.0 24 192.168.23.3
  12. [AR2]ip route-static 172.16.3.0 24 192.168.23.3
  13. [AR2]ip route-static 192.168.1.0 24 192.168.12.1
  1. AR3配置
  2. [AR3]interface LoopBack 0
  3. [AR3-LoopBack0]ip address 172.16.0.3 24
  4. [AR3]interface LoopBack 1
  5. [AR3-LoopBack1]ip address 172.16.1.3 24
  6. [AR3]interface LoopBack 2
  7. [AR3-LoopBack2]ip address 172.16.2.3 24
  8. [AR3]interface LoopBack 3
  9. [AR3-LoopBack3]ip address 172.16.3.3 24
  10. [AR3]interface Serial 1/0
  11. [AR3-Serial1/0]ip address 192.168.23.3 24
  12. [AR3-Serial1/0]undo shutdown
  13. [AR3]ip route-static 192.168.1.0 24 192.168.23.2
  14. [AR3]ip route-static 192.168.12.0 24 192.168.23.2
  1. 查看AR1路由表
  2. [AR1]display ip routing-table
  3. Destinations : 18 Routes : 18
  4. Destination/Mask Proto Pre Cost NextHop Interface
  5. 0.0.0.0/32 Direct 0 0 127.0.0.1 InLoop0
  6. 127.0.0.0/8 Direct 0 0 127.0.0.1 InLoop0
  7. 127.0.0.0/32 Direct 0 0 127.0.0.1 InLoop0
  8. 127.0.0.1/32 Direct 0 0 127.0.0.1 InLoop0
  9. 127.255.255.255/32 Direct 0 0 127.0.0.1 InLoop0
  10. 172.16.0.0/24 Static 60 0 192.168.12.2 Ser1/0
  11. 172.16.1.0/24 Static 60 0 192.168.12.2 Ser1/0
  12. 172.16.2.0/24 Static 60 0 192.168.12.2 Ser1/0
  13. 172.16.3.0/24 Static 60 0 192.168.12.2 Ser1/0
  14. 172.16.23.0/24 Static 60 0 192.168.12.2 Ser1/0
  15. 192.168.12.0/24 Direct 0 0 192.168.12.1 Ser1/0
  16. 192.168.12.0/32 Direct 0 0 192.168.12.1 Ser1/0
  17. 192.168.12.1/32 Direct 0 0 127.0.0.1 InLoop0
  18. 192.168.12.2/32 Direct 0 0 192.168.12.2 Ser1/0
  19. 192.168.12.255/32 Direct 0 0 192.168.12.1 Ser1/0
  20. 224.0.0.0/4 Direct 0 0 0.0.0.0 NULL0
  21. 224.0.0.0/24 Direct 0 0 0.0.0.0 NULL0
  22. 255.255.255.255/32 Direct 0 0 127.0.0.1 InLoop0
  1. 查看AR2路由表
  2. [AR2]display ip routing-table
  3. Destinations : 23 Routes : 23
  4. Destination/Mask Proto Pre Cost NextHop Interface
  5. 0.0.0.0/32 Direct 0 0 127.0.0.1 InLoop0
  6. 127.0.0.0/8 Direct 0 0 127.0.0.1 InLoop0
  7. 127.0.0.0/32 Direct 0 0 127.0.0.1 InLoop0
  8. 127.0.0.1/32 Direct 0 0 127.0.0.1 InLoop0
  9. 127.255.255.255/32 Direct 0 0 127.0.0.1 InLoop0
  10. 172.16.0.0/24 Static 60 0 192.168.23.3 Ser2/0
  11. 172.16.1.0/24 Static 60 0 192.168.23.3 Ser2/0
  12. 172.16.2.0/24 Static 60 0 192.168.23.3 Ser2/0
  13. 172.16.3.0/24 Static 60 0 192.168.23.3 Ser2/0
  14. 192.168.1.0/24 Static 60 0 192.168.12.1 Ser1/0
  15. 192.168.12.0/24 Direct 0 0 192.168.12.2 Ser1/0
  16. 192.168.12.0/32 Direct 0 0 192.168.12.2 Ser1/0
  17. 192.168.12.1/32 Direct 0 0 192.168.12.1 Ser1/0
  18. 192.168.12.2/32 Direct 0 0 127.0.0.1 InLoop0
  19. 192.168.12.255/32 Direct 0 0 192.168.12.2 Ser1/0
  20. 192.168.23.0/24 Direct 0 0 192.168.23.2 Ser2/0
  21. 192.168.23.0/32 Direct 0 0 192.168.23.2 Ser2/0
  22. 192.168.23.2/32 Direct 0 0 127.0.0.1 InLoop0
  23. 192.168.23.3/32 Direct 0 0 192.168.23.3 Ser2/0
  24. 192.168.23.255/32 Direct 0 0 192.168.23.2 Ser2/0
  25. 224.0.0.0/4 Direct 0 0 0.0.0.0 NULL0
  26. 224.0.0.0/24 Direct 0 0 0.0.0.0 NULL0
  27. 255.255.255.255/32 Direct 0 0 127.0.0.1 InLoop0
  1. 查看AR3路由表
  2. [AR3]display ip routing-table
  3. Destinations : 31 Routes : 31
  4. Destination/Mask Proto Pre Cost NextHop Interface
  5. 0.0.0.0/32 Direct 0 0 127.0.0.1 InLoop0
  6. 127.0.0.0/8 Direct 0 0 127.0.0.1 InLoop0
  7. 127.0.0.0/32 Direct 0 0 127.0.0.1 InLoop0
  8. 127.0.0.1/32 Direct 0 0 127.0.0.1 InLoop0
  9. 127.255.255.255/32 Direct 0 0 127.0.0.1 InLoop0
  10. 172.16.0.0/24 Direct 0 0 172.16.0.3 Loop0
  11. 172.16.0.0/32 Direct 0 0 172.16.0.3 Loop0
  12. 172.16.0.3/32 Direct 0 0 127.0.0.1 InLoop0
  13. 172.16.0.255/32 Direct 0 0 172.16.0.3 Loop0
  14. 172.16.1.0/24 Direct 0 0 172.16.1.3 Loop1
  15. 172.16.1.0/32 Direct 0 0 172.16.1.3 Loop1
  16. 172.16.1.3/32 Direct 0 0 127.0.0.1 InLoop0
  17. 172.16.1.255/32 Direct 0 0 172.16.1.3 Loop1
  18. 172.16.2.0/24 Direct 0 0 172.16.2.3 Loop2
  19. 172.16.2.0/32 Direct 0 0 172.16.2.3 Loop2
  20. 172.16.2.3/32 Direct 0 0 127.0.0.1 InLoop0
  21. 172.16.2.255/32 Direct 0 0 172.16.2.3 Loop2
  22. 172.16.3.0/24 Direct 0 0 172.16.3.3 Loop3
  23. 172.16.3.0/32 Direct 0 0 172.16.3.3 Loop3
  24. 172.16.3.3/32 Direct 0 0 127.0.0.1 InLoop0
  25. 172.16.3.255/32 Direct 0 0 172.16.3.3 Loop3
  26. 192.168.1.0/24 Static 60 0 192.168.23.2 Ser1/0
  27. 192.168.12.0/24 Static 60 0 192.168.23.2 Ser1/0
  28. 192.168.23.0/24 Direct 0 0 192.168.23.3 Ser1/0
  29. 192.168.23.0/32 Direct 0 0 192.168.23.3 Ser1/0
  30. 192.168.23.2/32 Direct 0 0 192.168.23.2 Ser1/0
  31. 192.168.23.3/32 Direct 0 0 127.0.0.1 InLoop0
  32. 192.168.23.255/32 Direct 0 0 192.168.23.3 Ser1/0
  33. 224.0.0.0/4 Direct 0 0 0.0.0.0 NULL0
  34. 224.0.0.0/24 Direct 0 0 0.0.0.0 NULL0
  35. 255.255.255.255/32 Direct 0 0 127.0.0.1 InLoop0

配置PC机

 测试:

 以上就是带下一跳地址的静态路由

二、带送出接口的静态路由

需要先将原来配置的静态路由删除掉只需要在前面加上undo就可以了

  1. AR1带出接口的静态路由配置
  2. ip route-static 172.16.0.0 24 s1/0
  3. ip route-static 172.16.1.0 24 s1/0
  4. ip route-static 172.16.2.0 24 s1/0
  5. ip route-static 172.16.3.0 24 s1/0
  6. ip route-static 172.16.23.0 24 s1/0
  1. AR2带出接口的静态路由配置
  2. ip route-static 172.16.0.0 24 s2/0
  3. ip route-static 172.16.1.0 24 s2/0
  4. ip route-static 172.16.2.0 24 s2/0
  5. ip route-static 172.16.3.0 24 s2/0
  6. ip route-static 192.168.1.0 24 s1/0
  1. AR3带出接口的静态路由配置
  2. ip route-static 192.168.1.0 24 s2/0
  3. ip route-static 192.168.12.0 24 s2/0

查看路由表

  1. AR1路由表
  2. [AR1]display ip routing-table protocol static
  3. Summary count : 5
  4. Static Routing table status : <Active>
  5. Summary count : 5
  6. Destination/Mask Proto Pre Cost NextHop Interface
  7. 172.16.0.0/24 Static 60 0 0.0.0.0 Ser1/0
  8. 172.16.1.0/24 Static 60 0 0.0.0.0 Ser1/0
  9. 172.16.2.0/24 Static 60 0 0.0.0.0 Ser1/0
  10. 172.16.3.0/24 Static 60 0 0.0.0.0 Ser1/0
  11. 172.16.23.0/24 Static 60 0 0.0.0.0 Ser1/0
  1. AR2路由表
  2. [AR2]display ip routing-table protocol static
  3. Summary count : 5
  4. Static Routing table status : <Active>
  5. Summary count : 5
  6. Destination/Mask Proto Pre Cost NextHop Interface
  7. 172.16.0.0/24 Static 60 0 0.0.0.0 Ser1/0
  8. 172.16.1.0/24 Static 60 0 0.0.0.0 Ser1/0
  9. 172.16.2.0/24 Static 60 0 0.0.0.0 Ser1/0
  10. 172.16.3.0/24 Static 60 0 0.0.0.0 Ser1/0
  11. 192.168.1.0/24 Static 60 0 0.0.0.0 Ser1/0
  1. AR3路由表
  2. [AR3]display ip routing-table protocol static
  3. Summary count : 2
  4. Static Routing table status : <Active>
  5. Summary count : 2
  6. Destination/Mask Proto Pre Cost NextHop Interface
  7. 192.168.1.0/24 Static 60 0 0.0.0.0 Ser2/0
  8. 192.168.12.0/24 Static 60 0 0.0.0.0 Ser2/0

测试:

 三、汇总静态路由与默认路由

拓扑如下:

 配置信息:

设备接口IP地址子网掩码默认网关
AR1Loopback 010.10.10.10 255.255.255.0N/A
S1/0172.16.12.1   255.255.255.0N/A

AR2

S1/0172.16.12.2255.255.255.0N/A
Loopback0192.168.12.2255.255.255.0N/A
Loopback1192.168.13.2   255.255.255.0N/A
Loopback2192.168.14.2255.255.255.0N/A
Loopback3192.168.15.2255.255.255.0N/A

一、汇总路由配置

  1. AR1配置
  2. [AR1]interface LoopBack 0
  3. [AR1-LoopBack0]ip address 10.10.10.10 24
  4. [AR1-Serial1/0]ip address 172.16.12.1 24
  5. [AR1-Serial1/0]un shutdown
  6. [AR1]ip route-static 192.168.12.0 22 s1/0 //配置静态汇总路由,使用聚合地址
  1. AR2配置
  2. [AR2]interface LoopBack 0
  3. [AR2-LoopBack0]ip address 192.168.12.2 24
  4. [AR2]interface LoopBack 1
  5. [AR2-LoopBack1]ip address 192.168.13.2 24
  6. [AR2]interface LoopBack 2
  7. [AR2-LoopBack2]ip address 192.168.14.2 24
  8. [AR2]interface LoopBack 3
  9. [AR2-LoopBack3]ip address 192.168.15.2 24
  10. [AR2]ip route-static 10.10.10.0 24 s1/0

测试:带源去ping

  1. [AR1]ping -a 10.10.10.10 192.168.12.2
  2. Ping 192.168.12.2 (192.168.12.2) from 10.10.10.10: 56 data bytes, press CTRL_C to break
  3. 56 bytes from 192.168.12.2: icmp_seq=0 ttl=255 time=1.000 ms
  4. 56 bytes from 192.168.12.2: icmp_seq=1 ttl=255 time=1.000 ms
  5. 56 bytes from 192.168.12.2: icmp_seq=2 ttl=255 time=2.000 ms
  6. 56 bytes from 192.168.12.2: icmp_seq=3 ttl=255 time=2.000 ms
  7. 56 bytes from 192.168.12.2: icmp_seq=4 ttl=255 time=2.000 ms
  8. --- Ping statistics for 192.168.12.2 ---
  9. 5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss
  10. round-trip min/avg/max/std-dev = 1.000/1.600/2.000/0.490 ms
  11. [AR1]%May 16 15:49:15:645 2022 AR1 PING/6/PING_STATISTICS: Ping statistics for 192.168.12.2: 5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss, round-trip min/avg/max/std-dev = 1.000/1.600/2.000/0.490 ms.

默认路由配置

[AR1]ip route-static 0.0.0.0 0 Serial 1/0  //配置静态默认路由,网络地址与子网掩码都为0,在没有精准的匹配时,此条路由条目能与所有网络匹配

路由负载分担

拓扑如下:

 

接口参数配置:

设备接口IP地址子网掩码网关
AR1Loopback010.10.10.10255.255.255.0N/A
G0/0192.168.1.1255.255.255.0N/A
G0/1192.168.2.1255.255.255.0N/A
AR2Loopback020.20.20.20255.255.255.0N/A
G0/0192.168.1.2255.255.255.0N/A
G0/1192.168.2.2255.255.255.0N/A

 配置:

  1. AR1配置
  2. [AR1]interface LoopBack 0
  3. [AR1-LoopBack0]ip address 10.10.10.10 24
  4. [AR1]interface GigabitEthernet 0/0
  5. [AR1-GigabitEthernet0/0]ip address 192.168.1.1 24
  6. [AR1-GigabitEthernet0/0]undo shutdown
  7. [AR1]interface GigabitEthernet 0/1
  8. [AR1-GigabitEthernet0/1]ip address 192.168.2.1 24
  9. [AR1-GigabitEthernet0/1]undo shutdown
  10. [AR1]ip route-static 20.20.20.0 24 192.168.1.2
  11. [AR1]ip route-static 20.20.20.0 24 192.168.2.2
  12. 查看路由表
  13. 可以看到去往20.20.20.0网段的也有两条路由,静态路由的优先级都是60代价是0数据会根据路由表条目,一半流量走192.168.1.2一半流量走192.168.2.2
  14. [AR1]display ip routing-table
  15. Destinations : 21 Routes : 22
  16. Destination/Mask Proto Pre Cost NextHop Interface
  17. 0.0.0.0/32 Direct 0 0 127.0.0.1 InLoop0
  18. 10.10.10.255/32 Direct 0 0 10.10.10.10 Loop0
  19. 20.20.20.0/24 Static 60 0 192.168.1.2 GE0/0
  20. 192.168.2.2 GE0/1
  1. AR2配置
  2. [AR2]interface LoopBack 0
  3. [AR2-LoopBack0]ip address 20.20.20.20 24
  4. [AR2]interface GigabitEthernet 0/0
  5. [AR2-GigabitEthernet0/0]ip address 192.168.1.2 24
  6. [AR2-GigabitEthernet0/0]undo shutdown
  7. [AR2]interface GigabitEthernet 0/1
  8. [AR2-GigabitEthernet0/1]ip address 192.168.2.2 24
  9. [AR2-GigabitEthernet0/1]undo shutdown
  10. [AR2]ip route-static 10.10.10.0 24 192.168.1.1
  11. [AR2]ip route-static 10.10.10.0 24 192.168.2.1
  12. 查看路由表
  13. 可以看到去往10.10.10.0网段的下一跳有两个因为静态路由的优先级都是60代价是0数据会根据路由表条目
  14. 一半流量走192.168.1.1一半流量走192.168.2.1
  15. [AR2]display ip routing-table
  16. Destinations : 21 Routes : 22
  17. Destination/Mask Proto Pre Cost NextHop Interface
  18. 0.0.0.0/32 Direct 0 0 127.0.0.1 InLoop0
  19. 10.10.10.0/24 Static 60 0 192.168.1.1 GE0/0
  20. 192.168.2.1 GE0/1
  21. 20.20.20.0/24 Direct 0 0 20.20.20.20 Loop0
  22. 20.20.20.0/32 Direct 0 0 20.20.20.20 Loop0

路由备份

 这里将第二条路由改成了100,现在流量默认从优先级为60的走

  1. AR1配置
  2. [AR1]undo ip route-static 20.20.20.0 24 192.168.2.2 //删除一条路由
  3. [AR1]ip route-static 202.20.20.0 24 192.168.2.2 preference 100 //添加一条路由并设置优先级
  4. 查看路由表
  5. 可以看到去往20.20.20.0网段的地址现在就只有一个了
  6. [AR1]display ip routing-table
  7. Destinations : 22 Routes : 22
  8. Destination/Mask Proto Pre Cost NextHop Interface
  9. 20.20.20.0/24 Static 60 0 192.168.1.2 GE0/0
  10. 127.0.0.0/8 Direct 0 0 127.0.0.1 InLoop0
  1. AR2配置
  2. [AR2]undo ip route-static 10.10.10.0 24 192.168.2.1 //删除第二条路由
  3. [AR2]ip route-static 10.10.10.0 24 192.168.2.1 preference 100 //添加路有并且将优先级调到100
  4. 查看路由表
  5. 可以看到去往10.10.10.0网段的也只有一条了
  6. [AR2]display ip routing-table
  7. Destinations : 21 Routes : 21
  8. Destination/Mask Proto Pre Cost NextHop Interface
  9. 0.0.0.0/32 Direct 0 0 127.0.0.1 InLoop0
  10. 10.10.10.0/24 Static 60 0 192.168.1.1 GE0/0
  11. 20.20.20.0/24 Direct 0 0 20.20.20.20 Loop0

下面测试:

 这里是没问题的,下面我们将60这条线路断开,看一下备份线路会不会上线

  1. AR1配置
  2. [AR1]interface GigabitEthernet 0/0
  3. [AR1-GigabitEthernet0/0]shutdown
  4. 查看路由表
  5. 可以看到去往20.20.20.0网段的也更新了
  6. [AR1]display ip routing-table
  7. Destinations : 17 Routes : 17
  8. Destination/Mask Proto Pre Cost NextHop Interface
  9. 192.168.2.1/32 Direct 0 0 127.0.0.1 InLoop0
  10. 192.168.2.255/32 Direct 0 0 192.168.2.1 GE0/1
  11. 202.20.20.0/24 Static 100 0 192.168.2.2 GE0/1
  1. AR2配置
  2. [AR2]interface GigabitEthernet 0/0
  3. [AR2-GigabitEthernet0/0]shutdown
  4. 查看路由表
  5. 这里可以看到60断开后,优先级为100的就替换上来了
  6. [AR2]display ip routing-table
  7. Destinations : 17 Routes : 17
  8. Destination/Mask Proto Pre Cost NextHop Interface
  9. 0.0.0.0/32 Direct 0 0 127.0.0.1 InLoop0
  10. 10.10.10.0/24 Static 100 0 192.168.2.1 GE0/1
  11. 20.20.20.0/24 Direct 0 0 20.20.20.20 Loop0

下面测试

可以看到互相通信了,这里静态路由备份就完成了

静态路由与BFD联动

BFD(双向转发检测)协议提供一种轻负担,快速检测两台邻居路由器之间转发路径联通状态的方法。加快启用备份转发路径,大大减少整个网络的收敛时间,提升现有网络的性能

  1. AR1配置
  2. 删除两条静态路由
  3. [AR1]undo ip route-static 20.20.20.0 24 192.168.1.2
  4. [AR1]undo ip route-static 20.20.20.0 24 192.168.2.2 preference 100
  5. 在接口G0/0配置BFD协议
  6. [AR1]interface GigabitEthernet 0/0
  7. [AR1-GigabitEthernet0/0]bfd min-transmit-interval 500
  8. [AR1-GigabitEthernet0/0]bfd min-receive-interval 500
  9. [AR1-GigabitEthernet0/0]bfd detect-multiplier 9
  10. 在AR1上配置bfd与备份路由
  11. [AR1]ip route-static 20.20.20.0 24 g0/0 192.168.1.2 bfd control-packet
  12. [AR1]ip route-static 20.20.20.0 24 g0/1 192.168.2.2 preference 100
  13. 查看配置结果
  14. [AR1]display bfd session
  15. Total Session Num: 1 Up Session Num: 1 Init Mode: Active
  16. IPv4 session working in control packet mode:
  17. LD/RD SourceAddr DestAddr State Holdtime Interface
  18. 2049/2049 192.168.1.1 192.168.1.2 Up 4247ms GE0/0
  1. AR2配置
  2. 删除两条路由
  3. [AR2]undo ip route-static 10.10.10.0 24 192.168.1.1
  4. [AR2]undo ip route-static 10.10.10.0 24 192.168.2.1 preference 100
  5. 在接口G0/0配置bfd协议
  6. [AR2-GigabitEthernet0/0]bfd min-transmit-interval 500
  7. [AR2-GigabitEthernet0/0]bfd min-receive-interval 500
  8. [AR2-GigabitEthernet0/0]bfd detect-multiplier 9
  9. 配置bfd与备份路由
  10. [AR2]ip route-static 10.10.10.0 24 G0/0 192.168.1.1 bfd control-packet
  11. [AR2]ip route-static 10.10.10.0 24 g0/1 192.168.2.1 preference 100
  12. 查看配置结果
  13. [AR2]display bfd session
  14. Total Session Num: 1 Up Session Num: 1 Init Mode: Active
  15. IPv4 session working in control packet mode:
  16. LD/RD SourceAddr DestAddr State Holdtime Interface
  17. 2049/2049 192.168.1.2 192.168.1.1 Up 4123ms GE0/0

测试

  1. AR1配置
  2. 开启bfd功能调试信息开关
  3. <AR1>debugging bfd event
  4. <AR1>debugging bfd scm
  5. <AR1>terminal debugging
  1. AR2配置
  2. 关闭G0/0接口
  3. [AR2]interface GigabitEthernet 0/0
  4. [AR2-GigabitEthernet0/0]shutdown
  1. AR1配置
  2. 查看静态路由
  3. 这里启动了备份路由
  4. [AR1]display ip routing-table protocol static
  5. Summary count : 1
  6. Static Routing table status : <Active>
  7. Summary count : 1
  8. Destination/Mask Proto Pre Cost NextHop Interface
  9. 20.20.20.0/24 Static 100 0 192.168.2.2 GE0/1
  10. Static Routing table status : <Inactive>

以上就是静态路由所有信息,如有问题请留言如有错误欢迎提出

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/2023面试高手/article/detail/326904
推荐阅读
相关标签
  

闽ICP备14008679号