路由配置命令
路由配置命令
目录 目录 第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 -
目录 5.4.16 set dampening 5. 4.17 set default 5. 4.18 set interface 5.4.19 set ip default 5. 4.20 set ip precedence 5. 4.21 set ip tos 5.4.22 set ip next-hop 5.4.23 set local-preference 5.4.24 set metric 5. 4.25 set origin 5.4.26 set tag 5427 set weight… 5.4.28 show route-map 第6章RSVP协议配置命令 6.1.1 debug ip rsvp local 204 6.1.2 debug ip rsvp packet 6.1.3 ip rsv 6.1.4 ip rsvp local reservation 6.1.5 ip rsvp local sender 6.1.6 ip rsvp local session 6.17 p rsvp neighbor.… 6.1.8 6.1.9 22114 6.1.10 show ip rsvp installed.. 6.1.11 show ip rsvp interface. 215 6.1.12 show ip rsvp local 6.1.13 show ip rsvp neighbor 6.1.14 6.1.15 show ip rsvp reservation 6.1.16 show ip rsvp sender 6.1.17 show ip rsvp tos... 第7章策略路由PBR配置命令. 7.1PBR配置命令 224 7.1.1 debug ip policy 224 7.1.2 ip policy route-map 7.1.3 match ip address 7.1.4 match length 7.1.5 set default interface 7.1.6 set interface 7.1.7 set ip default next-hop 7.1.8 set ip next-hop 7.1.9 route-map 7.1.10 debug ip policy ..... 7.1.11 ip local policy 7.1. 12 ip policy 7.1.13 show ip local policy
目录 5.4.16 set dampening..................................................................................................................................... 188 5.4.17 set default............................................................................................................................................ 189 5.4.18 set interface......................................................................................................................................... 190 5.4.19 set ip default........................................................................................................................................ 190 5.4.20 set ip precedence................................................................................................................................ 191 5.4.21 set ip tos.............................................................................................................................................. 192 5.4.22 set ip next-hop..................................................................................................................................... 193 5.4.23 set local-preference............................................................................................................................. 195 5.4.24 set metric............................................................................................................................................. 196 5.4.25 set origin.............................................................................................................................................. 198 5.4.26 set tag.................................................................................................................................................. 199 5.4.27 set weight ............................................................................................................................................ 201 5.4.28 show route-map................................................................................................................................... 202 第 6 章 RSVP 协议配置命令 ..................................................................................................................................... 204 6.1.1 debug ip rsvp local ................................................................................................................................ 204 6.1.2 debug ip rsvp packet ............................................................................................................................. 205 6.1.3 ip rsvp bandwidth .................................................................................................................................. 207 6.1.4 ip rsvp local reservation......................................................................................................................... 208 6.1.5 ip rsvp local sender ............................................................................................................................... 209 6.1.6 ip rsvp local session .............................................................................................................................. 210 6.1.7 ip rsvp neighbor..................................................................................................................................... 211 6.1.8 ip rsvp precedence................................................................................................................................ 212 6.1.9 ip rsvp tos.............................................................................................................................................. 213 6.1.10 show ip rsvp installed .......................................................................................................................... 214 6.1.11 show ip rsvp interface.......................................................................................................................... 215 6.1.12 show ip rsvp local................................................................................................................................ 216 6.1.13 show ip rsvp neighbor ......................................................................................................................... 217 6.1.14 show ip rsvp precedence..................................................................................................................... 218 6.1.15 show ip rsvp reservation...................................................................................................................... 220 6.1.16 show ip rsvp sender ............................................................................................................................ 221 6.1.17 show ip rsvp tos................................................................................................................................... 222 第 7 章 策略路由 PBR 配置命令.............................................................................................................................. 224 7.1 PBR 配置命令 ................................................................................................................................................ 224 7.1.1 debug ip policy ...................................................................................................................................... 224 7.1.2 ip policy route-map................................................................................................................................ 225 7.1.3 match ip address................................................................................................................................... 226 7.1.4 match length.......................................................................................................................................... 227 7.1.5 set default interface............................................................................................................................... 228 7.1.6 set interface........................................................................................................................................... 229 7.1.7 set ip default next-hop........................................................................................................................... 230 7.1.8 set ip next-hop....................................................................................................................................... 231 7.1.9 route-map.............................................................................................................................................. 232 7.1.10 debug ip policy .................................................................................................................................... 233 7.1.11 ip local policy ....................................................................................................................................... 234 7.1.12 ip policy ............................................................................................................................................... 236 7.1.13 show ip local policy.............................................................................................................................. 237 - V -
目录 7.1.14 show ip policy 第8章DNS配置命令 81DNS配置命令 8.1.1 ip domain lookup 8.1.2 ip domain name-server 8.1.3 ip domain name 8.1. 4 ip domain list 8.1.5 ip host.. 8.1.6 ip domain retry 8.1.7 ip domain timeout 244 8.1.8 clear ip host 244 8.1.9 ip domain primary-server 245 8.1.10 ip domain dynamic enable 8.1.11 ip domain dynamic period 8.1.12 ip domain bind 8.1. 13 show ip host 8.1.14 debug ip domain 第9章路由管理配置命令 9.1路由管理配置命令 250 9.1.1 distance 250 9.1.2 filter in 9.1.3 filter out 253 9.1.4 redistribute
目录 7.1.14 show ip policy...................................................................................................................................... 238 第 8 章 DNS 配置命令 ................................................................................................................................................ 239 8.1 DNS 配置命令 ................................................................................................................................................ 239 8.1.1 ip domain lookup ................................................................................................................................... 239 8.1.2 ip domain name-server.......................................................................................................................... 240 8.1.3 ip domain name..................................................................................................................................... 241 8.1.4 ip domain list ......................................................................................................................................... 241 8.1.5 ip host.................................................................................................................................................... 242 8.1.6 ip domain retry....................................................................................................................................... 243 8.1.7 ip domain timeout.................................................................................................................................. 244 8.1.8 clear ip host........................................................................................................................................... 244 8.1.9 ip domain primary-server....................................................................................................................... 245 8.1.10 ip domain dynamic enable................................................................................................................... 246 8.1.11 ip domain dynamic period.................................................................................................................... 246 8.1.12 ip domain bind..................................................................................................................................... 247 8.1.13 show ip host ........................................................................................................................................ 248 8.1.14 debug ip domain.................................................................................................................................. 249 第 9 章 路由管理配置命令 ....................................................................................................................................... 250 9.1 路由管理配置命令...................................................................................................................................... 250 9.1.1 distance................................................................................................................................................. 250 9.1.2 filter in.................................................................................................................................................... 251 9.1.3 filter out.................................................................................................................................................. 253 9.1.4 redistribute............................................................................................................................................. 254 - VI -
05-路由协议配置命令 第1章RP配置命令 1.1RP配置命令 R|P配置命令包括: auto-summary default-information originate default-metric ip rip authentication e ip rip message-digest-key Ip rip passive ip rip password ● ip rip receive version ip rip send version ip rip split-horizon neighbor ● network offset ● timers expire timers holddown timers update validate-update-source version distance filter maximum-count show ip rip
05-路由协议配置命令 第1章 RIP 配置命令 1.1 RIP配置命令 RIP 配置命令包括: z auto-summary z default-information originate z default-metric z ip rip authentication z ip rip message-digest-key z ip rip passive z ip rip password z ip rip receive version z ip rip send version z ip rip split-horizon z neighbor z network z offset z router rip z timers expire z timers holddown z timers update z validate-update-source z version z distance z filter z maximum-count z show ip rip - 1 -
05-路由协议配置命令 show ip rip database ● show ip rip protocol debug ip rip database ● debug ip rip protocol 1.1.1 auto-summary 使用auto- summary命令激活自动路由汇总功能, no auto-summary命令则关闭自动路由 汇总功能。 auto-summary no auto-summary 参数 该命令无参数或关键词。 缺省 有效,缺省状态是使用自动路由汇总功能 命令模式 路由配置态 使用说明 路由汇总减少了在路由表中的路由信息量,也减少了交换信息量。R|P-1不支持子网掩码, 如果转发子网路由有可能会引起歧义。所以,RIP-1始终启用路由汇总功能。如果使用 R|P2,可以通过 no auto- summary命令关闭路由汇总功能。当你需要将子网路由广播出 去时,可以关闭路由汇总功能 示例 将接口 Serial1/0上R|P版本设为RP-2并关闭路由汇总功能 router rip version 2 no auto-summary 相关命令 version
05-路由协议配置命令 z show ip rip database z show ip rip protocol z debug ip rip database z debug ip rip protocol 1.1.1 auto-summary 使用 auto-summary 命令激活自动路由汇总功能,no auto-summary 命令则关闭自动路由 汇总功能。 auto-summary no auto-summary 参数 该命令无参数或关键词。 缺省 有效,缺省状态是使用自动路由汇总功能。 命令模式 路由配置态 使用说明 路由汇总减少了在路由表中的路由信息量,也减少了交换信息量。RIP-1 不支持子网掩码, 如果转发子网路由有可能会引起歧义。所以,RIP-1 始终启用路由汇总功能。如果使用 RIP-2,可以通过 no auto-summary 命令关闭路由汇总功能。当你需要将子网路由广播出 去时,可以关闭路由 汇总功能。 示例 将接口 Serial1/0 上 RIP 版本设为 RIP-2 并关闭路由汇总功能: router rip version 2 no auto-summary 相关命令 version - 2 -
05-路由协议配置命令 1.1.2 default-information originate 使用 default-information originate命令产生一条缺省路由, no default-information originate则关闭这项功能 default -information originate no default-information originate 参数 无 缺省 缺省状态是关闭这项功能 命令模式 路由配置态 使用说明 default-information originate激活后,在发送路由更新时,携带0.0.0.0/0路由信息。 示例 当发送路由更新信息时,携带一条缺省路由(0.0.0.0/0) version 2 network17268.16.0 default-information originate 1.1.3 default-metric 设定导入路由的缺省路由代价, no default-metric恢复缺省设置。 default-metric number no default-metric 参数 参数 参数说明
05-路由协议配置命令 1.1.2 default-information originate 使用 default-information originate 命令产生一条缺省路由,no default-information originate 则关闭这项功能。 default-information originate no default-information originate 参数 无 缺省 缺省状态是关闭这项功能。 命令模式 路由配置态 使用说明 default-information originate 激活后,在发送路由更新时,携带 0.0.0.0/0 路由信息。 示例 当发送路由更新信息时,携带一条缺省路由(0.0.0.0/0)。 router rip version 2 network 172.68.16.0 default-information originate 1.1.3 default-metric 设定导入路由的缺省路由代价,no default-metric 恢复缺省设置。 default-metric number no default-metric 参数 参数 参数说明 - 3 -