路由器静态路由配置命令( 二 )


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
先显示用于路由状态描述的符号,然后输出整个路由表的统计数字,最后依次输出每条路由的具体描述 。其含义如表4-1所示 。
表4-1 路由表信息
【相关命令】
ip route,show ip route,show ip route static
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;
输出接口和下一跳
【相关命令】
ip route,show ip route,show ip route detail

推荐阅读