Cisco Cisco ASA 5580 Adaptive Security Appliance Leaflet
10-28
思科 ASA 系列命令参考,S 命令
第 10 章 show nac-policy 至 show ospf virtual-links 命令
show ospf neighbor
show ospf neighbor
要基于每个接口显示
OSPF 邻居信息,请在特权 EXEC 模式下使用 show ospf neighbor 命令。
show ospf neighbor
[detail | interface_name [nbr_router_id]]
语法说明
默认值
没有默认行为或值。
命令模式
下表展示可输入此命令的模式:
命令历史
示例
以下是
show ospf neighbor 命令的输出示例。它基于每个接口展示如何显示 OSPF 邻居信息。
ciscoasa# show ospf neighbor outside
Neighbor 192.168.5.2, interface address 10.225.200.28
In the area 0 via interface outside
Neighbor priority is 1, State is FULL, 6 state changes
DR is 10.225.200.28 BDR is 10.225.200.30
Options is 0x42
Dead timer due in 00:00:36
Neighbor is up for 00:09:46
Index 1/1, retransmission queue length 0, number of retransmission 1
First 0x0(0)/0x0(0) Next 0x0(0)/0x0(0)
Last retransmission scan length is 1, maximum is 1
Last retransmission scan time is 0 msec, maximum is 0 msec
以下是
show ospf neighbor detail 命令的输出示例。它展示如何显示指定 OSPF 邻居的详细信息。
ciscoasa# show ospf neighbor detail
Neighbor 25.1.1.60, interface address 15.1.1.60
In the area 0 via interface inside
Neighbor priority is 1, State is FULL, 46 state changes
DR is 15.1.1.62 BDR is 15.1.1.60
detail
(可选)列出指定路由器的详细信息。
interface_name
(可选)要显示邻居信息的接口的名称。
nbr_router_id
(可选)邻居路由器的路由器
ID。
命令模式
防火墙模式
安全情景
路由
透明
单个
多个
情景
系统
特权
EXEC
•
是
—
•
是
•
是
—
版本
修改
7.0(1)
引入了此命令。
9.0(1)
支持多情景模式。