很少做广告BGP路由没有安装在 Firewall
12301
Created On 06/08/22 09:42 AM - Last Modified 05/09/23 08:17 AM
Symptom
Firewall 与对等方通告的路由相比,安装较少的路由。
网络配置
- 路由器--------BGP ------ firewall
- 路由器通告了 5100 多条路由,但是firewall安装少于 5000 条路线。
Environment
- 帕洛阿尔托防火墙
- 支持的 PAN-OS
- BGP 配置邻居路由器
Cause
接收到的前缀总数超过配置为从邻居接收的最大前缀数。
Resolution
- 检查 routed.log 中的消息 (少 mp-log routed.log ).在这种情况下,定义的最大前缀为 5000。
**** AUDIT 0x4107 - 16 (0000) **** I:0050ff25 F:00000002
qbdcphs1.c 1437 :at 20:49:36, 22 February 2022 (727892719 ms)
The maximum number of prefixes stored for a neighbor would be exceeded.
RIB Manager entity index: 0X00000001
Neighbor IP address: <peer-ip>
AFI: 1
SAFI: 1
Defined max prefixes: 5000
Dropping connection: False
Idle hold time: 90
- 命令 ”显示路由 fib “ 和 ”显示路由协议 bgp peer peer-name <peer> " 也显示了这些细节
Firewall> show routing fib
total virtual-router shown : 1
--------------------------------------------------------------------------------
virtual-router name: default
interfaces:
ethernet1/3 ethernet1/6
route table:
flags: u - up, h - host, g - gateway, e - ecmp, * - preferred path
maximum of fib entries for device: 5000
........
Firewall> show routing protocol bgp peer peer-name <name>
Peer: <name>
virtual router: default
Peer router id: 0.0.0.0
Remote AS: 1234
Peer group: Pgroup (id 30)
Peer status: Connect, for 0 seconds
Password set: no
Passive: no
Multi-hop TTL: 1
Remote Address: 172.20.97.2
Local Address: 172.20.97.1
(R) reflector client: not-client
same confederation: no
send aggr confed as-path: yes
peering type: Unspecified
Connect-Retry interval: 1
Open Delay: 0
Idle Hold: 15
Prefix limit: 5000
Holdtime: 0 (config 90)
Keep-Alive interval: 0 (config 30)
Update
....
- 去GUI:网络 > 虚拟路由器 >(名称)>BGP > 对等组 >(名称)>(选择对等)> 高级
- 增加最大前缀从最大值 5000 到所需的值。
- 提交配置。