Leaflet
12-55
思科 ASA 系列命令参考,A 至 H 命令
第 12 章 dhcpd address 至 distribute-list out (BGP) 命令
distribute-list out
distribute-list out
要过滤传出的路由更新,请在路由器配置模式下使用 distribute-list out 命令。要删除过滤,请使
用此命令的 no 形式。
distribute-list acl out [interface if_name] [eigrp as_number | rip | ospf pid | static | connected]
no distribute-list acl out [interface if_name] [eigrp as_number | rip | ospf pid | static | connected]
语法说明
默认值 在发送的更新中不过滤网络。
命令模式 下表展示可输入此命令的模式:
命令历史
使用指南 如果未指定任何接口,则会将访问列表应用于所有传出的更新。
示例 以下示例阻止在从任何接口发出的 RIP 更新中通告 10.0.0.0 网络:
ciscoasa(config)# access-list ripfilter deny 10.0.0.0
ciscoasa(config)# access-list ripfilter permit any
ciscoasa(config)# router rip
ciscoasa(config-router)# network 10.0.0.0
ciscoasa(config-router)# distribute-list ripfilter out
acl
标准访问列表的名称。
connected
(可选)仅过滤连接的路由。
eigrp as_number
(可选)仅从指定的自主系统编号过滤 EIGRP 路由。as_number 参数是
ASA 上的 EIGRP 路由进程的自主系统编号。
interface if_name
(可选)要应用传出的路由更新的接口。指定接口会导致仅将访问列表应
用于在该接口上收到的路由更新。
ospf pid
(可选)仅过滤指定的 OSPF 进程发现的 OSPF 路由。
rip
(可选)仅过滤 RIP 路由。
static
(可选)仅过滤静态路由。
命令模式
防火墙模式 安全情景
路由 透明 单个
多个
情景 系统
路由器配置
• 是
—
• 是
— —
版本 修改
7.2(1)
引入了此命令。
8.0(2)
添加了 eigrp 关键字。