监视和维护OSPF
可显示一些特定数据,如IP路由选择表、高速缓存和数据库的内容。所提供的信息有助于确定资源的利用情况,以解决网络问题。还显示节点可达性的相关信息,并发现设备包在网络上所经过的路径。
要显示不同的路由统计值,在EXEC模式下执行下列命令:命令作用show ip ospf [process-id]show ip ospf [process-id area-id]database]
show ip ospf[process-id area-id]database[router] [link-state-id]
show ip ospf [proces-id area-id]database[router][self-originate]
show ip ospf [process-id area-id]database[router][adv-router]
[ip-address]]show ip ospf [process-id area-id]database[network][link-state-id]
show ip ospf [process-id area-id]database[summary][link-state-id]
show ip ospf[process-id area-id]database[asbr-summary]
[link-state-id]show ip ospf [process-id]database[external][link-state-id]
show ip ospf[process-id area-id]database[database-summary]
显示有关OSPF路由选择进程总体信息。show ip ospf border routers显示至区域界路由器(ABR)和自治系统边界路由器(ASBR)的内部OSPF路由选择表。show ip ospf interface [interface name]显示与OSPF相关的接口信息。show ip ospfneighbor[interfacename][neighbor id]detail显示接口前的OSPF邻居信息。show ip ospf virtual-links显示与OSPF相关的虚拟链路信息。