其它文章
如何建立一个 CCIE Home Lab之Part One
香港考CCIE最新TIP
CCIE实验拓扑
CCIE Lab Preparation Advice
CCIE Written Exam Preparation Advice
IT职业认证火热 思科CCIE独领风骚
CCIE香港考试指南
死 亡 之 旅--我到香港考CCIE的经历
到香港考CCIE的经历(流水帐)
一位CCIE情人节的肺腑之言
Cisco技术 / Cisco认证 / CCIE认证 / CCIE Study Notes

CCIE Study Notes

作者:     http://cisco.ccxx.net

  Last updated: 11-Feb-2003
  Command Feature
  default route: usually route into the network cloud
  static route: usually route toward the hub
   static routes are classless
  
  Stop advertising network To suppress networks from being advertised in updates
  router rip
  network 172.16.0.0
  distribute-list 1 out serial 1 Only 1 in list and only 1 out list per routing protocol or per routing/interface
  
  access-list 1 deny 172.16.8.0 0.0.0.255 Stop the network 172.16.8.0 from being advertised by RIP, out of s1 only
  access-list 1 permit any
  
  Control which network is redistributed & advertised
  router rip
  network 172.16.0.0
  redistribute ospf 10 metric 4
  distribute-list 1 out ospf 10 Do not allow advertising of routes coming from OPSF 10
  out: out from OSPF 10
  access-list 1 deny 192.168.8.0 0.0.0.255 Stop the network 192.168.8.0 from being redistributed from OPSF to RIP
  access-list 1 permit any
  
  To filter networks received in updates Only works properly with distance-vector protocols
  router rip
  network 172.16.0.0
  distribute-list 1 in serial1 Deny 192.168.8.0 if it arrive from Serial1
  Won't be processed by RIP
  access-list 1 deny 192.168.8.0 0.0.0.255 Stop the network 192.168.8.0 from being redistributed from OPSF to RIP
  access-list 1 permit any
  
  Split horizon
  Split-horizon is a layer 2 behavior, knows nothing of layer 3
  no ip split-horizon Disable split-horizon on multipoint interface when hub & spoke and classful [RIP...], if spokes need to talk to each other/receive routing updated from each others
  Only affect RIP for not EIGRP, need: NO IP SPLIT-HORIZON EIGRP X
  Must be disabled on interfaces with secondary addresses or secondary address will not be advertised
  EIGRP does not use split-horizon when advertising routes learned through redistribution This not affected by ip split-horizon eigrp
  Split-horizon is DISABLED by default for RIP/IGRP on physical interfaces and point-to-multipoint subinterfaces.
  Split-horizon is always ENABLED on point-to-point subinterfaces.
  Split-horizon is NEVER DISABLED by default for EIGRP on any type of Frame Relay interface. Must be explicitly disabled with "no ip split-horizon eigrp ".
  INTERFACES & MULTIPOINTS & CLASSFUL PROTOCOL NO IP SPLIT-HORIZON
  EIGRP at the interface: no ip split-horizon eigrp 2001
  
  As soon as the subinterface is configured, split horizon is automatically disabled. This is the default behavior.
  Only for distance vector protocols [RIP/EIGRP/IGRP]
  
  interface Serial0/1 This is the hub
  ip address 192.1.1.2 255.255.255.0
  encapsulation frame-relay
  no ip split-horizon eigrp 10 So that both spokes can see each other, only affect eigrp 10 nothing else
  frame-relay map ip 192.1.1.1 100 broadcast so that the routing goes through
  frame-relay map ip 192.1.1.3 200 broadcast
  
  Notes
  Router should not install a summarized major network route from a major network from which it has a subnet
  
  Routing loops
  Most routing loops occur on distance vector in regards to redistribution and/or Admin Dist issues..
  Rip/Igrp - show ip route to look for "possibly down" message would indicate a routing loop
  For inside to outside, routing should always take place before NAT.
  
  BGP - Show ip bgp to watch if the bgp table # increments would indicate loop
  show ip traffic to spot incrementing "bad hop counts" would indicate loops.
  Finally, once you isolate the loop, use the trace command to follow the routing path and through elimination find the source of the loop.
  Increases routing metric ==> indicates routing loop
  
  Classful protocols: make all other interfaces as passive, including BRIs
  
  Debug and monitor
  logging buffered 16384
  show logg will show the results of the debugs
  show ip protocol will show the details of each protocols
  debug ip routing show the routing table activities
  
  debug ip icmp
  ping 172.16.4.255 Will ping all hosts on subnet
  
  encapsulation failed & frame-relay debug frame packet
  encapsulation failed & ISDN debug dialer packet
   debug ISDN q931
   debug ppp encapsulation
  encapsulation failed & ATM debug atm packet
  encapsulation failed & ethernet debug arp
  encapsulation failed & token-ring debug arp
  
  no ip route-cache
  debug ip packet will show all the packets
  debug ip packet detail 101 access-list 101 permit icmp any any
  
  debug ip rip
  debug ip ospf adj
  debug ip eigrp
  
  Distances and route controls
   Modify distance when trying to manipulate the choice of one protocol over another.
   If multiple routes within a protocol, use metric to modify the path.
  router eigrp 109
  network 192.31.7.0
  network 128.88.0.0
  passive-interface serial 1/1 Always put the non-routing interfaces as passive
  passive-interface serial 1/1.1 Also place the sub-interfaces as passive + the full interface
  passive-interface BRI0
  distance 255 Sets the default administrative distance to 255, which instructs the Cisco IOS software to ignore all routing updates from routers for which an explicit distance has not been set.
  distance 90 192.31.7.0 0.0.0.255 Sets administrative distance for all routers on the network 192.31.7.0 to 90
  distance 120 128.88.1.3 0.0.0.0 Sets administrative distance for the router with the address 128.88.1.3 to 120.
  distance 75 0.0.0.0 255.255.255.255 Set the distance of all routes under eigrp 109 to 75
  metric weights 0 K1 k2 k3 k4 k5 0 is type of service, then the K values All within AS must have same Ks
  
  interface s0
  ip address 172.10.10.10 255.255.255.0
  bandwidth 64 Changing the bandwidth will also affect OSPF
  delay 20000 Value from show interface s0, preferred way of changing metrics for load sharing. Does not affect the real delay on the interface
  To prefer a path v. another, add delay on the other path
  
  Default networks Make sure: ip classless
  ip default-network 179.10.0.0 RIP/IGRP/EIGRP: must be known to IGRP/EIGRP to be propagated
  Must be classful
  
  default-information originate If the ASBR already has the default route in its routing table [OSP/RIP]
  default-information originate always If the ASBR doesn't have a default route [OSPF only]
  
  ip route 0.0.0.0 0.0.0.0 x.x.x.x RIP & static default route
  ip default-gateway ONLY when ip routing is DISABLED
  see default section in each routing protocol
  
  Misc
   When "ip eigrp summary" is configured the summarized routes will not be advertised in EIGRP updates out that interface
  
  policy Route-map to replace static route
  interface s1
  ip address 172.16.10.10 255.255.255.0
  ip policy route-map rm-static equivalent to: ip route 172.16.117.0/24 e0
  access-list 1 permit 172.16.117.0 255.255.255.0
  route-map rm-static permit 10
  match ip address 1
  set interface e0
  
  Debug/info
  show ip policy
  show route-map
  
  Changing metric on specific routes Use offset-list when redundant equal cost path an


收藏本页

共 1 人推荐文章 CCIE Study Notes

Copyright © 2006 cisco.ccxx.net 版权所有.提供Cisco技术,Cisco培训,CCNA,CCNP,CCIE培训,Cisco论坛CCIE实验室
上海地区Cisco培训、CCNA培训、CCNP培训、CCIE培训