【相关命令】
ip route,show ip route detail,show ip
route static
4.6.3 show
ip route detail
显示路由表详细信息
show ip route detail
【命令模式】
特权用户模式
【使用指南】
该命令输出信息帮助用户进行路由方面的故障诊断。
【举例】
Quidway#show ip route detail
Route state description
NoAdv: do not advertiset Int: AS Interior route
Ext: AS External route Del: route to be deleted
Active: current route Retain: route retains in the routing
table
Rej: rejecting route Black: black hole route
Routing Tables:
Generate Default: no
+ = Active Route, - = Last Active, * = Both
Destinations: 4 Routes: 4
Holddown: 0 Delete: 9 Hidden: 0
**Destination: 127.0.0.0 Mask: 255.0.0.0
Protocol: *Static Preference: 0
NextHop: 127.0.0.1 Interface: 127.0.0.1(LO0)
State: $#@60;NoAdv Int Active Retain Rej$#@62;
Age: 19:31:06 Metric: 0/0
**Destination: 127.0.0.1 Mask: 255.255.255.255
Protocol: *Direct Preference: 0
NextHop: 127.0.0.1 Interface: 127.0.0.1(LO0)
State: $#@60;NoAdv Int Active Retain$#@62;
Age: 114:03:05 Metric: 0/0
Holddown路由指的是:一些distance vector 路由协议(如RIP),为了避免错误路由的扩散,提高路由不可达信息的快速准确传播,而采用的一种路由发布策略。它往往在一段时间间隔内固定地发布某条路由,而不管当前实际找回的到同一目的的路由发生了什么变化。其细节参见具体的路由协议。
在路由表统计中显示的是当前被Holddown的路由数目。有些路由由于某种原因(如接口Down)暂时不可用,但是又不希望被删除,我们把这种路由隐藏起来。以便以后能重新恢复在路由表统计中显示的是当前被隐藏的路由数目。
【相关命令】
ip route,show ip route,show ip route static
4.6.4 show
ip route static
显示静态路由表。
show ip route static
【命令模式】
特权用户模式
【使用指南】
根据该命令输出信息,可以帮助用户确认对静态路由的配置是否正确。
【举例】
Quidway#show ip route static
Static routes for family INET: (* indicates gateway(s)
in use)
1.2.3.0/24 pref 60 $#@60;Int$#@62; intf EN0
127.0.0.0/8 pref 0 $#@60;NoAdv Int Retain Rej$#@62; intf 127.0.0.1
以列表的方式显示静态路由表,每一行代表一条静态路由,从左到右依次为:
目的地址/掩码长度
优先级
$#@60;状态参数$#@62;
输出接口和下一跳
更多内容请看PCdog.com--Cisco路由器配置手册 OSPF路由协议 win98使用技巧专题
