云题海 - 专业文章范例文档资料分享平台

当前位置:首页 > AR 18系列路由器静态路由配置命令手册

AR 18系列路由器静态路由配置命令手册

  • 62 次阅读
  • 3 次下载
  • 2026/4/26 20:57:58

Summary count: 4

Destination/Mask Proto Pre Cost Nexthop Interface 127.0.0.0/8 Direct 0 0 127.0.0.1 InLoopBack0 127.0.0.1/32 Direct 0 0 127.0.0.1 InLoopBack0 169.0.0.0/8 Static 60 0 2.1.1.1 LoopBack1 169.0.0.0/15 Static 60 0 2.1.1.1 LoopBack1

# 查看通过基本访问控制列表ACL2001过滤的active和inactive的路由的详细信息。

display ip routing-table acl 2001 verbose Routes matched by access-list 2001: Generate Default: no

+ = Active Route, - = Last Active, # = Both * = Next hop in use Summary count:5

**Destination: 127.0.0.0 Mask: 255.0.0.0 Protocol: #Direct Preference: 0

*NextHop: 127.0.0.1 Interface: 127.0.0.1(InLoopBack0) Vlinkindex: 0

State: Age: 3:47 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(InLoopBack0) Vlinkindex: 0

State: Age: 3:47 Metric: 0/0

**Destination: 179.0.0.0 Mask: 255.0.0.0 Protocol: #Static Preference: 60 *NextHop: 4.1.1.1 Vlinkindex: 0

State:

**Destination: 169.0.0.0 Mask: 255.0.0.0 Protocol: #Static Preference: 60

*NextHop: 2.1.1.1 Interface: 2.1.1.1(LoopBack1) Vlinkindex: 0

State: Age: 3:47 Metric: 0/0

**Destination: 169.0.0.0 Mask: 255.254.0.0 Protocol: #Static Preference: 60

*NextHop: 2.1.1.1 Interface: 2.1.1.1(LoopBack1) Vlinkindex: 0

State: Age: 3:47 Metric: 0/0

1.1.3 display ip routing-table ip-address

【命令】

display ip routing-table ip-address [ mask ] [ longer-match ] [ verbose ]

【视图】

所有视图

【参数】

ip-address:目的IP地址,点分十进制格式。

mask:IP地址掩码,点分十进制格式或以整数形式表示的长度,当用整数时,取值范围为0~32。

longer-match:自然掩码范围内匹配的所有目的地址路由。

verbose:当使用该参数时,显示处于active状态和inactive状态的路由的详细信息。如果不使用该参数,将只显示处于active状态的路由的摘要信息。

【描述】

display ip routing-table ip-address命令用来查看指定目的地址的路由信息。

使用不同的可选参数,命令的输出也不相同,以下是对该命令不同形式的输出说明:

? display ip routing-table ip-address

如果目的地址ip-address在自然掩码范围内有相应的路由,则将显示其全部子网路由,否则只显示与目的地址ip-address最长匹配的路由。只显示处于active状态的匹配路由。

? display ip routing-table ip-address mask

只显示与指定目的地址及掩码精确匹配的路由。

? display ip routing-table ip-address longer-match

显示目的地址在自然掩码范围内匹配的所有目的地址路由。

【举例】

# 在自然掩码范围内有相应路由,查看摘要信息。

display ip routing-table 169.0.0.0 Routing Tables: Summary count:1

Destination/Mask Proto Pre Cost Nexthop Interface 169.0.0.0/16 Static 60 0 2.1.1.1 LoopBack1

# 在自然掩码范围内没有相应的路由(只显示最长匹配的路由),查看摘要信息。

display ip routing-table 169.253.0.0 Routing Tables: Summary count:1

Destination/Mask Proto Pre Cost Nexthop Interface 169.0.0.0/8 Static 60 0 2.1.1.1 LoopBack1

# 在自然掩码范围内有相应路由,查看详细信息。

display ip routing-table 169.0.0.0 verbose Routing Tables: Generate Default: no

+ = Active Route, - = Last Active, # = Both * = Next hop in use

Summary count:2

**Destination: 169.0.0.0 Mask: 255.0.0.0 Protocol: #Static Preference: 60

*NextHop: 2.1.1.1 Interface: 2.1.1.1(LoopBack1) Vlinkindex: 0

State: Age: 3:47 Metric: 0/0

**Destination: 169.0.0.0 Mask: 255.254.0.0 Protocol: #Static Preference: 60

*NextHop: 2.1.1.1 Interface: 2.1.1.1(LoopBack1) Vlinkindex: 0

State: Age: 3:47 Metric: 0/0

# 在自然掩码范围内没有相应的路由(只显示最长匹配的路由),查看详细信息。

display ip routing-table 169.253.0.0 verbose Routing Tables: Generate Default: no

+ = Active Route, - = Last Active, # = Both * = Next hop in use Summary count:1

**Destination: 169.0.0.0 Mask: 255.0.0.0 Protocol: #Static Preference: -60 *NextHop: 2.1.1.1 Vlinkindex: 0

State: Age: 3:47 Metric: 0/0

1.1.4 display ip routing-table ip-address1 ip-address2

【命令】

display ip routing-table ip-address1 mask1 ip-address2 mask2 [ verbose ]

  • 收藏
  • 违规举报
  • 版权认领
下载文档10.00 元 加入VIP免费下载
推荐下载
本文作者:...

共分享92篇相关文档

文档简介:

Summary count: 4 Destination/Mask Proto Pre Cost Nexthop Interface 127.0.0.0/8 Direct 0 0 127.0.0.1 InLoopBack0 127.0.0.1/32 Direct 0 0 127.0.0.1 InLoopBack0 169.0.0.0/8 Static 60 0 2.1.1.1 LoopBack1 169.0.0.0/15 Static 60 0 2.1.1.1 LoopBack1 # 查看通过基本访问控制列表ACL2001过滤的active和inactive的路由的详细信息。

× 游客快捷下载通道(下载后可以自由复制和排版)
单篇付费下载
限时特价:10 元/份 原价:20元
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信:fanwen365 QQ:370150219
Copyright © 云题海 All Rights Reserved. 苏ICP备16052595号-3 网站地图 客服QQ:370150219 邮箱:370150219@qq.com