在任意视图下执行 display 命令可以显示路由表信息。在用户视图下执行reset 命令可以清除路由表的统计信息。
显示路由表的信息
display ip routing-table [ vpn-instance vpn-instance-name ] [ verbose ] [ | { begin | exclude | include } regular-expression ]
显示通过指定基本访问控制列表过滤的路由
display ip routing-table [ vpn-instance vpn-instance-name ] acl acl-number [ verbose ] [ | { begin | exclude | include } regular-expression ]
显示指定目的地址的路由
display ip routing-table [ vpn-instance vpn-instance-name ]ip-address [ mask | mask-length ] [ longer-match ] [ verbose ] [ |
{ begin | exclude | include } regular-expression ]
显示指定目的地址范围内的路由
display ip routing-table [ vpn-instance vpn-instance-name ] ip-address1 { mask | mask-length } ip-address2 { mask |mask-length } [ verbose ] [ | { begin | exclude | include } regular-expression ]
显示通过指定前缀列表过滤的路由
display ip routing-table [ vpn-instance vpn-instance-name ] ip-prefix ip-prefix-name [ verbose ] [ | { begin | exclude | include } regular-expression ]
显示指定协议发现的路由
display ip routing-table [ vpn-instance vpn-instance-name ]protocol protocol [ inactive | verbose ] [ | { begin | exclude |include } regular-expression ]
显示路由表中的路由统计信息
display ip routing-table [ vpn-instance vpn-instance-name ]statistics [ | { begin | exclude | include } regular-expression ]
清除路由表中的综合路由统计信息
reset ip routing-table statistics protocol [ vpn-instance vpn-instance-name ] { protocol | all }
显示 IPv6 路由表的信息
display ipv6 routing-table [ verbose ] [ | { begin | exclude |include } regular-expression ]
显示经过指定的基本 IPv6 ACL(访问控制列表)过滤的路由
display ipv6 routing-table acl acl6-number [ verbose ] [ | { begin | exclude | include } regular-expression ]
显示指定目的地址的 IPv6 路由信息
display ipv6 routing-table ipv6-address prefix-length [ longer-match ] [ verbose ] [ | { begin | exclude | include } regular-expression ]
显示指定地址范围内的 IPv6 路由信息
display ipv6 routing-table ipv6-address1 prefix-length1 ipv6-address2 prefix-length2 [ verbose ] [ | { begin | exclude | include } regular-expression ]
显示经过指定 IPv6 前缀列表过滤的路由信息
display ipv6 routing-table ipv6-prefix ipv6-prefix-name [ verbose ] [ | { begin | exclude | include } regular-expression ]
显示指定协议发现的 IPv6 路由信息
display ipv6 routing-table protocol protocol [ inactive | verbose ] [ | { begin | exclude | include } regular-expression ]
显示 IPv6 路由表中的综合路由统计信息
display ipv6 routing-table statistics [ | { begin | exclude | include } regular-expression ]
清除 IPv6 路由表中的综合路由统计信息
reset ipv6 routing-table statistics protocol { protocol | all }





