AR18系列路由器静态路由配置命令说明材料.doc

上传人:小** 文档编号:4542558 上传时间:2021-09-28 格式:DOC 页数:252 大小:1.88MB
返回 下载 相关 举报
AR18系列路由器静态路由配置命令说明材料.doc_第1页
第1页 / 共252页
AR18系列路由器静态路由配置命令说明材料.doc_第2页
第2页 / 共252页
点击查看更多>>
资源描述

《AR18系列路由器静态路由配置命令说明材料.doc》由会员分享,可在线阅读,更多相关《AR18系列路由器静态路由配置命令说明材料.doc(252页珍藏版)》请在得力文库 - 分享文档赚钱的网站上搜索。

1、,静态路由配置命令目 录第1章 静态路由配置命令. 1-11.1 路由表的显示命令. 1-11.1.1 display ip routing-table. 1-11.1.2 display ip routing-table acl 1-21.1.3 display ip routing-table ip-address. 1-31.1.4 display ip routing-table ip-address1 ip-address2. 1-51.1.5 display ip routing-table ip-prefix. 1-61.1.6 display ip routing-table

2、protocol 1-81.1.7 display ip routing-table radix. 1-91.1.8 display ip routing-table statistics. 1-101.1.9 display ip routing-table verbose. 1-101.1.10 display ip routing-table vpn-instance. 1-121.1.11 reset ip routing-table. 1-131.2 静态路由配置命令. 1-141.2.1 delete static-routes all 1-141.2.2 ip route-sta

3、tic. 1-141.3 基于带宽的非平衡负载分担命令. 1-171.3.1 band-based-sharing. 1-171.3.2 display loadsharing ip address. 1-171.3.3 loadbandwidth. 1-181.3.4 reset loadsharing. 1-19第2章 RIP配置命令. 2-12.1 RIP配置命令. 2-12.1.1 checkzero. 2-12.1.2 debugging rip. 2-22.1.3 default cost 2-22.1.4 display rip. 2-32.1.5 display rip int

4、erface. 2-42.1.6 display rip routing. 2-52.1.7 display rip vpn-instance. 2-62.1.8 filter-policy export 2-62.1.9 filter-policy import 2-72.1.10 host-route. 2-82.1.11 import-route. 2-92.1.12 ipv4-family vpn-instance. 2-102.1.13 network. 2-102.1.14 peer 2-112.1.15 preference. 2-122.1.16 reset 2-122.1.1

5、7 rip. 2-132.1.18 rip authentication-mode. 2-142.1.19 rip input 2-152.1.20 rip metricin. 2-152.1.21 rip metricout 2-162.1.22 rip output 2-172.1.23 rip split-horizon. 2-172.1.24 rip triggered. 2-182.1.25 rip version. 2-192.1.26 rip work. 2-202.1.27 summary. 2-202.1.28 timers. 2-212.1.29 traffic-share

6、-across-interface. 2-222.1.30 validate-source-address. 2-23第3章 OSPF配置命令. 3-13.1 OSPF配置命令. 3-13.1.1 abr-summary. 3-13.1.2 area. 3-23.1.3 asbr-summary. 3-23.1.4 authentication-mode. 3-33.1.5 debugging ospf 3-43.1.6 default cost 3-53.1.7 default interval 3-63.1.8 default limit 3-63.1.9 default tag. 3-7

7、3.1.10 default type. 3-73.1.11 default-cost 3-83.1.12 default-route-advertise. 3-93.1.13 display debugging ospf 3-103.1.14 display ospf abr-asbr 3-113.1.15 display ospf asbr-summary. 3-113.1.16 display ospf brief 3-133.1.17 display ospf cumulative. 3-143.1.18 display ospf error 3-163.1.19 display os

8、pf interface. 3-183.1.20 display ospf lsdb. 3-193.1.21 display ospf nexthop. 3-223.1.22 display ospf peer 3-233.1.23 display ospf request-queue. 3-253.1.24 display ospf retrans-queue. 3-263.1.25 display ospf routing. 3-273.1.26 display ospf vlink. 3-283.1.27 display ospf memory. 3-293.1.28 filter-po

9、licy export 3-303.1.29 filter-policy import 3-313.1.30 import-route. 3-323.1.31 log-peer-change. 3-333.1.32 multi-path-number 3-343.1.33 network. 3-343.1.34 nssa. 3-353.1.35 opaque-capbility. 3-363.1.36 ospf 3-373.1.37 ospf authentication-mode. 3-383.1.38 ospf cost 3-393.1.39 ospf dr-priority. 3-393

10、.1.40 ospf mib-binding. 3-403.1.41 ospf mtu-enable. 3-403.1.42 ospf network-type. 3-413.1.43 ospf timer dead. 3-423.1.44 ospf timer hello. 3-433.1.45 ospf timer poll 3-443.1.46 ospf timer retransmit 3-443.1.47 ospf trans-delay. 3-453.1.48 peer 3-463.1.49 preference. 3-463.1.50 reset ospf 3-473.1.51

11、router id. 3-483.1.52 silent-interface. 3-493.1.53 snmp-agent trap enable ospf 3-503.1.54 spf-schedule-interval 3-513.1.55 stub. 3-523.1.56 vlink-peer 3-52第4章 集成化IS-IS配置命令. 4-14.1 集成化IS-IS配置命令. 4-14.1.1 area-authentication-mode. 4-14.1.2 cost-style. 4-24.1.3 debugging isis. 4-34.1.4 default-route-ad

12、vertise. 4-44.1.5 display isis brief 4-54.1.6 display isis interface. 4-54.1.7 display isis lsdb. 4-64.1.8 display isis mesh-group. 4-74.1.9 display isis peer 4-74.1.10 display isis routing. 4-84.1.11 display isis spf-log. 4-94.1.12 domain-authentication-mode. 4-104.1.13 filter-policy export 4-114.1

13、.14 filter-policy import 4-124.1.15 ignore-lsp-checksum-error 4-124.1.16 import-route. 4-134.1.17 import-route isis. 4-144.1.18 isis. 4-154.1.19 isis authentication-mode. 4-164.1.20 isis circuit-level 4-174.1.21 isis cost 4-184.1.22 isis dis-priority. 4-184.1.23 isis enable. 4-194.1.24 isis mesh-gro

14、up. 4-204.1.25 isis small-hello. 4-214.1.26 isis timer csnp. 4-214.1.27 isis timer hello. 4-224.1.28 isis timer holding-multiplier 4-234.1.29 isis timer lsp. 4-244.1.30 isis timer retransmit 4-244.1.31 is-level 4-254.1.32 log-peer-change. 4-264.1.33 md5-compatible. 4-274.1.34 network-entity. 4-274.1

15、.35 preference. 4-284.1.36 reset isis all 4-294.1.37 reset isis peer 4-294.1.38 set-overload. 4-304.1.39 silent-interface. 4-304.1.40 spf-delay-interval 4-314.1.41 spf-slice-size. 4-324.1.42 summary. 4-334.1.43 timer lsp-max-age. 4-334.1.44 timer lsp-refresh. 4-344.1.45 timer spf 4-35第5章 BGP配置命令. 5-

16、15.1 BGP配置命令. 5-15.1.1 aggregate. 5-15.1.2 balance. 5-25.1.3 bgp. 5-35.1.4 compare-different-as-med. 5-35.1.5 confederation id. 5-45.1.6 confederation nonstandard. 5-55.1.7 confederation peer-as. 5-65.1.8 dampening. 5-65.1.9 debugging bgp. 5-75.1.10 default-route imported. 5-85.1.11 default local-pr

17、eference. 5-95.1.12 default med. 5-105.1.13 display bgp group. 5-105.1.14 display bgp network. 5-115.1.15 display bgp paths. 5-125.1.16 display bgp peer 5-135.1.17 display bgp routing. 5-155.1.18 display bgp routing as-path-acl 5-175.1.19 display bgp routing cidr 5-195.1.20 display bgp routing commu

18、nity. 5-195.1.21 display bgp routing community-list 5-205.1.22 display bgp routing dampened. 5-215.1.23 display bgp routing different-origin-as. 5-225.1.24 display bgp routing flap-info. 5-235.1.25 display bgp routing peer 5-255.1.26 display bgp routing peer dampened. 5-265.1.27 display bgp routing

19、peer regular-expression. 5-275.1.28 display bgp routing regular-expression. 5-285.1.29 display bgp routing statistic. 5-295.1.30 filter-policy export 5-305.1.31 filter-policy import 5-305.1.32 group. 5-315.1.33 import-route. 5-325.1.34 ip as-path-acl 5-335.1.35 ip community-list 5-345.1.36 log-peer-

20、change. 5-355.1.37 network. 5-355.1.38 peer advertise-community. 5-365.1.39 peer allow-as-loop. 5-375.1.40 peer as-number 5-375.1.41 peer as-path-acl 5-385.1.42 peer connect-interface. 5-395.1.43 peer default-route-advertise. 5-405.1.44 peer description. 5-405.1.45 peer ebgp-max-hop. 5-415.1.46 peer

21、 enable. 5-415.1.47 peer filter-policy. 5-435.1.48 peer group. 5-445.1.49 peer ip-prefix. 5-455.1.50 peer next-hop-local 5-455.1.51 peer password. 5-465.1.52 peer public-as-only. 5-475.1.53 peer reflect-client 5-485.1.54 peer route-policy. 5-485.1.55 peer route-update-interval 5-495.1.56 peer shutdo

22、wn. 5-505.1.57 peer timer 5-505.1.58 preference. 5-515.1.59 reflect between-clients. 5-525.1.60 reflector cluster-id. 5-525.1.61 refresh bgp. 5-535.1.62 reset bgp. 5-545.1.63 reset bgp flap-info. 5-555.1.64 reset bgp group. 5-555.1.65 reset dampening. 5-565.1.66 summary. 5-565.1.67 timer keep-alive

23、hold. 5-575.1.68 undo synchronization. 5-575.2 MBGP配置命令. 5-585.2.1 ipv4-family. 5-585.2.2 ipv4-family vpnv4. 5-59第6章 IP路由策略配置命令. 6-16.1 IP路由策略配置命令. 6-16.1.1 apply as-path. 6-16.1.2 apply community. 6-16.1.3 apply cost 6-26.1.4 apply cost-type. 6-36.1.5 apply ip-address. 6-36.1.6 apply isis. 6-46.1.7

24、 apply local-preference. 6-56.1.8 apply origin. 6-56.1.9 apply tag. 6-66.1.10 display ip ip-prefix. 6-76.1.11 display route-policy. 6-76.1.12 filter-policy export 6-86.1.13 filter-policy import 6-96.1.14 if-match acl 6-106.1.15 if-match as-path. 6-106.1.16 if-match community. 6-116.1.17 if-match cos

25、t 6-126.1.18 if-match interface. 6-136.1.19 if-match ip next-hop. 6-136.1.20 if-match ip-prefix. 6-146.1.21 if-match tag. 6-156.1.22 ip ip-prefix. 6-156.1.23 route-policy. 6-17第7章 路由容量配置命令. 7-17.1 路由容量配置命令. 7-17.1.1 display memory. 7-17.1.2 memory auto-establish disable. 7-27.1.3 memory auto-establi

26、sh enable. 7-37.1.4 memory. 7-3第1章 静态路由配置命令& 说明:本章中有关VPN实例的参数解释及举例,请参见本手册的“MPLS”模块。1.1 路由表的显示命令1.1.1 display ip routing-table【命令】display ip routing-table【视图】所有视图【参数】无【描述】display ip routing-table命令用来查看路由表的摘要信息。该命令以摘要形式显示路由表信息,每一行代表一条路由,内容包括:目的地址/掩码长度、协议、优先级、度量值、下一跳、输出接口。使用display ip routing-table命令仅能

27、查看到当前被使用的路由,即最佳路由。【举例】# 查看当前路由表的摘要信息。 display ip routing-tableRouting Table: public netDestination/Mask Proto Pre Cost Nexthop Interface1.1.1.0/24 DIRECT 0 0 1.1.1.1 Interface Serial1/0/01.1.1.1/32 DIRECT 0 0 127.0.0.1 InLoopBack02.2.2.0/24 DIRECT 0 0 2.2.2.1 Interface serial2/0/02.2.2.1/32 DIRECT 0

28、 0 127.0.0.1 InLoopBack03.3.3.0/24 DIRECT 0 0 3.3.3.1 Interface ethernet1/0/03.3.3.1/32 DIRECT 0 0 127.0.0.1 InLoopBack04.4.4.0/24 DIRECT 0 0 4.4.4.1 Interface ethernet2/0/04.4.4.1/32 DIRECT 0 0 127.0.0.1 InLoopBack0127.0.0.0/8 DIRECT 0 0 127.0.0.1 InLoopBack0127.0.0.1/32 DIRECT 0 0 127.0.0.1 InLoop

29、Back01.1.2 display ip routing-table acl【命令】display ip routing-table acl acl-number verbose 【视图】所有视图【参数】acl-number:通过数字引用的基本访问控制列表的编号,取值范围为20002999。verbose:当使用该参数时,显示通过过滤规则的、处于active状态和inactive状态的路由的详细信息。如果不使用该参数,将只显示通过过滤规则,且处于active状态的路由的摘要信息。【描述】display ip routing-table acl命令用来查看通过指定基本访问控制列表过滤的路由。此

30、命令主要用于路由策略的跟踪显示,根据所输入的基本访问控制列表编号,显示通过该过滤规则的路由。该命令只适用于查看通过基本访问控制列表过滤规则的路由。【举例】# 查看通过基本访问控制列表ACL 2001过滤的、处于active状态的路由的摘要信息。 display ip routing-table acl 2001Routes matched by access-list 2001:Summary count: 4Destination/Mask Proto Pre Cost Nexthop Interface127.0.0.0/8 Direct 0 0 127.0.0.1 InLoopBack0

31、127.0.0.1/32 Direct 0 0 127.0.0.1 InLoopBack0169.0.0.0/8 Static 60 0 2.1.1.1 LoopBack1169.0.0.0/15 Static 60 0 2.1.1.1 LoopBack1# 查看通过基本访问控制列表ACL2001过滤的active和inactive的路由的详细信息。 display ip routing-table acl 2001 verboseRoutes matched by access-list 2001:Generate Default: no+ = Active Route, - = Last

32、Active, # = Both * = Next hop in useSummary count:5*Destination: 127.0.0.0 Mask: 255.0.0.0Protocol: #Direct Preference: 0*NextHop: 127.0.0.1 Interface: 127.0.0.1(InLoopBack0)Vlinkindex: 0State: Age: 3:47 Metric: 0/0*Destination: 127.0.0.1 Mask: 255. 255. 255. 255Protocol: #Direct Preference: 0*NextH

33、op: 127.0.0.1 Interface: 127.0.0.1(InLoopBack0)Vlinkindex: 0State: Age: 3:47 Metric: 0/0*Destination: 179.0.0.0 Mask: 255.0.0.0Protocol: #Static Preference: 60*NextHop: 4.1.1.1Vlinkindex: 0State: Age: 3:47 Metric: 0/0*Destination: 169.0.0.0 Mask: 255.0.0.0Protocol: #Static Preference: 60*NextHop: 2.

34、1.1.1 Interface: 2.1.1.1(LoopBack1)Vlinkindex: 0State: Age: 3:47 Metric: 0/0*Destination: 169.0.0.0 Mask: 255.254.0.0Protocol: #Static Preference: 60*NextHop: 2.1.1.1 Interface: 2.1.1.1(LoopBack1)Vlinkindex: 0State: Age: 3:47 Metric: 0/01.1.3 display ip routing-table ip-address【命令】display ip routing

35、-table ip-address mask longer-match verbose 【视图】所有视图【参数】ip-address:目的IP地址,点分十进制格式。mask:IP地址掩码,点分十进制格式或以整数形式表示的长度,当用整数时,取值范围为032。longer-match:自然掩码范围内匹配的所有目的地址路由。verbose:当使用该参数时,显示处于active状态和inactive状态的路由的详细信息。如果不使用该参数,将只显示处于active状态的路由的摘要信息。【描述】display ip routing-table ip-address命令用来查看指定目的地址的路由信息。使用不

36、同的可选参数,命令的输出也不相同,以下是对该命令不同形式的输出说明:l display ip routing-table ip-address如果目的地址ip-address在自然掩码范围内有相应的路由,则将显示其全部子网路由,否则只显示与目的地址ip-address最长匹配的路由。只显示处于active状态的匹配路由。l display ip routing-table ip-address mask只显示与指定目的地址及掩码精确匹配的路由。l display ip routing-table ip-address longer-match显示目的地址在自然掩码范围内匹配的所有目的地址路由。

37、【举例】# 在自然掩码范围内有相应路由,查看摘要信息。 display ip routing-table 169.0.0.0Routing Tables:Summary count:1Destination/Mask Proto Pre Cost Nexthop Interface169.0.0.0/16 Static 60 0 2.1.1.1 LoopBack1# 在自然掩码范围内没有相应的路由(只显示最长匹配的路由),查看摘要信息。 display ip routing-table 169.253.0.0Routing Tables: Summary count:1Destination/

38、Mask Proto Pre Cost Nexthop Interface169.0.0.0/8 Static 60 0 2.1.1.1 LoopBack1# 在自然掩码范围内有相应路由,查看详细信息。 display ip routing-table 169.0.0.0 verboseRouting Tables:Generate Default: no+ = Active Route, - = Last Active, # = Both * = Next hop in useSummary count:2*Destination: 169.0.0.0 Mask: 255.0.0.0Prot

39、ocol: #Static Preference: 60*NextHop: 2.1.1.1 Interface: 2.1.1.1(LoopBack1)Vlinkindex: 0State: Age: 3:47 Metric: 0/0*Destination: 169.0.0.0 Mask: 255.254.0.0Protocol: #Static Preference: 60*NextHop: 2.1.1.1 Interface: 2.1.1.1(LoopBack1)Vlinkindex: 0State: Age: 3:47 Metric: 0/0# 在自然掩码范围内没有相应的路由(只显示最长

40、匹配的路由),查看详细信息。 display ip routing-table 169.253.0.0 verboseRouting Tables:Generate Default: no+ = Active Route, - = Last Active, # = Both * = Next hop in useSummary count:1*Destination: 169.0.0.0 Mask: 255.0.0.0Protocol: #Static Preference: -60*NextHop: 2.1.1.1Vlinkindex: 0State: Age: 3:47 Metric: 0

41、/01.1.4 display ip routing-table ip-address1 ip-address2【命令】display ip routing-table ip-address1 mask1 ip-address2 mask2 verbose 【视图】所有视图【参数】ip-address1、ip-address2:目的IP地址,点分十进制格式。ip-address1和ip-address2共同确定一个地址范围,显示该地址范围内的路由。mask1、mask2:IP地址掩码,点分十进制格式或以整数形式表示的长度。verbose:当使用该参数时,显示处于active状态和inactiv

42、e状态的路由的详细信息。如果不使用该参数,将只显示处于active状态的路由的摘要信息。【描述】display ip routing-table ip-address1 ip-address2命令用来查看指定目的地址范围内的路由信息。【举例】# 查看目的地址从1.1.1.0到2.2.2.0范围内的路由信息。 display ip routing-table 1.1.1.0 24 2.2.2.0 24Routing tables: Summary count: 3Destination/Mask Proto Pre Cost Nexthop Interface1.1.1.0/24 DIRECT

43、0 0 1.1.1.1 Interface serial1/0/01.1.1.1/32 DIRECT 0 0 127.0.0.1 InLoopBack02.2.2.0/24 DIRECT 0 0 2.2.2.1 Interface serial2/0/01.1.5 display ip routing-table ip-prefix【命令】display ip routing-table ip-prefix ip-prefix-name verbose 【视图】所有视图【参数】ip-prefix-name:前缀列表名称。verbose:当使用该参数时,显示通过过滤规则的、处于active状态和inactive状态的路由的详细信息。如果不使用该参数,将只显示通过过滤规则且处于active状态的路由的摘要信息。【描述】display ip routing-table ip-prefix命令用来查看通过指定前缀列表过滤的路由

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 教育专区 > 教案示例

本站为文档C TO C交易模式,本站只提供存储空间、用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。本站仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知得利文库网,我们立即给予删除!客服QQ:136780468 微信:18945177775 电话:18904686070

工信部备案号:黑ICP备15003705号-8 |  经营许可证:黑B2-20190332号 |   黑公网安备:91230400333293403D

© 2020-2023 www.deliwenku.com 得利文库. All Rights Reserved 黑龙江转换宝科技有限公司 

黑龙江省互联网违法和不良信息举报
举报电话:0468-3380021 邮箱:hgswwxb@163.com