ip routing1

29
[ 55 ] © 2011 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 245 for more details. CCIE Routing and Switching v4.0 Quick Reference &KDSWHU ,3 5RXWLQJ 2SHQ 6KRUWHVW 3DWK )LUVW 2SHQ 6KRUWHVW 3DWK )LUVW 263) OLQNVWDWH URXWLQJ SURWRFRO LV GHVLJQHG WR EH PRUH VFDODEOH DQG HI¿FLHQW WKDQ 5RXWLQJ ,QIRUPDWLRQ 3URWRFRO 5,3 &RQVLGHU WKH IROORZLQJ 263) IHDWXUHV 5XQV RQ ,3 DQG XVHV SURWRFRO &ODVVOHVV ZLWK YDULDEOH /HQJWK VXEQHW PDVN 9/60 VXSSRUW 8VHV PXOWLFDVWV ±DOO VKRUWHVW SDWK ¿UVW >63)@ URXWHUV 'HVLJQDWHG 5RXWHU >'5@ %DFNXS 'HVLJQDWHG 5RXWHU >%'5@ IRU KHOORV DQG XSGDWHV 3ODLQ WH[W DQG 0HVVDJH 'LJHVW $OJRULWKP 0' DXWKHQWLFDWLRQ DYDLODEOH 1XOO DXWKHQWLFDWLRQ LV WKH GH IDXOW 'LMNVWUD¶V DOJRULWKP LV XVHG WR SURGXFH D VKRUWHVWSDWK WUHH IRU HDFK GHVWLQDWLRQ /LQNVWDWH DGYHUWLVHPHQWV DUH XVHG WR EXLOG D GDWDEDVH RI WKH WRSRORJ\ 263) 3DFNHW 7\SHV 7\SH +HOOR %XLOGV DGMDFHQFLHV 7\SH 'DWDEDVH 'HVFULSWLRQ '%' &KHFNV IRU GDWDEDVH V\QFKURQL]DWLRQ EHWZHHQ URXWHUV 7\SH /LQN6WDWH 5HTXHVW /65 5HTXHVWV OLQNVWDWH VSHFL¿FV IURP WKH URXWHU [ 56 ] © 2011 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 245 for more details. CCIE Routing and Switching v4.0 Quick Reference 7\SH /LQN6WDWH 8SGDWH /68 6HQGV UHTXHVWHG OLQNVWDWH UHFRUGV 7\SH /LQN6WDWH $FNQRZOHGJPHQW /6$ $FNQRZOHGJHV WKH RWKHU SDFNHW W\SHV 263) $GMDFHQFLHV 2FFXUV WKURXJK WKH H[FKDQJH RI KHOOR SDFNHWV $IWHU DGMDFHQF\ LV HVWDEOLVKHG OLQNVWDWH GDWDEDVHV /6'% DUH V\QFKHG 7ZR 263) QHLJKERUV RQ D SRLQWWRSRLQW OLQN IRUP IXOO DGMDFHQF\ ZLWK HDFK RWKHU ,Q /$1V DOO URXWHUV IRUP DQ DGMDFHQF\ ZLWK WKH '5 DQG %'5 XSGDWHV QHHG WR EH VHQW RQO\ WR WKH '5 ZKLFK XSGDWHV DOO RWKHU URXWHUV DQG DOO RWKHU URXWHUV RQ WKH /$1 DUH FDOOHG '527+(56 DQG PDLQWDLQ D SDUWLDO QHLJKERU UHODWLRQVKLS ZLWK HDFK RWKHU $IWHU DGMDFHQFLHV KDYH EHHQ HVWDEOLVKHG /6$V DUH H[FKDQJHG WKURXJK D UHOLDEOH PHFKDQLVP /6$V DUH ÀRRGHG WR HQVXUH WRSRORJLFDO DZDUHQHVV /6$V KDYH D VHTXHQFH QXPEHU DQG D OLIHWLPH YDOXH /6$V FRQYH\ WKH FRVW RI OLQNV XVHG IRU WKH 63) FDOFXODWLRQ 7KH FRVW PHWULF LV EDVHG RQ LQWHUIDFH EDQGZLGWK 7KH /6$ DJLQJ WLPHU LV D PLQXWH GHIDXOW +HOOR SDFNHWV DUH VHQW SHULRGLFDOO\ DQG FRQWDLQ WKH IROORZLQJ ¿HOGV 5RXWHU ,' ,GHQWL¿HV WKH URXWHU KLJKHVW ,3 FKRVHQ ORRSEDFN RYHUULGHV DOO LQWHUIDFHV KRZHYHU FDQ DOVR EH VHW ZLWK WKH router-id FRPPDQG WKLV ,' LV XVHG WR EUHDN WLHV IRU '5 HOHFWLRQ +HOOR'HDG LQWHUYDOV )UHTXHQF\ DW ZKLFK KHOORV DUH VHQW DQG WKH DPRXQW RI WLPH WKDW FDQ HODSVH EHIRUH URXWHU LV GHFODUHG GHDG GHIDXOW LV VHFRQGV DQG WKH GHIDXOW GHDG LQWHUYDO LV WLPHV WKDW IRU DQ (WKHUQHW W\SH QHWZRUN WKHVH GHIDXOWV YDU\ EDVHG RQ QHWZRUN W\SH 1HLJKERUV /LVW RI WKH DGMDFHQW URXWHUV $UHD ,' $UHD LGHQWL¿HU DOZD\V IRU EDFNERQH

Upload: grodzinski

Post on 08-May-2015

172 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Ip routing1

[ 55 ]

© 2011 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 245 for more details.

CCIE Routing and Switching v4.0 Quick Reference

[ 56 ]

© 2011 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 245 for more details.

CCIE Routing and Switching v4.0 Quick Reference

router-id

Page 2: Ip routing1

[ 57 ]

© 2011 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 245 for more details.

CCIE Routing and Switching v4.0 Quick Reference

■ :

■ :

■ :

1.

1.

2

3.

[ 58 ]

© 2011 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 245 for more details.

CCIE Routing and Switching v4.0 Quick Reference

Page 3: Ip routing1

[ 59 ]

© 2011 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 245 for more details.

CCIE Routing and Switching v4.0 Quick Reference

[ 60 ]

© 2011 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 245 for more details.

CCIE Routing and Switching v4.0 Quick Reference

Router(config-if)# ip ospf network [{broadcast nonbroadcast point-to-multipoint point-to-multipoint nonbroadcast}]

RouterA(config)# router ospf 1RouterA(config-router)# network 172.16.0.0 0.0.255.255 area 0RouterA(config-router)# neighbor 172.16.0.5 priority 0RouterA(config-router)# neighbor 172.16.0.10 priority 0

Page 4: Ip routing1

[ 61 ]

© 2011 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 245 for more details.

CCIE Routing and Switching v4.0 Quick Reference

■ neighbor

■ map

[ 62 ]

© 2011 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 245 for more details.

CCIE Routing and Switching v4.0 Quick Reference

Page 5: Ip routing1

[ 63 ]

© 2011 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 245 for more details.

CCIE Routing and Switching v4.0 Quick Reference

1 Router2 Network3 Network Summary4 ASBR Summary5 AS External7 NSSA External

[ 64 ]

© 2011 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 245 for more details.

CCIE Routing and Switching v4.0 Quick Reference

■ N

show ip route

Page 6: Ip routing1

[ 65 ]

© 2011 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 245 for more details.

CCIE Routing and Switching v4.0 Quick Reference

Router(config)# router ospf <process-id>

Router(config-router)# network <IP> <WILDCARD MASK> area <#>

Router(config-int)# ip ospf <process-id> area <#>

Router# show ip ospf

[ 66 ]

© 2011 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 245 for more details.

CCIE Routing and Switching v4.0 Quick Reference

■ Stub area:

Router(config)# router ospf <process-id>

Router(config-router)# area <#> stub

Page 7: Ip routing1

[ 67 ]

© 2011 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 245 for more details.

CCIE Routing and Switching v4.0 Quick Reference

Router(config)# router ospf <process-id>

Router(config-router)# area <#> stub no-summary

[ 68 ]

© 2011 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 245 for more details.

CCIE Routing and Switching v4.0 Quick Reference

Router(config)# router ospf <process-id>

Router(config-router)# area <#> nssa

Router(config-router)# area <#> nssa default-information orginate

Router(config)# router ospf <process-id>

Router(config-router)#

Page 8: Ip routing1

[ 69 ]

© 2011 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 245 for more details.

CCIE Routing and Switching v4.0 Quick Reference

router ospf process-id

network address inverse-mask area [area-id]

[ 70 ]

© 2011 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 245 for more details.

CCIE Routing and Switching v4.0 Quick Reference

show ip ospf

area area-id range address mask

summary-address address mask [not-advertise] [tag tag]

default-information originate [always] [metric metric_value] [metric-type type-value] [route-map map-name]

Page 9: Ip routing1

[ 71 ]

© 2011 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 245 for more details.

CCIE Routing and Switching v4.0 Quick Reference

metric-typeroute-map

area area_id authentication

ip ospf authentication-key password

area area_id authentication message-digest

ip ospf message-digest-key key_value md5 password

auto-cost reference-bandwidth refbw

[ 72 ]

© 2011 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 245 for more details.

CCIE Routing and Switching v4.0 Quick Reference

refbw

ip ospf cost value

■ ip ospf retransmit-interval

■ ip ospf transmit-delay

■ ip ospf hello-interval

■ ip ospf dead-interval

distance ospf {[intra-area dist1] [inter-area dist2]

[external dist3]}

passive-interface interface-type interface-number

Page 10: Ip routing1

[ 73 ]

© 2011 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 245 for more details.

CCIE Routing and Switching v4.0 Quick Reference

timers spf spf-delay spf-holdtime

timers lsa-group-pacing seconds

ospf database-filter all out

neighbor ip-address database-filter all out

ip ospf flood-reduction

area transit_area_id virtual-link router_id_of_remote

[ 74 ]

© 2011 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 245 for more details.

CCIE Routing and Switching v4.0 Quick Reference

ip ospf demand-circuit

Page 11: Ip routing1

[ 75 ]

© 2011 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 245 for more details.

CCIE Routing and Switching v4.0 Quick Reference

nsf ietf

[ 76 ]

© 2011 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 245 for more details.

CCIE Routing and Switching v4.0 Quick Reference

Page 12: Ip routing1

[ 77 ]

© 2011 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 245 for more details.

CCIE Routing and Switching v4.0 Quick Reference

■ subnets

[ 78 ]

© 2011 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 245 for more details.

CCIE Routing and Switching v4.0 Quick Reference

■ ignore lsa mospf

Page 13: Ip routing1

[ 79 ]

© 2011 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 245 for more details.

CCIE Routing and Switching v4.0 Quick Reference

show ip ospf neighbor [interface-type interface-number] [neighbor-id] [detail] : Displays OSPF neighbor information on a per-interface basis.

show ip ospf [process-id]

show ip ospf interface [interface-type interface-number]

show ip ospf database

debug ip ospf packet

Router# debug ip ospf packet

OSPF: rcv. v: 2 t: 1 l: 48 rid: 200.0.0.116

aid: 0.0.0.0 chk: 0 aut: 2 keyid: 1 seq: 0x0

[ 80 ]

© 2011 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 245 for more details.

CCIE Routing and Switching v4.0 Quick Reference

Page 14: Ip routing1

[ 81 ]

© 2011 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 245 for more details.

CCIE Routing and Switching v4.0 Quick Reference

[ 82 ]

© 2011 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 245 for more details.

CCIE Routing and Switching v4.0 Quick Reference

■ network

Page 15: Ip routing1

[ 83 ]

© 2011 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 245 for more details.

CCIE Routing and Switching v4.0 Quick Reference

Router(config-router)# no synchronization

[ 84 ]

© 2011 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 245 for more details.

CCIE Routing and Switching v4.0 Quick Reference

router bgp as-number

neighbor ip-address remote-as as-number

neighbor ip-address description neighbor description

neighbor ip-address shutdown

neighbor ip-address password string

no auto-summary

network network-number [mask network-mask]

Page 16: Ip routing1

[ 85 ]

© 2011 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 245 for more details.

CCIE Routing and Switching v4.0 Quick Reference

masknetwork

network

network network-number mask network-mask route-map map-tag

Router(config)# router bgp 64500

Router(config-router)# redistribute ospf 1

Router(config-router)# distribute-list prefix MY_PREFIX_LIST out

Router(config)# router bgp 64500

Router(config-router)# redistribute ospf 1 route-map MY_ROUTE_MAP

[ 86 ]

© 2011 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 245 for more details.

CCIE Routing and Switching v4.0 Quick Reference

= network ip-prefix-address mask subnet-mask

aggregate-address address-prefix mask summary-only

Page 17: Ip routing1

[ 87 ]

© 2011 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 245 for more details.

CCIE Routing and Switching v4.0 Quick Reference

[ 88 ]

© 2011 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 245 for more details.

CCIE Routing and Switching v4.0 Quick Reference

ip as-path access-list access-list-number {permit deny}

as-regular-expression

neighbor {ip-address peer-group-name} filter-list access-list-number {in out}

Page 18: Ip routing1

[ 89 ]

© 2011 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 245 for more details.

CCIE Routing and Switching v4.0 Quick Reference

ip prefix-list list-name [seq seq-value] deny permit

network/len [ge ge-value] [le le-value]

ge le network/len ge le

ge-value gele le-value le

neighbor {ip-address peer-group-name} prefix-list prefix-listname {in out}

distribute-list {access-list-number name prefix-list

prefix-listname} out [interface-name routing-process autonomous-system-number]

[ 90 ]

© 2011 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 245 for more details.

CCIE Routing and Switching v4.0 Quick Reference

Page 19: Ip routing1

[ 91 ]

© 2011 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 245 for more details.

CCIE Routing and Switching v4.0 Quick Reference

neighbor orf prefix-list

neighbor {ip-address} [capability] orf prefix-list [receive send both]

prefix-filter

[ 92 ]

© 2011 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 245 for more details.

CCIE Routing and Switching v4.0 Quick Reference

Router(config-router)# neighbor ip-address route-map name in out

soft-reconfiguration inbound

bgp

ip- out

Page 20: Ip routing1

[ 93 ]

© 2011 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 245 for more details.

CCIE Routing and Switching v4.0 Quick Reference

Local Preference:

Atomic Aggregate:

Multiexit Discriminator:

Aggregator:

[ 94 ]

© 2011 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 245 for more details.

CCIE Routing and Switching v4.0 Quick Reference

Community:

neighbor {ip-address peer-group-name} weight weight

neighbor {ip-address peer-group-name} filter-list access-list-number {in out weight weight}

Page 21: Ip routing1

[ 95 ]

© 2011 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 245 for more details.

CCIE Routing and Switching v4.0 Quick Reference

network

[ 96 ]

© 2011 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 245 for more details.

CCIE Routing and Switching v4.0 Quick Reference

Page 22: Ip routing1

[ 97 ]

© 2011 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 245 for more details.

CCIE Routing and Switching v4.0 Quick Reference

set additive

neighbor ip-address route-map map in out

[ 98 ]

© 2011 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 245 for more details.

CCIE Routing and Switching v4.0 Quick Reference

redistribute protocol route-map map

neighbor ip-address send-community

■ internet

ip community-list 1-99 permit deny value [ value ... ]

ip community-list 100-199 permit deny regexp

Page 23: Ip routing1

[ 99 ]

© 2011 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 245 for more details.

CCIE Routing and Switching v4.0 Quick Reference

.*

exact

bgp cluster-id cluster-id

[ 100 ]

© 2011 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 245 for more details.

CCIE Routing and Switching v4.0 Quick Reference

neighbor ip-address route-reflector-client

the

Page 24: Ip routing1

[ 101 ]

© 2011 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 245 for more details.

CCIE Routing and Switching v4.0 Quick Reference

[ 102 ]

© 2011 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 245 for more details.

CCIE Routing and Switching v4.0 Quick Reference

Page 25: Ip routing1

[ 103 ]

© 2011 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 245 for more details.

CCIE Routing and Switching v4.0 Quick Reference

[ 104 ]

© 2011 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 245 for more details.

CCIE Routing and Switching v4.0 Quick Reference

Page 26: Ip routing1

[ 105 ]

© 2011 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 245 for more details.

CCIE Routing and Switching v4.0 Quick Reference

[ 106 ]

© 2011 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 245 for more details.

CCIE Routing and Switching v4.0 Quick Reference

router eigrp autonomous-system-number

network network-number [wildcard-mask]

topology

Page 27: Ip routing1

[ 107 ]

© 2011 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 245 for more details.

CCIE Routing and Switching v4.0 Quick Reference

address

[ 108 ]

© 2011 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 245 for more details.

CCIE Routing and Switching v4.0 Quick Reference

variance

nnn

eigrp stub [receive-only connected static summary]

Page 28: Ip routing1

[ 109 ]

© 2011 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 245 for more details.

CCIE Routing and Switching v4.0 Quick Reference

distribute-list {access-list-number name} out [interface-name routing-process [autonomous-system number]]

distribute-list {access-list-number name} in [type number]]

set

[ 110 ]

© 2011 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 245 for more details.

CCIE Routing and Switching v4.0 Quick Reference

route-map map-tag [permit deny] [sequence-number]

match {conditions}

set {actions}

ip policy route-map map-tag

Page 29: Ip routing1

[ 111 ]

© 2011 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 245 for more details.

CCIE Routing and Switching v4.0 Quick Reference

redistribute protocol [process-id] [match route-type][metric metric-value] [route-map map-tag]

redistribute protocol [process-id] [metric metric-value][metric-type type-value] [route-map map-tag] [subnets] [tag tag-value]

[ 112 ]

© 2011 Cisco Systems Inc. All rights reserved. This publication is protected by copyright. Please see page 245 for more details.

CCIE Routing and Switching v4.0 Quick Reference

redistribute protocol [process-id] [match {internal external 1 external 2}] [metric metric-value] [route-map map-tag]