RIP:def 路由源自本地,试图阻止任何其他带有前缀列表的路由 - 不工作

网络工程 撕裂 路由过滤器
2021-07-07 16:57:17
ip prefix-list DRoute seq 5 permit 0.0.0.0/0
! since there is an implicit deny the above should allow only the default to 
! pass but it is not happening

router rip
 version 2
 network 10.0.0.0
 default-information originate
 distribute-list DRoute out
 no auto-summary

do sh ip prefix det
Prefix-list with the last deletion/insertion: DRoute
ip prefix-list DRoute:
   count: 1, range entries: 0, sequences: 5 - 5, refcount: 2
   seq 5 permit 0.0.0.0/0 (hit count: 0, refcount: 1)

我在这里错过了什么,这应该很简单?

1个回答

要使用前缀列表,您必须包含“前缀”一词,如下所示:

distribute-list prefix DRoute out

参考:http : //www.cisco.com/c/en/us/td/docs/ios/12_2/iproute/command/reference/fiprrp_r/1rfrip.html