路由配置命令
路由配置命令
目录 目录 第1章RP配置命令 11RP配置命令 1.1.2 default-informatio 1.1.3 default-metric 1.1.4 ip rip authentication..... 1.1.5 ip rip message-digest-key.. 1.1.6 ip rip passive 1.7 ip rip password 1.1.8 Ip np receive version…… 1.1.9 ip rip ser 1.1.10 ip rip split-horizon 1.11 nei 1.1.12 network 1.1.13 offset 1.1.14 router 1.1.15 timers expire 1.1.16 timers holddown 1.1.17 timers update 1.1.18 validate-update-source 1.1.19 version 1.1.20 distance 1.1.21flt 1.1.22 maximum-count 1.1.23 show ip rip 1.1.24 show ip rip database 1.1.25 show ip rip protocol 24 1.1.26 debug ip rip database 25 1.1.27 debug ip rip protocol 第2章 BEIGRP配置命令 21 BEIGRP配置命令 2.1.1 auto-summary 2.1.2 clear ip beigrp neighbors 2.1.3 debug ip eigrp 2.1.4 debug ip eigrp fsm 2.1.5 debug ip eigrp neighbors... 2.1.6 debug ip eigrp packet 2.1.7 debug ip eigrp transmit 2.1. 8 default-metric 2.1.9 distance 2.1.10 filter
目录 目 录 第 1 章 RIP 配置命令...................................................................................................................................................... 1 1.1 RIP 配置命令...................................................................................................................................................... 1 1.1.1 auto-summary ........................................................................................................................................... 2 1.1.2 default-information originate...................................................................................................................... 3 1.1.3 default-metric............................................................................................................................................. 3 1.1.4 ip rip authentication ................................................................................................................................... 4 1.1.5 ip rip message-digest-key ......................................................................................................................... 5 1.1.6 ip rip passive ............................................................................................................................................. 6 1.1.7 ip rip password .......................................................................................................................................... 7 1.1.8 ip rip receive version ................................................................................................................................. 8 1.1.9 ip rip send version ..................................................................................................................................... 9 1.1.10 ip rip split-horizon .................................................................................................................................. 10 1.1.11 neighbor................................................................................................................................................. 11 1.1.12 network.................................................................................................................................................. 11 1.1.13 offset...................................................................................................................................................... 12 1.1.14 router rip................................................................................................................................................ 13 1.1.15 timers expire.......................................................................................................................................... 14 1.1.16 timers holddown .................................................................................................................................... 15 1.1.17 timers update......................................................................................................................................... 16 1.1.18 validate-update-source.......................................................................................................................... 17 1.1.19 version................................................................................................................................................... 18 1.1.20 distance................................................................................................................................................. 18 1.1.21 filter........................................................................................................................................................ 19 1.1.22 maximum-count..................................................................................................................................... 21 1.1.23 show ip rip ............................................................................................................................................. 22 1.1.24 show ip rip database ............................................................................................................................. 23 1.1.25 show ip rip protocol ............................................................................................................................... 24 1.1.26 debug ip rip database............................................................................................................................ 25 1.1.27 debug ip rip protocol.............................................................................................................................. 26 第 2 章 BEIGRP 配置命令 ............................................................................................................................................ 28 2.1 BEIGRP 配置命令............................................................................................................................................ 28 2.1.1 auto-summary ......................................................................................................................................... 29 2.1.2 clear ip beigrp neighbors......................................................................................................................... 30 2.1.3 debug ip beigrp........................................................................................................................................ 30 2.1.4 debug ip beigrp fsm................................................................................................................................. 31 2.1.5 debug ip beigrp neighbors....................................................................................................................... 32 2.1.6 debug ip beigrp packet............................................................................................................................ 33 2.1.7 debug ip beigrp transmit.......................................................................................................................... 34 2.1.8 default-metric........................................................................................................................................... 35 2.1.9 distance................................................................................................................................................... 36 2.1.10 filter........................................................................................................................................................ 37 - I -
目录 2.1.11 eigrp log-neighbor-chang 2.1.12 eigrp router-id 2.1.13 ip eigrp bandwidth-percent 2.1.14 ip eigrp hello-interval 39444 2.1.15 ip eigrp hold-time 2.1.16 ip eigrp passive… 2.1.17 ip eigrp split-horizon 2.1.18 ip eigrp summary-address 2.1.19 metric weights 2.1.20 network 2.1.21 offset 1.22 redistribute 2.1.23 router eigrp 2. 1.24 show ip eigrp interface 2. 1.25 show ip eigrp neighbors 2.1.26 show ip eigrp protocol 2.1.27 show ip eigrp topology... 2.1.28 show ip eigrp traffic 第3章OSPF配置命令 310SPF配置命令 3454890012455780 3.1.1 area authentication 3.1.2 area default-cost 3.1.3 area range 3.1.4 area stub 3.1.5 area virtual-link 3. 1.6 debug ip ospf adj 3.1.7 debug ip ospf events 3.1.8 debug ip ospf flood 3.1.9 debug ip ospf Isa-generation....... 3.1.10 debug ip ospf packet 3.1.11 debug ip ospf retransmission 78062466788023 3.1.12 debug ip ospf spf 3.1.13 debug ip ospf tree 3.1.14 default-information originate(OSPF) 3.1.15 default-metric… 3.1.16 distance ospf. 3. 1.17 filter 3.1.18 ip ospf cost 3.1.19 ip ospf dead-interval 3.1.20 ip ospf hello-interval 3. 1.21 ip ospf message-digest-key 789 3122 ip ospf network… 3. 1.23 ip ospf passive 3.1.24 ip ospf password . 3.1.25 ip ospf priority 3.1.26 ip ospf retransmit-interval 84
目录 2.1.11 beigrp log-neighbor-changes................................................................................................................. 39 2.1.12 beigrp router-id...................................................................................................................................... 39 2.1.13 ip beigrp bandwidth-percent.................................................................................................................. 40 2.1.14 ip beigrp hello-interval ........................................................................................................................... 40 2.1.15 ip beigrp hold-time................................................................................................................................. 41 2.1.16 ip beigrp passive ................................................................................................................................... 42 2.1.17 ip beigrp split-horizon ............................................................................................................................ 43 2.1.18 ip beigrp summary-address................................................................................................................... 43 2.1.19 metric weights ....................................................................................................................................... 44 2.1.20 network.................................................................................................................................................. 46 2.1.21 offset...................................................................................................................................................... 47 2.1.22 redistribute............................................................................................................................................. 48 2.1.23 router beigrp.......................................................................................................................................... 49 2.1.24 show ip beigrp interface ........................................................................................................................ 50 2.1.25 show ip beigrp neighbors ...................................................................................................................... 50 2.1.26 show ip beigrp protocol ......................................................................................................................... 51 2.1.27 show ip beigrp topology......................................................................................................................... 52 2.1.28 show ip beigrp traffic ............................................................................................................................. 54 第 3 章 OSPF 配置命令................................................................................................................................................ 56 3.1 OSPF 配置命令................................................................................................................................................ 56 3.1.1 area authentication.................................................................................................................................. 57 3.1.2 area default-cost...................................................................................................................................... 58 3.1.3 area range............................................................................................................................................... 60 3.1.4 area stub ................................................................................................................................................. 61 3.1.5 area virtual-link........................................................................................................................................ 62 3.1.6 debug ip ospf adj..................................................................................................................................... 64 3.1.7 debug ip ospf events ............................................................................................................................... 65 3.1.8 debug ip ospf flood.................................................................................................................................. 66 3.1.9 debug ip ospf lsa-generation................................................................................................................... 67 3.1.10 debug ip ospf packet ............................................................................................................................. 68 3.1.11 debug ip ospf retransmission................................................................................................................. 69 3.1.12 debug ip ospf spf................................................................................................................................... 70 3.1.13 debug ip ospf tree.................................................................................................................................. 72 3.1.14 default-information originate (OSPF)..................................................................................................... 73 3.1.15 default-metric......................................................................................................................................... 74 3.1.16 distance ospf ......................................................................................................................................... 74 3.1.17 filter........................................................................................................................................................ 76 3.1.18 ip ospf cost ............................................................................................................................................ 77 3.1.19 ip ospf dead-interval.............................................................................................................................. 77 3.1.20 ip ospf hello-interval .............................................................................................................................. 78 3.1.21 ip ospf message-digest-key................................................................................................................... 79 3.1.22 ip ospf network ...................................................................................................................................... 80 3.1.23 ip ospf passive....................................................................................................................................... 81 3.1.24 ip ospf password ................................................................................................................................... 82 3.1.25 ip ospf priority........................................................................................................................................ 83 3.1.26 ip ospf retransmit-interval...................................................................................................................... 84 - II -
目录 3.1.27 ip ospf transmit-delay 3. 1.28 neighbor 3.1.29 network area 3.1.30 redistribute 45888 3.1.31 router ospf 3.1.32 show ip ospf 89 3.1.33 show ip ospf border-routers 3.1.34 show ip ospf database 3.1. 35 show ip ospf interface..... 3. 1.36 show ip ospf neighbor 3.1.37 show ip ospf virtual-link 3.1.38 summary-address 3.1.39 timers delay 9346g890 第4章BGP配置命令… 4.1.1 aggregate-address 4.1.2 bgp always-compare 4.1.3 bgp bestpath med 4.1.4 bgp client-to-client reflection 4.1.5 bgp cluster-id 4.1.6 bgp confederation identifier 4.1.8 bgp dampening 4.1.9 bgp default. 110 4.1.10 bgp deterministic-med 4.1.11 bgp redistribute-internal 4.1.12 clear ip bgp... .113 4.1.13 debug chat. 4.1.14 debug dialer...... 4.1.15 debug ip bgp 4.1. 16 distance 4.1.17ftr 4.1.18 neighbor default-originate 4.1.19 neighbor description 4.1.20 neighbor distribute-list 4.1.21 neighbor ebgp-multihop 4.1.22 neighbor filter-list 4.1.23 neighbor maximum-prefix 126 4.1. 24 neighbor next-hop-self 4.1.25 neighbor prefix-list...... 4.1.26 neighbor remote-as 4.1.27 neighbor route-map 4.1.28 neighbor route-reflector-client 4.1.29 neighbor route-refresh 4.1.30 neighbor send-community 4.1.31 neighbor shutdown
目录 3.1.27 ip ospf transmit-delay ............................................................................................................................ 84 3.1.28 neighbor ................................................................................................................................................ 85 3.1.29 network area.......................................................................................................................................... 87 3.1.30 redistribute............................................................................................................................................. 87 3.1.31 router ospf ............................................................................................................................................. 88 3.1.32 show ip ospf .......................................................................................................................................... 89 3.1.33 show ip ospf border-routers................................................................................................................... 91 3.1.34 show ip ospf database........................................................................................................................... 91 3.1.35 show ip ospf interface............................................................................................................................ 93 3.1.36 show ip ospf neighbor ........................................................................................................................... 94 3.1.37 show ip ospf virtual-link ......................................................................................................................... 96 3.1.38 summary-address.................................................................................................................................. 97 3.1.39 timers delay........................................................................................................................................... 98 3.1.40 timers hold............................................................................................................................................. 99 第 4 章 BGP 配置命令 ................................................................................................................................................ 100 4.1.1 aggregate-address ................................................................................................................................ 101 4.1.2 bgp always-compare-med..................................................................................................................... 103 4.1.3 bgp bestpath med.................................................................................................................................. 104 4.1.4 bgp client-to-client reflection.................................................................................................................. 105 4.1.5 bgp cluster-id......................................................................................................................................... 106 4.1.6 bgp confederation identifier................................................................................................................... 107 4.1.7 bgp confederation peers........................................................................................................................ 108 4.1.8 bgp dampening...................................................................................................................................... 109 4.1.9 bgp default............................................................................................................................................. 110 4.1.10 bgp deterministic-med..........................................................................................................................111 4.1.11 bgp redistribute-internal....................................................................................................................... 112 4.1.12 clear ip bgp.......................................................................................................................................... 113 4.1.13 debug chat........................................................................................................................................... 114 4.1.14 debug dialer......................................................................................................................................... 115 4.1.15 debug ip bgp........................................................................................................................................ 116 4.1.16 distance............................................................................................................................................... 118 4.1.17 filter...................................................................................................................................................... 119 4.1.18 neighbor default-originate.................................................................................................................... 120 4.1.19 neighbor description............................................................................................................................ 121 4.1.20 neighbor distribute-list ......................................................................................................................... 122 4.1.21 neighbor ebgp-multihop....................................................................................................................... 123 4.1.22 neighbor filter-list................................................................................................................................. 124 4.1.23 neighbor maximum-prefix.................................................................................................................... 126 4.1.24 neighbor next-hop-self......................................................................................................................... 127 4.1.25 neighbor prefix-list............................................................................................................................... 128 4.1.26 neighbor remote-as ............................................................................................................................. 129 4.1.27 neighbor route-map............................................................................................................................. 130 4.1.28 neighbor route-reflector-client ............................................................................................................. 132 4.1.29 neighbor route-refresh......................................................................................................................... 133 4.1.30 neighbor send-community................................................................................................................... 134 4.1.31 neighbor shutdown.............................................................................................................................. 135 - III -
目录 4.1.32 neighbor soft-reconfiguration 4. 1.33 neighbor timers 4.1.34 neighbor update-source 4.1.35 neighbor weight 4.1.36 network(BGP) 4.1.37 redistribute(BGP) 4.1.38 router bgp 4.1.39 show ip bgp 4.1.40 show ip bgp community 4.1. 41 show ip bgp neighbors 4.1.42 show ip bgp paths 4.1.43 show ip bgp prefix-list... 4.1.44 show ip bgp regexp 4.1. 45 show ip bgp summary 4.1.46 synchronization 4.1.47 table-map 4.148 timers 第5章路由公共配置命令… 51 ip aspath-list配置命令 5.1.1 ip as-path access-li 5.1.2 show ip aspath -list.. 52 p community-s配置命令 5.2.2 show ip communiyy-list.. 5.2.1 ip community-list. 53pefx-st命令 5.3.1 clear ip prefix-list 5.3.2 ip prefix-list 5.3.3 ip prefix -list description 161 5.3. 4 ip prefix -list sequence-number 5.3.5 show ip prefix-list 54 route-map命令 5.4.1 route-map 5.4.2 match as-path 5. 4.3 match community 5. 4.5 match ip next-hop 5.4.6 match ip address prefix-list. 173 5.4.7 match length 5.4.8 match metric 5.4.9 match tag 5.4.10 on-match aggregator 5.4.12 set as-pat 5. 4. 13 set atomic-aggregate 5.4.14 set community 5. 4.15 set community-additive
目录 4.1.32 neighbor soft-reconfiguration............................................................................................................... 136 4.1.33 neighbor timers.................................................................................................................................... 137 4.1.34 neighbor update-source ...................................................................................................................... 138 4.1.35 neighbor weight................................................................................................................................... 139 4.1.36 network (BGP)..................................................................................................................................... 140 4.1.37 redistribute(BGP).......................................................................................................................... 141 4.1.38 router bgp............................................................................................................................................ 142 4.1.39 show ip bgp ......................................................................................................................................... 143 4.1.40 show ip bgp community....................................................................................................................... 145 4.1.41 show ip bgp neighbors ........................................................................................................................ 145 4.1.42 show ip bgp paths ............................................................................................................................... 146 4.1.43 show ip bgp prefix-list.......................................................................................................................... 147 4.1.44 show ip bgp regexp ............................................................................................................................. 148 4.1.45 show ip bgp summary ......................................................................................................................... 149 4.1.46 synchronization ................................................................................................................................... 150 4.1.47 table-map ............................................................................................................................................ 151 4.1.48 timers................................................................................................................................................... 151 第 5 章 路由公共配置命令 ....................................................................................................................................... 153 5.1 ip aspath-list 配置命令.................................................................................................................................... 153 5.1.1 ip as-path access-list............................................................................................................................. 153 5.1.2 show ip aspath-list................................................................................................................................. 155 5.2 ip community-lis 配置命令.............................................................................................................................. 156 5.2.1 ip community-list.................................................................................................................................... 156 5.2.2 show ip community-list .......................................................................................................................... 157 5.3 ip prefix-list 命令 .............................................................................................................................................. 158 5.3.1 clear ip prefix-list ................................................................................................................................... 158 5.3.2 ip prefix-list ............................................................................................................................................ 159 5.3.3 ip prefix-list description.......................................................................................................................... 161 5.3.4 ip prefix-list sequence-number .............................................................................................................. 162 5.3.5 show ip prefix-list................................................................................................................................... 163 5.4 route-map 命令................................................................................................................................................ 164 5.4.1 route-map.............................................................................................................................................. 164 5.4.2 match as-path........................................................................................................................................ 167 5.4.3 match community .................................................................................................................................. 168 5.4.4 match ip address................................................................................................................................... 170 5.4.5 match ip next-hop.................................................................................................................................. 171 5.4.6 match ip address prefix-list.................................................................................................................... 173 5.4.7 match length.......................................................................................................................................... 175 5.4.8 match metric.......................................................................................................................................... 175 5.4.9 match tag............................................................................................................................................... 177 5.4.10 on-match ............................................................................................................................................. 178 5.4.11 set aggregator ..................................................................................................................................... 180 5.4.12 set as-path........................................................................................................................................... 181 5.4.13 set atomic-aggregate........................................................................................................................... 183 5.4.14 set community ..................................................................................................................................... 184 5.4.15 set community-additive........................................................................................................................ 186 - IV -