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

发布时间 : 星期六 文章AR 18系列路由器静态路由配置命令手册更新完毕开始阅读a894786c25c52cc58bd6beea

5.2.1 ipv4-family 5.2.2 ipv4-family vpnv4 第6章 IP路由策略配置命令 6.1 IP路由策略配置命令 6.1.1 apply as-path 6.1.2 apply community 6.1.3 apply cost 6.1.4 apply cost-type 6.1.5 apply ip-address 6.1.6 apply isis

6.1.7 apply local-preference 6.1.8 apply origin 6.1.9 apply tag

6.1.10 display ip ip-prefix 6.1.11 display route-policy 6.1.12 filter-policy export 6.1.13 filter-policy import 6.1.14 if-match acl 6.1.15 if-match as-path 6.1.16 if-match community 6.1.17 if-match cost 6.1.18 if-match interface 6.1.19 if-match ip next-hop 6.1.20 if-match ip-prefix 6.1.21 if-match tag 6.1.22 ip ip-prefix 6.1.23 route-policy 第7章 路由容量配置命令 7.1 路由容量配置命令

7.1.1 display memory

7.1.2 memory auto-establish disable 7.1.3 memory auto-establish enable 7.1.4 memory

第1章 静态路由配置命令

? 说明:

本章中有关VPN实例的参数解释及举例,请参见本手册的“MPLS”模块。

1.1 路由表的显示命令

1.1.1 display ip routing-table

【命令】

display ip routing-table

【视图】

所有视图

【参数】

【描述】

display ip routing-table命令用来查看路由表的摘要信息。

该命令以摘要形式显示路由表信息,每一行代表一条路由,内容包括:目的地址/掩码长度、协议、优先级、度量值、下一跳、输出接口。

使用display ip routing-table命令仅能查看到当前被使用的路由,即最佳路由。

【举例】

# 查看当前路由表的摘要信息。

display ip routing-table Routing Table: public net

Destination/Mask Proto Pre Cost Nexthop Interface

1.1.1.0/24 DIRECT 0 0 1.1.1.1 Interface Serial1/0/0 1.1.1.1/32 DIRECT 0 0 127.0.0.1 InLoopBack0 2.2.2.0/24 DIRECT 0 0 2.2.2.1 Interface serial2/0/0

2.2.2.1/32 DIRECT 0 0 127.0.0.1 InLoopBack0 3.3.3.0/24 DIRECT 0 0 3.3.3.1 Interface ethernet1/0/0 3.3.3.1/32 DIRECT 0 0 127.0.0.1 InLoopBack0 4.4.4.0/24 DIRECT 0 0 4.4.4.1 Interface ethernet2/0/0 4.4.4.1/32 DIRECT 0 0 127.0.0.1 InLoopBack0 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

1.1.2 display ip routing-table acl

【命令】

display ip routing-table acl acl-number [ verbose ]

【视图】

所有视图

【参数】

acl-number:通过数字引用的基本访问控制列表的编号,取值范围为2000~2999。

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

【描述】

display ip routing-table acl命令用来查看通过指定基本访问控制列表过滤的路由。

此命令主要用于路由策略的跟踪显示,根据所输入的基本访问控制列表编号,显示通过该过滤规则的路由。

该命令只适用于查看通过基本访问控制列表过滤规则的路由。

【举例】

# 查看通过基本访问控制列表ACL 2001过滤的、处于active状态的路由的摘要信息。

display ip routing-table acl 2001 Routes matched by access-list 2001: