ip routing1
TRANSCRIPT
[ 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
■
■
■
[ 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
■
■
■
■
■
[ 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
■
■
■
■
■
■
■
■
[ 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
■
■
■
■
■
■
[ 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
■
■
■
■
[ 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
■
■
[ 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)#
[ 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]
[ 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
[ 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
[ 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
■
■
■
■
■
■
■
■
■
■
■
■
■
[ 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
■
■
■
[ 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
■
■
■
■
■
[ 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
■
[ 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]
[ 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
[ 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}
[ 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
■
■
■
■
■
■
■
■
■
■
■
[ 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
[ 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}
■
■
[ 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
■
■
■
■
■
■
[ 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
[ 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
[ 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
■
■
■
■
■
■
■
■
■
■
■
■
■
[ 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
■
■
■
■
■
[ 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
[ 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]
[ 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
[ 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]