Sie sind auf Seite 1von 227

Chapter 2: .................................................................................................................................................................... 3 Lab 2.6.1 Router configuration ................................................................................................................ 3 Lab 2.6.2 Configuring dynamic translation ......................................................................................... 6 Lab 2.6.

3 Configuring overload translation ....................................................................................... 9 Lab 2.6.4 Configuring load distribution ........................................................................................... 12 Lab 2.7.1 IP unnumbered and discontiguous networks .................................................................... 15 Lab 2.8.1 Easy IP/DHCP - router configurations............................................................................. 18 Lab 2.9.1 IP helper router configurations ................................................................................... 21 Chapter 4 ................................................................................................................................................................... 24 Lab 4.2.2 Router-A running-config. ....................................................................................................... 24 Lab 4.2.2 Router-B running-config. ...................................................................................................... 25 Lab 4.2.2 Router-C running-config. ...................................................................................................... 26 Lab 4.2.3 Router-A running-config. ...................................................................................................... 27 Lab 4.2.3 Router-B running-config. ...................................................................................................... 28 Lab 4.2.3 Router-C running-config. ...................................................................................................... 29 Lab 4.2.4 Router-A running-config. ...................................................................................................... 30 Lab 4.2.4 Router-B running-config. ...................................................................................................... 31 Lab 4.2.4 Router-C running-config. ...................................................................................................... 32 Lab 4.2.4b Router-A running-config. .................................................................................................... 33 Lab 4.2.4b Router-B running-config. .................................................................................................... 34 Lab 4.2.4b Router-C running-config. .................................................................................................... 35 Lab 4.3.2 Router-A running-config. ...................................................................................................... 36 Lab 4.3.2 Router-B running-config. ...................................................................................................... 38 Lab 4.3.2 Router-C running-config. ...................................................................................................... 39 Lab 4.3.2.2 Router-A running-config................................................................................................... 41 Lab 4.3.2.2 Router-B running-config................................................................................................... 43 Lab 4.3.2.2 Router-C running-config................................................................................................... 44 Lab 4.4.4 OSPF point-to-multipoint ...................................................................................................... 46 Chapter 5 ................................................................................................................................................................ 50 Lab 5.1.2 Router-A running-config. ...................................................................................................... 50 Lab 5.1.2 Router-B running-config. ...................................................................................................... 51 Lab 5.1.2 Router-C running-config. ...................................................................................................... 53 Lab 5.1.2 Router-D running-config. ...................................................................................................... 54 Lab 5.1.2b Router-B running-config. .................................................................................................... 56 Lab 5.1.2b Router-C running-config. .................................................................................................... 58 Lab 5.3.2-Running configuration for router B ................................................................................. 59 Lab 5.3.2-Running configuration for router A ................................................................................. 60 Lab 5.3.2-Running configuration for router C ................................................................................. 61 Lab 5.3.3 Router-A running-config. ...................................................................................................... 63 Lab 5.3.3 Router-B running-config. ...................................................................................................... 64 Lab 5.3.3 Router-C running-config. ...................................................................................................... 66 Lab 5.4.5 Router-B running-config.for stub only .......................................................................... 67 Lab 5.4.5 Router-B running-config. for totally stub .................................................................. 69 Lab 5.4.5 Router-C running-config ........................................................................................................ 71 Lab 5.4.5 Router-D running-config ........................................................................................................ 73 Lab 5.5.5 Router-A running-config. ...................................................................................................... 75 Lab 5.5.5 Router-B running-config. ...................................................................................................... 76 Lab 5.5.5 Router-C running-config. ...................................................................................................... 78 Lab 5.5.5 Router-C running-config. ...................................................................................................... 80 Lab 5.6.1-Running configuration for router A ................................................................................. 82 Lab 5.6.1-Running configuration for router B ................................................................................. 83 Lab 5.6.1-Running configuration for router C ................................................................................. 85 Chapter 6 ................................................................................................................................................................... 87 Lab 6.1.0 Router-B running-config. ...................................................................................................... 87 Lab 6.1.0 Router-A running-config. ...................................................................................................... 89 Lab 6.1.0 Router-D running-config. ...................................................................................................... 90 Lab 6.1.0 Router-C running-config. ...................................................................................................... 91 Lab 6.1.1 Router-B running-config. ...................................................................................................... 92 Lab 6.1.1 Router-A running-config. ...................................................................................................... 93 Lab 6.2.2 Router-B running-config. ...................................................................................................... 94 Lab 6.2.2 Router-A running-config. ...................................................................................................... 96 Lab 6.2.2 Router-C running-config. ...................................................................................................... 97 Lab 6.2.2 Router-D running-config. ...................................................................................................... 98 Lab 6.5.4 Router-A running-config. ...................................................................................................... 99 Lab 6.5.4 Router-B running-config. .....................................................................................................100

Lab 6.5.4 Router-D running-config. .....................................................................................................101 Lab 6.5.4 Router-C running-config. .....................................................................................................102 Lab 6.7.1 Router-A running-config. .....................................................................................................103 Lab 6.7.1 Router-B running-config. .....................................................................................................104 Lab 6.7.1 Router-C running-config. .....................................................................................................105 Lab 6.7.1 Router-D running-config. .....................................................................................................106 Lab 6.7.2 - EIGRP interface summarization-router A ...................................................................107 Lab 6.7.2 - EIGRP interface summarization-router B ...................................................................108 Lab 6.7.2 - EIGRP interface summarization-router C ...................................................................109 Chapter 7 ..................................................................................................................................................................111 Lab 7.2.1 Router-A running-config........................................................................................................................111 Lab 7.2.1 Router-B running-config. .....................................................................................................112 Lab 7.3.3-Running configuration for router A ................................................................................114 Lab 7.3.3-Running configuration for router C ................................................................................115 Lab 7.3.3-Running configuration for router B ................................................................................116 Lab 7.3.5 Router-A Initial Configuration ........................................................................................117 Lab 7.3.5 Router-B Initial Configuration ........................................................................................118 Lab 7.3.5 Router-C Initial Configuration ........................................................................................119 Lab 7.3.5 Router-A Final Configuration ............................................................................................120 Lab 7.4.1-Running configuration for router B ................................................................................121 Lab 7.4.1-Running configuration for router C ................................................................................123 Lab 7.4.1-Running configuration for router A ................................................................................124 Lab 7.4.3-Running configuration for router B ................................................................................125 Lab 7.4.3-Running configuration for router A ................................................................................127 Lab 7.4.3-Running configuration for router C ................................................................................128 Lab 7.4.5-Running configuration for router B ................................................................................129 Lab 7.4.5-Running configuration for router A ................................................................................130 Lab 7.4.5-Running configuration for router C ................................................................................131 Lab 7.4.6 OSPF default-information originate ..............................................................................132 Lab 7.5.10-Running configuration for router A ..............................................................................134 Lab 7.5.10-Running configuration for router B ..............................................................................136 Lab 7.5.10-Running configuration for router C ..............................................................................137 Chapter 8 ..................................................................................................................................................................138 8.4.3 Simple BGP configuration example .............................................................................................................138 8.6.3 Synchronization within an AS .....................................................................................................141 8.6.4 hostname RTA.......................................................................................................................................145 8.7.5 CIDR and aggregate addresses .....................................................................................................149 8.7.9 Next-hop behavior over NBMA .......................................................................................................155 8.8.2 Configuration example: removing private AS numbers.......................................................160 8.8.3 Manipulate AS_path information.................................................................................................164 8.8.6 Setting the local preference attribute ................................................................................168 8.8.8 MED .........................................................................................................................................................172 Chapter 9 ..................................................................................................................................................................177 9.1.3 Internal peers with route reflectors ....................................................................................177 9.2.3 How to ID and filter routes based on NLRI .........................................................................182 9.2.5 Route filtering configuration example using a single prefix list .........................187 9.2.7 Communities.........................................................................................................................................189 9.2.9 Peer groups.........................................................................................................................................195 9.4.2 Default only, one primary, and one backup link scenario ............................................198 9.5.4 Inject information dynamically into BGP (configuration) ............................................202 Chapter 10 ................................................................................................................................................................206 10.2.1 Standard access control lists - router configurations ..............................................206 10.3.2 Lab-router-A config.....................................................................................................................209 10.4.1 Extended access control lists - router configurations ..............................................211 10.5.2 Lab-router-A config.....................................................................................................................214 10.9.1 Lock and key access control lists ........................................................................................216 10.10.1 Reflexive access control lists ............................................................................................219 10.11.1 Context based access control (basic config) .................................................................221 10.11.2 Context based access control (advanced config).........................................................224

Chapter 2: Lab 2.6.1 Router configuration

ROUTER-A configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname Router-A ! enable secret 5 $1$mnDX$q5gIYfC9UW2vVT4Mu1FcB1 enable password ccnp ! ! ! ! ip subnet-zero ! ip audit notify log ip audit po max-events 100 ! ! ! process-max-time 200 ! interface FastEthernet0/0 ip address 200.200.200.33 255.255.255.240 no ip directed-broadcast ! interface Serial0/0 ip address 200.200.200.17 255.255.255.240 no ip directed-broadcast no ip mroute-cache clockrate 56000 ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! router igrp 123 network 200.200.200.0 ! ip classless ip route 202.206.154.0 255.255.255.0 200.200.200.18 ip http server ! ! line con 0 password cisco login transport input none line aux 0 line vty 0 4 password cisco login !

! no scheduler allocate end

ROUTER-B Configuration:

Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname Router-B ! enable secret 5 $1$4RCY$PN.qxAEfKcTIue0VQ.Vl6. enable password ccnp ! memory-size iomem 20 ip subnet-zero ! ! ! ! ! interface FastEthernet0/0 ip address 10.10.10.1 255.255.255.0 no ip directed-broadcast ip nat inside ! interface Serial0/0 ip address 200.200.200.18 255.255.255.240 no ip directed-broadcast ip nat outside no ip mroute-cache no fair-queue ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! router igrp 123 network 200.200.200.0 ! ip nat inside source static 10.10.10.3 202.206.154.3 ip nat inside source static 10.10.10.2 202.206.154.2 ip classless no ip http server ! ! line con 0 password cisco login transport input none line aux 0 line vty 0 4 password cisco login

! no scheduler allocate end

Lab 2.6.2 Configuring dynamic translation

Network address translation - configuring dynamic translation - router configurations ROUTER-A configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname Router-A ! enable secret 5 $1$mnDX$q5gIYfC9UW2vVT4Mu1FcB1 enable password ccnp ! ! ! ! ! ip subnet-zero ! ip audit notify log ip audit po max-events 100 ! ! ! process-max-time 200 ! interface FastEthernet0/0 ip address 200.200.200.33 255.255.255.240 no ip directed-broadcast ! interface Serial0/0 ip address 200.200.200.17 255.255.255.240 no ip directed-broadcast no ip mroute-cache clockrate 56000 ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! router igrp 123 network 200.200.200.0 ! ip classless ip route 202.206.154.0 255.255.255.0 200.200.200.18 ip http server ! ! line con 0 password cisco login transport input none line aux 0 line vty 0 4 password cisco login

! ! no scheduler allocate end

ROUTER-B Configuration:

Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname Router-B ! enable secret 5 $1$4RCY$PN.qxAEfKcTIue0VQ.Vl6. enable password ccnp ! memory-size iomem 20 ip subnet-zero ! ! ! ! ! interface FastEthernet0/0 ip address 10.10.10.1 255.255.255.0 no ip directed-broadcast ip nat inside ! interface Serial0/0 ip address 200.200.200.18 255.255.255.240 no ip directed-broadcast ip nat outside no ip mroute-cache no fair-queue ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! router igrp 123 network 200.200.200.0 ! ip nat translation timeout 120 ip nat pool net-10 202.206.154.2 202.206.154.17 netmask 255.255.255.0 ip nat inside source list 2 pool net-10 ip classless no ip http server ! access-list 2 permit 10.10.10.0 0.0.0.255 ! line con 0 password cisco login transport input none line aux 0

line vty 0 4 password cisco login ! no scheduler allocate end

Lab 2.6.3 Configuring overload translation

Network address translation - configuring overload translation - router configurations ROUTER-A configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname Router-A ! enable secret 5 $1$mnDX$q5gIYfC9UW2vVT4Mu1FcB1 enable password ccnp ! ! ! ! ip subnet-zero ! ip audit notify log ip audit po max-events 100 ! ! ! process-max-time 200 ! interface FastEthernet0/0 ip address 200.200.200.33 255.255.255.240 no ip directed-broadcast ! interface Serial0/0 ip address 200.200.200.17 255.255.255.240 no ip directed-broadcast no ip mroute-cache clockrate 56000 ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! router igrp 123 network 200.200.200.0 ! ip classless ip route 202.206.154.0 255.255.255.0 200.200.200.18 ip http server ! ! line con 0 password cisco login transport input none line aux 0 line vty 0 4 password cisco login !

! no scheduler allocate end

ROUTER-B Configuration:

! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname Router-B ! enable secret 5 $1$p93r$TBgMuobkuTPzHk87hU1P1. enable password ccnp ! memory-size iomem 20 ip subnet-zero ! ! ! ! ! interface FastEthernet0/0 ip address 10.10.10.1 255.255.255.0 no ip directed-broadcast ip nat inside ! interface Serial0/0 ip address 200.200.200.18 255.255.255.240 no ip directed-broadcast ip nat outside no ip mroute-cache no fair-queue ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! router igrp 123 network 200.200.200.0 ! ip nat translation tcp-timeout 120 ip nat translation udp-timeout 120 ip nat pool net-11 202.206.154.2 202.206.154.17 netmask 255.255.255.0 ip nat inside source list 3 pool net-11 overload ip classless no ip http server ! access-list 3 permit 10.10.10.0 0.0.0.255 ! line con 0 password cisco login transport input none line aux 0 line vty 0 4 password cisco

login ! end

Lab 2.6.4 Configuring load distribution

Network address translation - configuring Load Distribution - router configurations ROUTER-A configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname Router-A ! enable secret 5 $1$mnDX$q5gIYfC9UW2vVT4Mu1FcB1 enable password ccnp ! ! ! ! ip subnet-zero ! ip audit notify log ip audit po max-events 100 ! ! ! process-max-time 200 ! interface FastEthernet0/0 ip address 200.200.200.33 255.255.255.240 no ip directed-broadcast ! interface Serial0/0 ip address 200.200.200.17 255.255.255.240 no ip directed-broadcast no ip mroute-cache clockrate 56000 ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! router igrp 123 network 200.200.200.0 ! ip classless ip http server ! ! line con 0 password cisco login transport input none line aux 0 line vty 0 4 password cisco login ! !

no scheduler allocate end

ROUTER-B Configuration:

Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname Router-B ! enable secret 5 $1$4RCY$PN.qxAEfKcTIue0VQ.Vl6. enable password ccnp ! memory-size iomem 20 ip subnet-zero ! ! ! ! ! interface FastEthernet0/0 ip address 202.206.154.1 255.255.255.0 no ip directed-broadcast ip nat inside ! interface Serial0/0 ip address 200.200.200.18 255.255.255.240 no ip directed-broadcast ip nat outside no ip mroute-cache no fair-queue ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! router igrp 123 network 200.200.200.0 network 202.206.154.0 ! ip nat pool rothosts 202.206.154.2 202.206.154.4 prefix-length 24 type rotary ip nat inside destination list 5 pool rothosts ip classless no ip http server ! access-list 5 permit 202.206.154.100 ! line con 0 password cisco login transport input none line aux 0 line vty 0 4 password cisco login

! end

Lab 2.7.1 IP unnumbered and discontiguous networks

Lab: IP Unnumbered and Discontiguous networks, final router configurations ROUTER-A Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname Router-A ! enable secret 5 $1$mnDX$q5gIYfC9UW2vVT4Mu1FcB1 enable password ccnp ! ! ! ! ip subnet-zero ! ip audit notify log ip audit po max-events 100 ! ! ! process-max-time 200 ! interface FastEthernet0/0 ip address 168.71.5.1 255.255.255.0 no ip directed-broadcast ! interface Serial0/0 ip unnumbered FastEthernet0/0 no ip directed-broadcast no ip mroute-cache clockrate 56000 ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! router igrp 123 network 168.71.0.0 ! ip classless ip http server ! ! line con 0 password cisco login transport input none line aux 0 line vty 0 4 password cisco login ! !

no scheduler allocate end ROUTER-B Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname Router-B ! enable secret 5 $1$4RCY$PN.qxAEfKcTIue0VQ.Vl6. enable password ccnp ! memory-size iomem 20 ip subnet-zero ! ! ! ! ! interface FastEthernet0/0 ip address 168.71.6.1 255.255.255.0 no ip directed-broadcast ip nat inside ! interface Serial0/0 ip unnumbered FastEthernet0/0 no ip directed-broadcast ip nat outside no ip mroute-cache no fair-queue ! interface Serial0/1 ip unnumbered FastEthernet0/0 no ip directed-broadcast clockrate 56000 ! router igrp 123 network 168.71.0.0 ! ip nat pool rothosts 202.206.154.2 202.206.154.4 prefix-length 24 type rotary ip nat inside destination list 5 pool rothosts ip classless no ip http server ! access-list 5 permit 202.206.154.100 ! line con 0 password cisco login transport input none line aux 0 line vty 0 4 password cisco login ! end

ROUTER-C Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname Router-C ! enable password ccnp ! ! ! ! ! ip subnet-zero ! ! ! ! process-max-time 200 ! interface FastEthernet0/0 ip address 168.71.8.1 255.255.255.0 no ip directed-broadcast ! interface Serial0/0 no ip address no ip directed-broadcast no ip mroute-cache shutdown no fair-queue ! interface Serial0/1 ip unnumbered FastEthernet0/0 no ip directed-broadcast ! router igrp 123 network 168.71.0.0 ! ip classless no ip http server ! ! line con 0 password cisco login transport input none line aux 0 line vty 0 4 password cisco login ! ! no scheduler allocate end

Lab 2.8.1 Easy IP/DHCP - router configurations

Lab: Easy IP/DHCP - Router configurations ROUTER configuration for the first problem: Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname Router-C ! enable password ccnp ! ! ! ! ! ip subnet-zero ! ip dhcp pool easydhcp network 1.1.1.0 255.255.255.0 default-router 1.1.1.1 ! ! ! ! process-max-time 200 ! interface FastEthernet0/0 ip address 1.1.1.1 255.255.255.0 no ip directed-broadcast ! interface Serial0/0 no ip address no ip directed-broadcast no ip mroute-cache shutdown no fair-queue ! interface Serial0/1 no ip address no ip directed-broadcast ! router rip network 1.0.0.0 ! ip classless no ip http server ! ! line con 0 password cisco login transport input none line aux 0 line vty 0 4 password cisco login

! ! no scheduler allocate end

Final Router Configuration:

Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname Router-C ! enable password ccnp ! ! ! ! ! ip subnet-zero ip dhcp excluded-address 1.1.1.2 1.1.1.7 ! ip dhcp pool easydhcp network 1.1.1.0 255.255.255.0 default-router 1.1.1.1 ! ! ! ! process-max-time 200 ! interface FastEthernet0/0 ip address 1.1.1.1 255.255.255.0 no ip directed-broadcast ! interface Serial0/0 no ip address no ip directed-broadcast no ip mroute-cache shutdown no fair-queue ! interface Serial0/1 no ip address no ip directed-broadcast ! router rip network 1.0.0.0 ! ip classless no ip http server ! ! line con 0 password cisco login transport input none

line aux 0 line vty 0 4 password cisco login ! ! no scheduler allocate end

Lab 2.9.1 IP helper router configurations

Lab 10.8.1 IP helper - Router configurations Router-A: Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname Router-A ! enable password ccnp ! ! ! ! ! ip subnet-zero ! ! ! ! process-max-time 200 ! interface FastEthernet0/0 ip address 168.71.5.1 255.255.255.0 ip helper-address 168.71.8.2 no ip directed-broadcast ! interface Serial0/0 ip address 168.71.6.1 255.255.255.0 no ip directed-broadcast no ip mroute-cache clockrate 56000 ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! router igrp 111 network 168.71.0.0 ! ip classless no ip http server ! ! line con 0 password cisco login transport input none line aux 0 line vty 0 4 password cisco login ! !

no scheduler allocate end

Router-B:

Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname Router-B ! enable password ccnp ! ! ! ! ! ip subnet-zero ! ip audit notify log ip audit po max-events 100 ! ! ! process-max-time 200 ! interface FastEthernet0/0 no ip address no ip directed-broadcast shutdown ! interface Serial0/0 ip address 168.71.6.2 255.255.255.0 no ip directed-broadcast ! interface Serial0/1 ip address 168.71.7.1 255.255.255.0 no ip directed-broadcast clockrate 56000 ! router igrp 111 network 168.71.0.0 ! ip classless no ip http server ! ! line con 0 password cisco login transport input none line aux 0 line vty 0 4 password cisco login ! ! no scheduler allocate

end

Router-C:

Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname Router-C ! enable password ccnp ! memory-size iomem 20 ip subnet-zero ! ! ! ! ! interface FastEthernet0/0 ip address 168.71.8.1 255.255.255.0 ip directed-broadcast ! interface Serial0/0 no ip address no ip directed-broadcast shutdown ! interface Serial0/1 ip address 168.71.7.2 255.255.255.0 no ip directed-broadcast ! router igrp 111 network 168.71.0.0 ! ip classless no ip http server ! ! line con 0 password cisco login transport input none line aux 0 line vty 0 4 password cisco login ! no scheduler allocate end

Chapter 4 Lab 4.2.2 Router-A running-config. Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-a ! ip subnet-zero ! process-max-time 200 ! interface FastEthernet0/0 ip address 206.202.16.1 255.255.255.0 no ip directed-broadcast ! interface Serial0/0 no ip address no ip directed-broadcast no ip mroute-cache shutdown no fair-queue ! interface BRI0/0 no ip address no ip directed-broadcast shutdown isdn guard-timer 0 on-expiry accept ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! router ospf 1 network 206.202.16.0 0.0.0.255 area 0 ! ip classless no ip http server ! line con 0 transport input none line aux 0 line vty 0 4 ! no scheduler allocate end

Lab 4.2.2 Router-B running-config. Current configuration:! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-b ! memory-size iomem 20 ip subnet-zero ! interface FastEthernet0/0 ip address 206.202.16.2 255.255.255.0 no ip directed-broadcast ! interface Serial0/0 no ip address no ip directed-broadcast no ip mroute-cache shutdown no fair-queue ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! router ospf 1 network 206.202.16.0 0.0.0.255 area 0 ! ip classless no ip http server ! line con 0 transport input none line aux 0 line vty 0 4 ! no scheduler allocate end

Lab 4.2.2 Router-C running-config. Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-c ! ip subnet-zero ! controller T1 1/0 ! process-max-time 200 ! interface FastEthernet0/0 ip address 206.202.16.254 255.255.255.0 no ip directed-broadcast ! interface Serial0/0 no ip address no ip directed-broadcast no ip mroute-cache shutdown no fair-queue ! interface FastEthernet0/1 no ip address no ip directed-broadcast shutdown ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! router ospf 1 network 206.202.16.0 0.0.0.255 area 0 ! ip classless no ip http server ! line con 0 transport input none line aux 0 line vty 0 4 ! ! no scheduler allocate end

Lab 4.2.3 Router-A running-config. Commands in BOLD are added during this lab. Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-a ! ip subnet-zero! process-max-time 200 ! interface FastEthernet0/0 ip address 206.202.16.1 255.255.255.0 no ip directed-broadcast ip ospf hello-interval 30 ! interface Serial0/0 no ip address no ip directed-broadcast no ip mroute-cache shutdown no fair-queue ! interface BRI0/0 no ip address no ip directed-broadcast shutdown isdn guard-timer 0 on-expiry accept ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! router ospf 1 network 206.202.16.0 0.0.0.255 area 0 ! ip classless no ip http server ! line con 0 transport input none line aux 0 line vty 0 4 login ! end

Lab 4.2.3 Router-B running-config. Commands in BOLD are added during this lab. Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-b ! memory-size iomem 20 ip subnet-zero ! interface FastEthernet0/0 ip address 206.202.16.2 255.255.255.0 no ip directed-broadcast ip ospf hello-interval 30 ! interface Serial0/0 no ip address no ip directed-broadcast no ip mroute-cache shutdown no fair-queue ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! router ospf 1 network 206.202.16.0 0.0.0.255 area 0 ! ip classless no ip http server ! line con 0 transport input none line aux 0 line vty 0 4 login ! end

Lab 4.2.3 Router-C running-config. Commands in BOLD are added during this lab. Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-c ! ip subnet-zero ! controller T1 1/0 ! process-max-time 200 ! interface FastEthernet0/0 ip address 206.202.16.254 255.255.255.0 no ip directed-broadcast ip ospf hello-interval 30 ! interface Serial0/0 no ip address no ip directed-broadcast no ip mroute-cache shutdown no fair-queue ! interface FastEthernet0/1 no ip address no ip directed-broadcast shutdown ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! router ospf 1 network 206.202.16.0 0.0.0.255 area 0 ! ip classless no ip http server ! line con 0 transport input none line aux 0 line vty 0 4 login ! end

Lab 4.2.4 Router-A running-config.

Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-a ! ip subnet-zero ! process-max-time 200 ! interface FastEthernet0/0 ip address 206.202.16.1 255.255.255.0 no ip directed-broadcast ip ospf hello-interval 30 ! interface Serial0/0 no ip address no ip directed-broadcast no ip mroute-cache shutdown no fair-queue ! interface BRI0/0 no ip address no ip directed-broadcast shutdown isdn guard-timer 0 on-expiry accept ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! router ospf 1 network 206.202.16.0 0.0.0.255 area 0 ! ip classless no ip http server ! line con 0 transport input none line aux 0 line vty 0 4 login ! end

Lab 4.2.4 Router-B running-config.

Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-b ! memory-size iomem 20 ip subnet-zero ! interface FastEthernet0/0 ip address 206.202.16.2 255.255.255.0 no ip directed-broadcast ip ospf hello-interval 30 ! interface Serial0/0 no ip address no ip directed-broadcast no ip mroute-cache shutdown no fair-queue ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! router ospf 1 network 206.202.16.0 0.0.0.255 area 0 ! ip classless no ip http server ! line con 0 transport input none line aux 0 line vty 0 4 login ! end

Lab 4.2.4 Router-C running-config. Current configuration:! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-c ! ip subnet-zero ! controller T1 1/0 ! process-max-time 200 ! interface FastEthernet0/0 ip address 206.202.16.254 255.255.255.0 no ip directed-broadcast ip ospf hello-interval 30 ! interface Serial0/0 no ip address no ip directed-broadcast no ip mroute-cache shutdown no fair-queue ! interface FastEthernet0/1 no ip address no ip directed-broadcast shutdown ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! router ospf 1 network 206.202.16.0 0.0.0.255 area 0 ! ip classless no ip http server ! line con 0 transport input none line aux 0 line vty 0 4 login ! no scheduler allocate end

Lab 4.2.4b Router-A running-config. Commands in BOLD are added during this lab. Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-a ! ip subnet-zero ! process-max-time 200 ! interface FastEthernet0/0 ip address 206.202.16.1 255.255.255.0 no ip directed-broadcast ip ospf hello-interval 30 ip ospf priority 5 ! interface Serial0/0 no ip address no ip directed-broadcast no ip mroute-cache shutdown no fair-queue ! interface BRI0/0 no ip address no ip directed-broadcast shutdown isdn guard-timer 0 on-expiry accept ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! router ospf 1 network 206.202.16.0 0.0.0.255 area 0 ! ip classless no ip http server ! line con 0 transport input none line aux 0 line vty 0 4 login ! end

Lab 4.2.4b Router-B running-config. Commands in BOLD are added during this lab. Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-b ! memory-size iomem 20 ip subnet-zero ! interface FastEthernet0/0 ip address 206.202.16.2 255.255.255.0 no ip directed-broadcast ip ospf hello-interval 30 ip ospf priority 10 ! interface Serial0/0 no ip address no ip directed-broadcast no ip mroute-cache shutdown no fair-queue ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! router ospf 1 network 206.202.16.0 0.0.0.255 area 0 ! ip classless no ip http server ! line con 0 transport input none line aux 0 line vty 0 4 login ! end

Lab 4.2.4b Router-C running-config. Commands in BOLD are added during this lab. Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-c ! ip subnet-zero ! controller T1 1/0 ! process-max-time 200 ! interface FastEthernet0/0 ip address 206.202.16.254 255.255.255.0 no ip directed-broadcast ip ospf hello-interval 30 ! interface Serial0/0 no ip address no ip directed-broadcast no ip mroute-cache shutdown no fair-queue ! interface FastEthernet0/1 no ip address no ip directed-broadcast shutdown ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! router ospf 1 network 206.202.16.0 0.0.0.255 area 0 ! ip classless no ip http server ! line con 0 transport input none line aux 0 line vty 0 4 login ! no scheduler allocate end

Lab 4.3.2 Router-A running-config. Commands in BOLD are added during this lab. Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-a ! ip subnet-zero ! process-max-time 200 ! interface Loopback0 ip address 1.16.202.206 255.255.255.0 no ip directed-broadcast ! interface FastEthernet0/0 ip address 206.202.16.1 255.255.255.0 no ip directed-broadcast ip ospf hello-interval 30 ip ospf priority 0 ! interface Serial0/0 no ip address no ip directed-broadcast no ip mroute-cache shutdown no fair-queue ! interface BRI0/0 no ip address no ip directed-broadcast shutdown isdn guard-timer 0 on-expiry accept ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! router ospf 1 network 206.202.16.0 0.0.0.255 area 0 ! ip classless no ip http server ! line con 0 transport input none line aux 0 line vty 0 4 login ! no scheduler allocate

end

Lab 4.3.2 Router-B running-config. Commands in BOLD are added during this lab. Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-b ! memory-size iomem 20 ip subnet-zero ! interface Loopback0 ip address 2.16.202.206 255.255.255.0 no ip directed-broadcast ! interface FastEthernet0/0 ip address 206.202.16.2 255.255.255.0 no ip directed-broadcast ip ospf hello-interval 30 ip ospf priority 0 ! interface Serial0/0 no ip address no ip directed-broadcast no ip mroute-cache shutdown no fair-queue ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! router ospf 1 network 206.202.16.0 0.0.0.255 area 0 ! ip classless no ip http server ! line con 0 transport input none line aux 0 line vty 0 4 login ! no scheduler allocate end

Lab 4.3.2 Router-C running-config. Commands in BOLD are added during this lab. Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-c ! ip subnet-zero ! controller T1 1/0 ! process-max-time 200 ! interface Loopback0 ip address 1.1.16.254 255.255.255.0 no ip directed-broadcast ! interface FastEthernet0/0 ip address 206.202.16.254 255.255.255.0 no ip directed-broadcast ip ospf hello-interval 30 ! interface Serial0/0 no ip address no ip directed-broadcast no ip mroute-cache shutdown no fair-queue ! interface FastEthernet0/1 no ip address no ip directed-broadcast shutdown ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! router ospf 1 network 206.202.16.0 0.0.0.255 area 0 ! ip classless no ip http server ! line con 0 transport input none line aux 0 line vty 0 4 login ! no scheduler allocate

end

Lab 4.3.2.2 Router-A running-config. Commands in BOLD are added during this lab. Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-a ! ip subnet-zero ! process-max-time 200 ! interface Loopback0 ip address 1.16.202.206 255.255.255.0 no ip directed-broadcast ! interface FastEthernet0/0 ip address 206.202.16.1 255.255.255.0 no ip directed-broadcast ip ospf authentication-key cisco ip ospf hello-interval 30 ip ospf priority 0 ! interface Serial0/0 no ip address no ip directed-broadcast no ip mroute-cache shutdown no fair-queue ! interface BRI0/0 no ip address no ip directed-broadcast shutdown isdn guard-timer 0 on-expiry accept ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! router ospf 1 network 206.202.16.0 0.0.0.255 area 0 area 0 authentication ! ip classless no ip http server ! line con 0 transport input none line aux 0 line vty 0 4 login

! end

Lab 4.3.2.2 Router-B running-config. Commands in BOLD are added during this lab. Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-b ! memory-size iomem 20 ip subnet-zero ! interface Loopback0 ip address 2.16.202.206 255.255.255.0 no ip directed-broadcast ! interface FastEthernet0/0 ip address 206.202.16.2 255.255.255.0 no ip directed-broadcast ip ospf authentication-key cisco ip ospf hello-interval 30 ip ospf priority 0 ! interface Serial0/0 no ip address no ip directed-broadcast no ip mroute-cache shutdown no fair-queue ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! router ospf 1 network 206.202.16.0 0.0.0.255 area 0 area 0 authentication ! ip classless no ip http server ! line con 0 transport input none line aux 0 line vty 0 4 login ! end

Lab 4.3.2.2 Router-C running-config. Commands in BOLD are added during this lab. Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-c ! ip subnet-zero ! controller T1 1/0 ! process-max-time 200 ! interface Loopback0 ip address 1.1.16.254 255.255.255.0 no ip directed-broadcast ! interface FastEthernet0/0 ip address 206.202.16.254 255.255.255.0 no ip directed-broadcast ip ospf authentication-key cisco ip ospf hello-interval 30 ! interface Serial0/0 no ip address no ip directed-broadcast no ip mroute-cache shutdown no fair-queue ! interface FastEthernet0/1 no ip address no ip directed-broadcast shutdown ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! router ospf 1 network 206.202.16.0 0.0.0.255 area 0 area 0 authentication ! ip classless no ip http server ! line con 0 transport input none line aux 0 line vty 0 4 login

! end

Lab 4.4.4 OSPF point-to-multipoint Router configurations: Abilene#sh run Building configuration... Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname Abilene ! ! ! ! ! ! ip subnet-zero ! ! ! ! process-max-time 200 ! interface FastEthernet0/0 ip address 192.168.10.1 255.255.255.0 no ip directed-broadcast ! interface Serial0/0 no ip address no ip directed-broadcast encapsulation frame-relay IETF no ip mroute-cache cdp enable ! interface Serial0/0.101 multipoint ip address 172.16.4.1 255.255.255.0 no ip directed-broadcast ip ospf network point-to-multipoint frame-relay interface-dlci 101 frame-relay interface-dlci 102 ! interface BRI0/0 no ip address no ip directed-broadcast shutdown isdn guard-timer 0 on-expiry accept ! router ospf 1 network 172.16.4.0 0.0.0.255 area 0 network 192.168.10.0 0.0.0.255 area 0 ! ip classless

no ip http server ! ! line con 0 transport input none line aux 0 line vty 0 4 password cisco login ! ! no scheduler allocate end Abilene# Biloxi#sh run Building configuration... Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname Biloxi ! ! ! ! ! ! ip subnet-zero no ip domain-lookup ! ! ! ! process-max-time 200 ! interface FastEthernet0/0 ip address 192.168.11.1 255.255.255.0 no ip directed-broadcast ! interface Serial0/0 no ip address no ip directed-broadcast encapsulation frame-relay IETF ! interface Serial0/0.101 multipoint ip address 172.16.4.2 255.255.255.0 no ip directed-broadcast ip ospf network point-to-multipoint frame-relay map ip 192.168.10.0 101 broadcast frame-relay map ip 192.168.12.0 101 broadcast ! interface FastEthernet0/1

no ip address no ip directed-broadcast shutdown ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! interface Serial0/2 no ip address no ip directed-broadcast shutdown ! router ospf 1 network 172.16.4.0 0.0.0.255 area 0 network 192.168.11.0 0.0.0.255 area 0 ! ip classless no ip http server ! ! line con 0 transport input none line aux 0 line vty 0 4 password cisco login ! ! no scheduler allocate end Biloxi#

Chicago#sh run Building configuration... Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname Chicago ! enable secret 5 $1$M/AN$TSYfC836C6qLbOjP9HatP0 enable password cisco ! ! memory-size iomem 25 ip subnet-zero ! ! !

process-max-time 200 ! interface Serial0 no ip address no ip directed-broadcast encapsulation frame-relay IETF no ip mroute-cache ! interface Serial0.1 multipoint ip address 172.16.4.3 255.255.255.0 no ip directed-broadcast ip ospf network point-to-multipoint frame-relay map ip 192.168.10.0 102 broadcast frame-relay map ip 192.168.11.0 102 broadcast ! interface BRI0 no ip address no ip directed-broadcast shutdown isdn switch-type basic-5ess ! interface FastEthernet0 ip address 192.168.12.1 255.255.255.0 no ip directed-broadcast ! router ospf 1 network 172.16.4.0 0.0.0.255 area 0 network 192.168.12.0 0.0.0.255 area 0 ! ip classless no ip http server ! line con 0 transport input none line aux 0 line vty 0 4 password cisco login ! end Chicago#

Chapter 5 Lab 5.1.2 Router-A running-config. Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-a ! enable secret 5 $1$6633$DxJkx63GiuVBPaFCqWjsc/ ! memory-size iomem 20 ip subnet-zero ! interface FastEthernet0/0 ip address 206.202.0.1 255.255.255.0 no ip directed-broadcast ! interface Serial0/0 no ip address no ip directed-broadcast no ip mroute-cache shutdown no fair-queue ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! router ospf 1 network 206.202.0.0 0.0.0.255 area 0 ! ip classless no ip http server ! line con 0 transport input none line aux 0 line vty 0 4 password cisco login ! end

Lab 5.1.2 Router-B running-config. Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-b ! enable secret 5 $1$uEsO$7x/1Cvaqaxf86slZ6euTH/ ! username andrew password 0 cisco ! ip subnet-zero ! process-max-time 200 ! interface Loopback0 ip address 2.0.202.206 255.255.255.0 no ip directed-broadcast ! interface FastEthernet0/0 ip address 206.202.0.2 255.255.255.0 no ip directed-broadcast ! interface Serial0/0 ip address 206.202.1.1 255.255.255.0 no ip directed-broadcast no ip mroute-cache clockrate 56000 ! interface BRI0/0 no ip address no ip directed-broadcast shutdown isdn guard-timer 0 on-expiry accept ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! router ospf 1 network 206.202.0.0 0.0.0.255 area 0 network 206.202.1.0 0.0.0.255 area 1 ! ip classless no ip http server ! line con 0 transport input none line aux 0 line vty 0 4 password cisco login !

no scheduler allocate end

Lab 5.1.2 Router-C running-config. Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-c ! enable secret 5 $1$SQRF$qRTuigxTt3seYF6g.pE1L. ! ip subnet-zero ! controller T1 1/0 ! process-max-time 200 ! interface Loopback0 ip address 1.2.202.206 255.255.255.0 no ip directed-broadcast ! interface FastEthernet0/0 ip address 206.202.2.1 255.255.255.0 no ip directed-broadcast ! interface Serial0/0 ip address 206.202.1.2 255.255.255.0 no ip directed-broadcast ! interface FastEthernet0/1 no ip address no ip directed-broadcast shutdown ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! router ospf 1 network 206.202.1.0 0.0.0.255 area 1 network 206.202.2.0 0.0.0.255 area 1 ! ip classless no ip http server ! line con 0 transport input none line aux 0 line vty 0 4 password cisco login ! end

Lab 5.1.2 Router-D running-config. router-d#show run Building configuration... Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-d ! enable secret 5 $1$3u6b$bWk70JA5ZOob4VM8TWkKb1 ! ip subnet-zero ! ip audit notify log ip audit po max-events 100 ! process-max-time 200 ! interface Loopback0 ip address 2.2.202.206 255.255.255.0 no ip directed-broadcast ! interface FastEthernet0/0 ip address 206.202.2.2 255.255.255.0 no ip directed-broadcast ! interface Serial0/0 no ip address no ip directed-broadcast no ip mroute-cache shutdown no fair-queue ! interface BRI0/0 no ip address no ip directed-broadcast shutdown isdn guard-timer 0 on-expiry accept ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! router ospf 1 network 206.202.2.0 0.0.0.255 area 1 ! ip classless no ip http server ! line con 0 transport input none line aux 0 line vty 0 4

password cisco login ! ! end

Lab 5.1.2b Router-B running-config. Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-b ! enable secret 5 $1$uEsO$7x/1Cvaqaxf86slZ6euTH/ ! username andrew password 0 cisco ! ip subnet-zero ! process-max-time 200 ! interface Loopback0 ip address 2.0.202.206 255.255.255.0 no ip directed-broadcast ! interface FastEthernet0/0 ip address 206.202.0.2 255.255.255.0 no ip directed-broadcast ! interface Serial0/0 bandwidth 56 ip address 206.202.1.1 255.255.255.0 no ip directed-broadcast no ip mroute-cache fair-queue 64 32 0 clockrate 56000 ! interface BRI0/0 no ip address no ip directed-broadcast shutdown isdn guard-timer 0 on-expiry accept ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! router ospf 1 network 206.202.0.0 0.0.0.255 area 0 network 206.202.1.0 0.0.0.255 area 1 ! ip classless no ip http server ! line con 0 transport input none line aux 0 line vty 0 4 password cisco

login ! no scheduler allocate end

Lab 5.1.2b Router-C running-config. Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-c ! enable secret 5 $1$SQRF$qRTuigxTt3seYF6g.pE1L. ! ip subnet-zero ! controller T1 1/0 ! process-max-time 200 ! interface Loopback0 ip address 1.2.202.206 255.255.255.0 no ip directed-broadcast ! interface FastEthernet0/0 ip address 206.202.2.1 255.255.255.0 no ip directed-broadcast ! interface Serial0/0 bandwidth 56 ip address 206.202.1.2 255.255.255.0 no ip directed-broadcast fair-queue 64 256 0 ! interface FastEthernet0/1 no ip address no ip directed-broadcast shutdown ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! router ospf 1 network 206.202.1.0 0.0.0.255 area 1 network 206.202.2.0 0.0.0.255 area 1 ! ip classless no ip http server ! line con 0 transport input none line aux 0 line vty 0 4 password cisco login ! end

Lab 5.3.2-Running configuration for router B Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-b ! ip subnet-zero ! process-max-time 200 ! interface Loopback0 ip address 1.1.202.206 255.255.255.0 no ip directed-broadcast ! interface FastEthernet0/0 no ip address no ip directed-broadcast shutdown ! interface Serial0/0 ip address 206.202.1.1 255.255.255.0 no ip mroute-cache no fair-queue clockrate 56000 ! interface FastEthernet0/1 no ip address shutdown ! interface Serial0/1 ip address 206.202.0.2 255.255.255.0 clockrate 56000 ! interface Serial0/2 no ip address shutdown ! router ospf 1 network 206.202.0.0 0.0.3.255 area 0 ! ip classless no ip http server ! line con 0 transport input none line aux 0 line vty 0 4 login ! end

Lab 5.3.2-Running configuration for router A Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-a ! enable secret 5 $1$LByp$.EGN6MvhHgKuzTqPbBihi1 ! memory-size iomem 25 ip subnet-zero ! process-max-time 200 ! interface Loopback0 ip address 1.0.202.206 255.255.255.0 no ip directed-broadcast ! interface Serial0 ip address 206.202.0.1 255.255.255.0 no ip directed-broadcast no ip mroute-cache no fair-queue ! interface BRI0 no ip address no ip directed-broadcast shutdown isdn guard-timer 0 on-expiry accept ! interface FastEthernet0 no ip address no ip directed-broadcast shutdown ! router ospf 1 network 206.202.0.0 0.0.3.255 area 0 ! ip classless no ip http server ! line con 0 transport input none line aux 0 line vty 0 4 password cisco login ! end

Lab 5.3.2-Running configuration for router C Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-c ! enable secret 5 $1$9mxE$uXRpti/RpBxv/mebYCbqI0 ! ip subnet-zero ! process-max-time 200 ! interface Loopback0 ip address 2.1.202.206 255.255.255.0 no ip directed-broadcast ! interface Loopback1 ip address 192.168.1.1 255.255.255.0 no ip directed-broadcast ! interface Loopback2 ip address 192.168.2.1 255.255.255.0 no ip directed-broadcast ! interface Loopback3 ip address 192.168.3.1 255.255.255.0 no ip directed-broadcast ! interface FastEthernet0/0 no ip address no ip directed-broadcast shutdown ! interface Serial0/0 ip address 206.202.1.2 255.255.255.0 no ip directed-broadcast no ip mroute-cache no fair-queue ! interface BRI0/0 no ip address no ip directed-broadcast shutdown isdn guard-timer 0 on-expiry accept ! router ospf 1 summary-address 192.168.0.0 255.255.252.0 redistribute rip subnets network 206.202.0.0 0.0.3.255 area 0 ! ! router rip network 192.168.1.0

network 192.168.2.0 network 192.168.3.0 ! ip classless no ip http server ! ! line con 0 exec-timeout 0 0 transport input none line aux 0 line vty 0 4 password cisco login ! ! end

Lab 5.3.3 Router-A running-config. Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-a ! ip subnet-zero ! process-max-time 200 ! interface Loopback0 ip address 1.4.202.206 255.255.255.0 no ip directed-broadcast ! interface FastEthernet 0 ip address 206.202.4.1 255.255.255.0 no ip directed-broadcast ! interface Serial 0 ip address 206.202.0.5 255.255.255.252 no ip directed-broadcast no ip mroute-cache clockrate 56000 ! interface BRI0/0 no ip address no ip directed-broadcast shutdown isdn guard-timer 0 on-expiry accept ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! router ospf 1 network 206.202.0.0 0.0.0.255 area 0 network 206.202.4.0 0.0.0.255 area 1 ! ip classless no ip http server ! ! line con 0 transport input none line aux 0 line vty 0 4 ! no scheduler allocate end

Lab 5.3.3 Router-B running-config. Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-b ! ip subnet-zero ! ip audit notify log ip audit po max-events 100 ! process-max-time 200 ! interface Loopback0 ip address 1.16.202.206 255.255.255.0 no ip directed-broadcast ! interface FastEthernet0/0 ip address 206.202.16.1 255.255.255.0 no ip directed-broadcast ! interface Serial0/0 ip address 206.202.0.6 255.255.255.252 no ip directed-broadcast no ip mroute-cache no fair-queue ! interface BRI0/0 no ip address no ip directed-broadcast shutdown isdn guard-timer 0 on-expiry accept ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! router ospf 1 network 206.202.0.0 0.0.0.255 area 0 network 206.202.16.0 0.0.0.255 area 2 area 0 range 206.202.0.0 255.255.252.0 area 2 range 206.202.16.0 255.255.240.0 ! ip classless no ip http server ! ! line con 0 exec-timeout 0 0 transport input none line aux 0 line vty 0 4

! no scheduler allocate end

Lab 5.3.3 Router-C running-config. Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-c ! ip subnet-zero ! controller T1 1/0 ! process-max-time 200 ! interface Loopback0 ip address 2.16.202.206 255.255.255.0 no ip directed-broadcast ! interface FastEthernet0/0 ip address 206.202.16.2 255.255.255.0 no ip directed-broadcast ! interface Serial0/0 no ip address no ip directed-broadcast no ip mroute-cache shutdown no fair-queue ! interface FastEthernet0/1 ip address 206.202.31.1 255.255.255.0 no ip directed-broadcast ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! router ospf 1 network 206.202.16.0 0.0.0.255 area 2 network 206.202.31.0 0.0.0.255 area 2 ! ip classless no ip http server ! line con 0 transport input none line aux 0 line vty 0 4 ! no scheduler allocate end

Lab 5.4.5 Router-B running-config.for stub only Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-b ! enable secret 5 $1$uEsO$7x/1Cvaqaxf86slZ6euTH/ ! username andrew password 0 cisco ! ip subnet-zero ! process-max-time 200 ! interface Loopback0 ip address 2.0.202.206 255.255.255.0 no ip directed-broadcast ! interface FastEthernet0/0 ip address 206.202.0.2 255.255.255.0 no ip directed-broadcast ! interface Serial0/0 bandwidth 56 ip address 206.202.1.1 255.255.255.0 no ip directed-broadcast no ip mroute-cache fair-queue 64 32 0 clockrate 56000 ! interface BRI0/0 no ip address no ip directed-broadcast shutdown isdn guard-timer 0 on-expiry accept ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! interface Async65 ip unnumbered FastEthernet0/0 no ip directed-broadcast encapsulation ppp ip tcp header-compression passive async default routing async mode interactive peer default ip address 206.202.0.101 no cdp enable ppp authentication pap ! router ospf 1

network 206.202.0.0 0.0.0.255 area 0 network 206.202.1.0 0.0.0.255 area 1 area 1 stub ! ip classless no ip http server ! line con 0 transport input none line aux 0 exec-timeout 0 0 autoselect ppp modem InOut modem autoconfigure discovery transport input all stopbits 1 speed 57600 flowcontrol hardware line vty 0 4 password cisco login ! no scheduler allocate end

Lab 5.4.5 Router-B running-config. for totally stub Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-b ! enable secret 5 $1$uEsO$7x/1Cvaqaxf86slZ6euTH/ ! username andrew password 0 cisco ! ip subnet-zero ! process-max-time 200 ! interface Loopback0 ip address 2.0.202.206 255.255.255.0 no ip directed-broadcast ! interface FastEthernet0/0 ip address 206.202.0.2 255.255.255.0 no ip directed-broadcast ! interface Serial0/0 bandwidth 56 ip address 206.202.1.1 255.255.255.0 no ip directed-broadcast no ip mroute-cache fair-queue 64 32 0 clockrate 56000 ! interface BRI0/0 no ip address no ip directed-broadcast shutdown isdn guard-timer 0 on-expiry accept ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! router ospf 1 network 206.202.0.0 0.0.0.255 area 0 network 206.202.1.0 0.0.0.255 area 1 area 1 stub no-summary area 1 default-cost 10 ! ip classless no ip http server ! line con 0 transport input none line aux 0

line vty 0 4 password cisco login ! no scheduler allocate end

Lab 5.4.5 Router-C running-config Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-c ! enable secret 5 $1$SQRF$qRTuigxTt3seYF6g.pE1L. ! ip subnet-zero ! controller T1 1/0 ! process-max-time 200 ! interface Loopback0 ip address 1.2.202.206 255.255.255.0 no ip directed-broadcast ! interface FastEthernet0/0 ip address 206.202.2.1 255.255.255.0 no ip directed-broadcast ! interface Serial0/0 bandwidth 56 ip address 206.202.1.2 255.255.255.0 no ip directed-broadcast fair-queue 64 256 0 ! interface FastEthernet0/1 no ip address no ip directed-broadcast shutdown ! ! no ip address no ip directed-broadcast shutdown ! router ospf 1 network 206.202.1.0 0.0.0.255 area 1 network 206.202.2.0 0.0.0.255 area 1 area 1 stub ! ip classless no ip http server ! line con 0 transport input none line aux 0 line vty 0 4 password cisco login !

end

Lab 5.4.5 Router-D running-config Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-d ! enable secret 5 $1$3u6b$bWk70JA5ZOob4VM8TWkKb1 ! ip subnet-zero ! ip audit notify log ip audit po max-events 100 ! process-max-time 200 ! interface Loopback0 ip address 2.2.202.206 255.255.255.0 no ip directed-broadcast ! interface FastEthernet0/0 ip address 206.202.2.2 255.255.255.0 no ip directed-broadcast ! interface Serial0/0 no ip address no ip directed-broadcast no ip mroute-cache shutdown no fair-queue ! interface BRI0/0 no ip address no ip directed-broadcast shutdown isdn guard-timer 0 on-expiry accept ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! router ospf 1 network 206.202.2.0 0.0.0.255 area 1 area 1 stub ! ip classless no ip http server ! line con 0 transport input none line aux 0 line vty 0 4 password cisco

login ! end

Lab 5.5.5 Router-A running-config. Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-a ! enable secret 5 $1$6633$DxJkx63GiuVBPaFCqWjsc/ ! memory-size iomem 20 ip subnet-zero ! interface FastEthernet0/0 ip address 206.202.0.1 255.255.255.0 no ip directed-broadcast ! interface Serial0/0 no ip address no ip directed-broadcast no ip mroute-cache shutdown no fair-queue ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! router ospf 1 network 206.202.0.0 0.0.0.255 area 0 ! ip classless no ip http server ! line con 0 transport input none line aux 0 line vty 0 4 password cisco login ! end

Lab 5.5.5 Router-B running-config. version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-b ! enable secret 5 $1$uEsO$7x/1Cvaqaxf86slZ6euTH/ ! ip subnet-zero ! process-max-time 200 ! interface Loopback0 ip address 2.0.202.206 255.255.255.0 no ip directed-broadcast ! interface FastEthernet0/0 ip address 206.202.0.2 255.255.255.0 no ip directed-broadcast ! interface Serial0/0 ip address 206.202.1.1 255.255.255.0 no ip directed-broadcast no ip mroute-cache clockrate 56000 ! interface BRI0/0 no ip address no ip directed-broadcast shutdown isdn guard-timer 0 on-expiry accept ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! router ospf 1 network 206.202.0.0 0.0.0.255 area 0 network 206.202.1.0 0.0.0.255 area 1 area 1 virtual-link 1.2.202.206 ! ip classless no ip http server ! ! line con 0 transport input none line aux 0 line vty 0 4 password cisco login ! no scheduler allocate end

Lab 5.5.5 Router-C running-config. Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-c ! enable secret 5 $1$SQRF$qRTuigxTt3seYF6g.pE1L. ! ip subnet-zero ! controller T1 1/0 ! process-max-time 200 ! interface Loopback0 ip address 1.2.202.206 255.255.255.0 no ip directed-broadcast ! interface FastEthernet0/0 ip address 206.202.2.1 255.255.255.0 no ip directed-broadcast ! interface Serial0/0 ip address 206.202.1.2 255.255.255.0 no ip directed-broadcast ! interface FastEthernet0/1 no ip address no ip directed-broadcast shutdown ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! router ospf 1 network 206.202.1.0 0.0.0.255 area 1 network 206.202.2.0 0.0.0.255 area 0 area 1 virtual-link 2.0.202.206 ! ip classless no ip http server ! line con 0 transport input none line aux 0 line vty 0 4 password cisco login ! ! end

Lab 5.5.5 Router-C running-config. Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-d ! enable secret 5 $1$3u6b$bWk70JA5ZOob4VM8TWkKb1 ! ip subnet-zero ! ip audit notify log ip audit po max-events 100 ! process-max-time 200 ! interface Loopback0 ip address 2.2.202.206 255.255.255.0 no ip directed-broadcast ! interface FastEthernet0/0 ip address 206.202.2.2 255.255.255.0 no ip directed-broadcast ! interface Serial0/0 no ip address no ip directed-broadcast no ip mroute-cache shutdown no fair-queue ! interface BRI0/0 no ip address no ip directed-broadcast shutdown isdn guard-timer 0 on-expiry accept ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! router ospf 1 network 206.202.2.0 0.0.0.255 area 0 ! ip classless no ip http server ! line con 0 transport input none line aux 0 line vty 0 4 password cisco login

! ! end

Lab 5.6.1-Running configuration for router A Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-a ! enable secret 5 $1$LByp$.EGN6MvhHgKuzTqPbBihi1 ! memory-size iomem 25 ip subnet-zero ! process-max-time 200 ! interface Loopback0 ip address 1.0.202.206 255.255.255.0 no ip directed-broadcast ! interface Serial0 ip address 206.202.0.1 255.255.255.0 no ip directed-broadcast no ip mroute-cache no fair-queue ! interface BRI0 no ip address no ip directed-broadcast shutdown isdn guard-timer 0 on-expiry accept ! interface FastEthernet0 no ip address no ip directed-broadcast shutdown ! router ospf 1 network 206.202.0.0 0.0.0.255 area 0 ! ip classless no ip http server ! line con 0 transport input none line aux 0 line vty 0 4 password cisco login ! no scheduler allocate end

Lab 5.6.1-Running configuration for router B Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-b ! enable secret 5 $1$wM3F$p1e4CwO4DREo89oXeJEss0 ! ip subnet-zero ! process-max-time 200 ! interface Loopback0 ip address 1.1.202.206 255.255.255.0 no ip directed-broadcast ! interface FastEthernet0/0 no ip address no ip directed-broadcast shutdown ! interface Serial0/0 ip address 206.202.1.1 255.255.255.0 no ip directed-broadcast no ip mroute-cache no fair-queue clockrate 56000 ! interface FastEthernet0/1 no ip address no ip directed-broadcast shutdown ! interface Serial0/1 ip address 206.202.0.2 255.255.255.0 no ip directed-broadcast clockrate 56000 ! interface Serial0/2 no ip address no ip directed-broadcast shutdown ! router ospf 1 summary-address 192.168.0.0 255.255.252.0 not-advertise network 206.202.0.0 0.0.0.255 area 0 network 206.202.1.0 0.0.0.255 area 1 area 1 nssa ! ip classless no ip http server ! line con 0

transport input none line aux 0 line vty 0 4 login ! no scheduler allocate end

Lab 5.6.1-Running configuration for router C Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-c ! enable secret 5 $1$9mxE$uXRpti/RpBxv/mebYCbqI0 ! ip subnet-zero ! process-max-time 200 ! interface Loopback0 ip address 2.1.202.206 255.255.255.0 no ip directed-broadcast ! interface Loopback1 ip address 192.168.1.1 255.255.255.0 no ip directed-broadcast ! interface Loopback2 ip address 192.168.2.1 255.255.255.0 no ip directed-broadcast ! interface Loopback3 ip address 192.168.3.1 255.255.255.0 no ip directed-broadcast ! interface Loopback5 ip address 192.168.5.1 255.255.255.0 no ip directed-broadcast ! interface FastEthernet0/0 no ip address no ip directed-broadcast shutdown ! interface Serial0/0 ip address 206.202.1.2 255.255.255.0 no ip directed-broadcast no ip mroute-cache no fair-queue ! interface BRI0/0 no ip address no ip directed-broadcast shutdown isdn guard-timer 0 on-expiry accept ! ! ! router ospf 1 redistribute rip subnets

network 206.202.1.0 0.0.0.255 area 1 area 1 nssa ! router rip network 192.168.1.0 network 192.168.2.0 network 192.168.3.0 network 192.168.5.0 ! ip classless no ip http server ! ! line con 0 exec-timeout 0 0 transport input none line aux 0 line vty 0 4 password cisco login ! ! no scheduler allocate end

Chapter 6 Lab 6.1.0 Router-B running-config. Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-b ! enable secret 5 $1$aGos$4qV2mo8RfOzDRpNwCVrVn1 ! username andrew password 0 cisco ! ip subnet-zero ! process-max-time 200 ! interface FastEthernet0/0 ip address 206.202.16.2 255.255.255.0 no ip directed-broadcast ! interface Serial0/0 ip address 192.168.0.1 255.255.255.0 no ip directed-broadcast no ip mroute-cache random-detect clockrate 56000 ! interface BRI0/0 no ip address no ip directed-broadcast shutdown isdn guard-timer 0 on-expiry accept ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! router eigrp 44 network 192.168.0.0 network 206.202.16.0 ! ip classless no ip http server ! ! line con 0 transport input none line aux 0 line vty 0 4 password cisco login

! end

Lab 6.1.0 Router-A running-config. Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-a ! enable secret 5 $1$wS3a$8Mm.0kifnhJ/IBYK2cv4M1 ! memory-size iomem 20 ip subnet-zero ! ! ! ! ! interface FastEthernet0/0 ip address 206.202.16.1 255.255.255.0 no ip directed-broadcast ! interface Serial0/0 no ip address no ip directed-broadcast no ip mroute-cache shutdown ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! router eigrp 44 network 206.202.16.0 ! ip classless no ip http server ! ! line con 0 transport input none line aux 0 line vty 0 4 password cisco login ! no scheduler allocate end

Lab 6.1.0 Router-D running-config. Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-d ! enable secret 5 $1$OFqy$atIwhC4joWt/AlJqoX.FD/ ! ip subnet-zero ! controller T1 1/0 ! process-max-time 200 ! interface FastEthernet0/0 ip address 192.168.1.2 255.255.255.0 no ip directed-broadcast ! interface Serial0/0 no ip address no ip directed-broadcast no ip mroute-cache shutdown no fair-queue ! interface FastEthernet0/1 no ip address no ip directed-broadcast shutdown ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! router eigrp 44 network 192.168.1.0 ! ip classless no ip http server ! line con 0 transport input none line aux 0 line vty 0 4 password cisco login ! end

Lab 6.1.0 Router-C running-config. Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-c ! enable secret 5 $1$1ii7$Y2dDkNZzXGiIjWDRp1KKF. ! ip subnet-zero ! ip audit notify log ip audit po max-events 100 ! process-max-time 200 ! interface FastEthernet0/0 ip address 192.168.1.1 255.255.255.0 no ip directed-broadcast ! interface Serial0/0 ip address 192.168.0.2 255.255.255.0 no ip directed-broadcast no ip mroute-cache no fair-queue ! interface BRI0/0 no ip address no ip directed-broadcast shutdown isdn guard-timer 0 on-expiry accept ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! router eigrp 44 network 192.168.0.0 network 192.168.1.0 ! ip classless no ip http server ! line con 0 exec-timeout 0 0 transport input none line aux 0 line vty 0 4 password cisco login ! end

Lab 6.1.1 Router-B running-config. Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-b ! enable secret 5 $1$aGos$4qV2mo8RfOzDRpNwCVrVn1 ! username andrew password 0 cisco ! ip subnet-zero ! process-max-time 200 ! interface FastEthernet0/0 ip address 206.202.16.2 255.255.255.0 no ip directed-broadcast ! interface Serial0/0 ip address 192.168.0.1 255.255.255.0 no ip directed-broadcast no ip mroute-cache random-detect clockrate 56000 ! interface BRI0/0 no ip address no ip directed-broadcast shutdown isdn guard-timer 0 on-expiry accept ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! router eigrp 44 network 192.168.0.0 ! router igrp 44 network 206.202.16.0 ! ip classless no ip http server ! line con 0 transport input none line aux 0 line vty 0 4 password cisco login ! end

Lab 6.1.1 Router-A running-config. Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-a ! enable secret 5 $1$wS3a$8Mm.0kifnhJ/IBYK2cv4M1 ! memory-size iomem 20 ip subnet-zero ! interface FastEthernet0/0 ip address 206.202.16.1 255.255.255.0 no ip directed-broadcast ! interface Serial0/0 no ip address no ip directed-broadcast no ip mroute-cache shutdown ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! router igrp 44 network 206.202.16.0 ! ip classless no ip http server ! line con 0 transport input none line aux 0 line vty 0 4 password cisco login !

Lab 6.2.2 Router-B running-config. Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-b ! enable secret 5 $1$aGos$4qV2mo8RfOzDRpNwCVrVn1 ! username andrew password 0 cisco ! ip subnet-zero ! process-max-time 200 ! interface FastEthernet0/0 ip address 206.202.16.2 255.255.255.0 no ip directed-broadcast ! interface Serial0/0 bandwidth 56 ip address 192.168.0.1 255.255.255.0 no ip directed-broadcast no ip mroute-cache random-detect clockrate 56000 ! interface BRI0/0 no ip address no ip directed-broadcast shutdown isdn guard-timer 0 on-expiry accept ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! router eigrp 44 network 192.168.0.0 network 206.202.16.0 ! ip classless no ip http server ! ! line con 0 transport input none line aux 0 line vty 0 4 password cisco login ! !

end

Lab 6.2.2 Router-A running-config. Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-a ! enable secret 5 $1$wS3a$8Mm.0kifnhJ/IBYK2cv4M1 ! memory-size iomem 20 ip subnet-zero ! interface FastEthernet0/0 ip address 206.202.16.1 255.255.255.0 no ip directed-broadcast ! interface Serial0/0 ip address 206.202.17.1 255.255.255.0 no ip directed-broadcast no ip mroute-cache clockrate 56000 ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! router eigrp 44 network 206.202.16.0 network 206.202.17.0 ! ip classless no ip http server ! ! line con 0 transport input none line aux 0 line vty 0 4 password cisco login ! no scheduler allocate end

Lab 6.2.2 Router-C running-config. Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-c ! enable secret 5 $1$1ii7$Y2dDkNZzXGiIjWDRp1KKF. ! ip subnet-zero ! ip audit notify log ip audit po max-events 100 ! process-max-time 200 ! interface FastEthernet0/0 ip address 192.168.1.1 255.255.255.0 no ip directed-broadcast ! interface Serial0/0 ip address 192.168.0.2 255.255.255.0 no ip directed-broadcast no ip mroute-cache no fair-queue ! interface BRI0/0 no ip address no ip directed-broadcast shutdown isdn guard-timer 0 on-expiry accept ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! router eigrp 44 network 192.168.0.0 network 192.168.1.0 ! ip classless no ip http server ! line con 0 exec-timeout 0 0 transport input none line aux 0 line vty 0 4 password cisco login ! end

Lab 6.2.2 Router-D running-config. Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-d ! enable secret 5 $1$OFqy$atIwhC4joWt/AlJqoX.FD/ ! ip subnet-zero ! controller T1 1/0 ! process-max-time 200 ! interface FastEthernet0/0 ip address 192.168.1.2 255.255.255.0 no ip directed-broadcast ! interface Serial0/0 ip address 206.202.17.2 255.255.255.0 no ip directed-broadcast no ip mroute-cache no fair-queue ! interface FastEthernet0/1 ip address 206.202.18.1 255.255.255.0 no ip directed-broadcast ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! router eigrp 44 network 192.168.1.0 network 206.202.17.0 network 206.202.18.0 ! ip classless no ip http server ! line con 0 transport input none line aux 0 line vty 0 4 password cisco login ! end

Lab 6.5.4 Router-A running-config. Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-a ! ! memory-size iomem 20 ip subnet-zero ! interface FastEthernet0/0 ip address 206.202.19.97 255.255.255.224 no ip directed-broadcast ! interface Serial0/0 ip address 206.202.19.89 255.255.255.252 no ip directed-broadcast no ip mroute-cache no fair-queue clockrate 56000 ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! router eigrp 83 network 206.202.19.0 no auto-summary ! ip classless no ip http server ! line con 0 transport input none line aux 0 line vty 0 4 ! no scheduler allocate end

Lab 6.5.4 Router-B running-config. Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-b ! ip subnet-zero ! process-max-time 200 ! interface FastEthernet0/0 ip address 206.202.19.81 255.255.255.248 no ip directed-broadcast ! interface Serial0/0 ip address 206.202.19.93 255.255.255.252 no ip directed-broadcast no ip mroute-cache no fair-queue clockrate 56000 ! interface BRI0/0 no ip address no ip directed-broadcast shutdown isdn guard-timer 0 on-expiry accept ! interface Serial0/1 ip address 206.202.19.90 255.255.255.252 no ip directed-broadcast ! router eigrp 83 network 206.202.19.0 no auto-summary ! ip classless no ip http server ! line con 0 exec-timeout 0 0 transport input none line aux 0 line vty 0 4 ! no scheduler allocate end

Lab 6.5.4 Router-D running-config. Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-d ! ip subnet-zero ! controller T1 1/0 ! process-max-time 200 ! interface FastEthernet0/0 ip address 206.202.19.129 255.255.255.192 no ip directed-broadcast ! interface Serial0/0 no ip address no ip directed-broadcast no ip mroute-cache shutdown no fair-queue ! interface FastEthernet0/1 no ip address no ip directed-broadcast shutdown ! interface Serial0/1 ip unnumbered FastEthernet0/0 no ip directed-broadcast ! router eigrp 83 network 206.202.19.0 no auto-summary ! ip classless no ip http server ! line con 0 transport input none line aux 0 line vty 0 4 ! no scheduler allocate end

Lab 6.5.4 Router-C running-config. Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-c ! ip subnet-zero ! ip audit notify log ip audit po max-events 100 ! process-max-time 200 ! interface FastEthernet0/0 ip address 206.202.19.65 255.255.255.240 no ip directed-broadcast ! interface Serial0/0 ip address 206.202.19.94 255.255.255.252 no ip directed-broadcast no ip mroute-cache no fair-queue ! interface BRI0/0 no ip address no ip directed-broadcast shutdown isdn guard-timer 0 on-expiry accept ! interface Serial0/1 ip unnumbered FastEthernet0/0 no ip directed-broadcast clockrate 56000 ! router eigrp 83 network 206.202.19.0 no auto-summary ! ip classless no ip http server ! ! line con 0 transport input none line aux 0 line vty 0 4 ! no scheduler allocate end

Lab 6.7.1 Router-A running-config. Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-a ! ! memory-size iomem 20 ip subnet-zero ! interface FastEthernet0/0 no ip address no ip directed-broadcast shutdown ! interface Serial0/0 ip address 172.16.1.1 255.255.255.0 no ip directed-broadcast no ip mroute-cache no fair-queue clockrate 56000 ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! router eigrp 44 network 172.16.0.0 ! ip classless no ip http server ! ! line con 0 transport input none line aux 0 line vty 0 4 ! no scheduler allocate end

Lab 6.7.1 Router-B running-config. Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-b ! ip subnet-zero ! process-max-time 200 ! interface FastEthernet0/0 ip address 10.1.2.1 255.255.255.0 no ip directed-broadcast ! interface Serial0/0 ip address 172.16.1.2 255.255.255.0 no ip directed-broadcast no ip mroute-cache no fair-queue ! interface BRI0/0 no ip address no ip directed-broadcast shutdown isdn guard-timer 0 on-expiry accept ! interface Serial0/1 bandwidth 256 ip address 10.1.1.1 255.255.255.0 no ip directed-broadcast fair-queue 64 32 0 clockrate 56000 ! router eigrp 44 network 10.0.0.0 network 172.16.0.0 no auto-summary ! ip classless no ip http server ! line con 0 transport input none line aux 0 line vty 0 4 ! no scheduler allocate end

Lab 6.7.1 Router-C running-config. Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-c ! ip subnet-zero ! ip audit notify log ip audit po max-events 100 ! process-max-time 200 ! interface FastEthernet0/0 ip address 10.1.3.1 255.255.255.0 no ip directed-broadcast ! interface Serial0/0 bandwidth 256 ip address 10.1.1.2 255.255.255.0 no ip directed-broadcast no ip mroute-cache no fair-queue ! interface BRI0/0 no ip address no ip directed-broadcast shutdown isdn guard-timer 0 on-expiry accept ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! router eigrp 44 network 10.0.0.0 ! ip classless no ip http server ! line con 0 transport input none line aux 0 line vty 0 4 ! no scheduler allocate end

Lab 6.7.1 Router-D running-config. Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-d ! ip subnet-zero ! controller T1 1/0 ! process-max-time 200 ! interface FastEthernet0/0 ip address 10.1.2.2 255.255.255.0 no ip directed-broadcast ! interface Serial0/0 no ip address no ip directed-broadcast no ip mroute-cache shutdown ! interface FastEthernet0/1 no ip address no ip directed-broadcast shutdown ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! router eigrp 44 network 10.0.0.0 ! ip classless no ip http server ! line con 0 transport input none line aux 0 line vty 0 4 ! ! no scheduler allocate end

Lab 6.7.2 - EIGRP interface summarization-router A Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-a ! enable secret 5 $1$MB9D$q0zX5M5ZI5AY2C8cSvOJY0 ! ! ip subnet-zero ! isdn voice-call-failure 0 ! interface Ethernet0 no ip address no ip directed-broadcast ! interface Serial0/0 ip address 172.16.1.1 255.255.255.0 no ip directed-broadcast no ip mroute-cache no fair-queue clockrate 56000 ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! ! router eigrp 100 network 172.16.0.0 ! ip classless no ip http server ! ! line con 0 transport input none line aux 0 line vty 0 4 password cisco login ! end

Lab 6.7.2 - EIGRP interface summarization-router B Current configuration: ! version 11.2 no service password-encryption no service udp-small-servers no service tcp-small-servers ! hostname router-b ! enable secret 5 $1$WSY2$GI47Wa2Wiww9zAETxd0Cy0 ! interface FastEthernet0/0 ip address 172.16.16.1 255.255.255.0 ! interface Serial0/0 ip address 172.16.1.2 255.255.255.0 ip summary-address eigrp 100 172.16.16.0 255.255.240.0 ! interface Serial1 no ip address shutdown ! router eigrp 100 network 172.16.0.0 ! no ip classless ! line con 0 line aux 0 line vty 0 4 password cisco login ! end

Lab 6.7.2 - EIGRP interface summarization-router C Current configuration: ! version 11.0 service udp-small-servers service tcp-small-servers ! hostname router-c ! enable secret 5 $1$3764$.OcDfNgc2OGI2Zo1os.aQ0 ! ! interface Loopback0 ip address 172.16.17.1 255.255.255.0 ! interface Loopback1 ip address 172.16.18.1 255.255.255.0 ! interface Loopback2 ip address 172.16.19.1 255.255.255.0 ! interface Loopback3 ip address 172.16.20.1 255.255.255.0 ! interface Loopback4 ip address 172.16.21.1 255.255.255.0 ! interface Loopback5 ip address 172.16.22.1 255.255.255.0 ! interface Loopback6 ip address 172.16.23.1 255.255.255.0 ! interface Loopback7 ip address 172.16.24.1 255.255.255.0 ! interface Loopback8 ip address 172.16.25.1 255.255.255.0 ! interface Loopback9 ip address 172.16.26.1 255.255.255.0 ! interface Loopback10 ip address 172.16.27.1 255.255.255.0 ! interface Loopback11 ip address 172.16.28.1 255.255.255.0 ! interface Loopback12 ip address 172.16.29.1 255.255.255.0 ! interface Loopback13 ip address 172.16.30.1 255.255.255.0 ! interface Loopback12 ip address 172.16.31.1 255.255.255.0

! interface FastEthernet0/0 ip address 172.16.16.2 255.255.255.0 ! ! interface Serial0 no ip address shutdown no fair-queue ! interface Serial1 no ip address shutdown ! router eigrp 100 network 172.16.0.0 ! ! line con 0 line aux 0 transport input all line vty 0 4 password cisco login ! end

Chapter 7 Lab 7.2.1 Router-A running-config. Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-a ! memory-size iomem 20 ip subnet-zero ! interface Loopback0 ip address 1.33.202.206 255.255.255.0 no ip directed-broadcast ! interface FastEthernet0/0 ip address 206.202.33.1 255.255.255.0 no ip directed-broadcast ! interface Serial0/0 no ip address no ip directed-broadcast no ip mroute-cache shutdown no fair-queue ! interface Serial0/1 ip address 206.202.32.6 255.255.255.252 no ip directed-broadcast clockrate 56000 ! router ospf 1 network 206.202.32.0 0.0.31.255 area 1 ! ip classless ip route 0.0.0.0 0.0.0.0 206.202.32.5 no ip http server ! ! line con 0 transport input none line aux 0 line vty 0 4 ! no scheduler allocate end

Lab 7.2.1 Router-B running-config. Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-b ! ip subnet-zero ! process-max-time 200 ! interface Loopback0 ip address 2.0.202.206 255.255.255.0 no ip directed-broadcast ! interface FastEthernet0/0 ip address 206.202.0.2 255.255.255.0 no ip directed-broadcast ! interface Serial0/0 ip address 206.202.32.5 255.255.255.252 no ip directed-broadcast no ip mroute-cache no fair-queue ! interface BRI0/0 no ip address no ip directed-broadcast shutdown ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! router ospf 1 redistribute static passive-interface Serial0/0 network 206.202.0.0 0.0.31.255 area 0 network 206.202.32.0 0.0.31.255 area 1 ! ip classless ip route 206.202.33.0 255.255.255.0 206.202.32.6 no ip http server ! ! line con 0 transport input none line aux 0 line vty 0 4 login !

end

Lab 7.3.3-Running configuration for router A Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-a ! enable secret 5 $1$W71P$1kTDDfUG8iJ4QP6QDSBtH0 ! memory-size iomem 25 ip subnet-zero ! process-max-time 200 ! interface Serial0 ip address 192.168.13.2 255.255.255.0 no ip directed-broadcast no ip mroute-cache no fair-queue ! interface BRI0 no ip address no ip directed-broadcast shutdown isdn guard-timer 0 on-expiry accept ! interface FastEthernet0 ip address 10.1.1.1 255.255.255.0 no ip directed-broadcast ! router eigrp 192 network 10.0.0.0 network 192.168.13.0 ! ip classless no ip http server ! line con 0 transport input none line aux 0 line vty 0 4 password cisco login ! no scheduler allocate end

Lab 7.3.3-Running configuration for router C Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-c ! enable secret 5 $1$fhTG$Cncpk9h.RYY/RrgpqpyFC. ! ip subnet-zero ! process-max-time 200 ! interface FastEthernet0/0 ip address 192.168.11.1 255.255.255.0 no ip directed-broadcast ! interface Serial0/0 ip address 192.168.10.2 255.255.255.0 no ip directed-broadcast no ip mroute-cache no fair-queue ! interface BRI0/0 no ip address no ip directed-broadcast shutdown isdn guard-timer 0 on-expiry accept ! router eigrp 192 network 192.168.10.0 network 192.168.11.0 ! ip classless ip route 10.0.0.0 255.0.0.0 192.168.10.1 no ip http server ! ! line con 0 exec-timeout 0 0 transport input none line aux 0 line vty 0 4 password cisco login ! ! no scheduler allocate end

Lab 7.3.3-Running configuration for router B Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-b ! enable secret 5 $1$nGBt$9GmBfhwFb7PL/eD36XLjY0 ! ip subnet-zero ! interface FastEthernet0/0 ip address 192.168.12.1 255.255.255.0 random-detect ! interface Serial0/0 ip address 192.168.10.1 255.255.255.0 no ip mroute-cache no fair-queue clockrate 56000 ! interface FastEthernet0/1 no ip address shutdown ! interface Serial0/1 ip address 192.168.13.1 255.255.255.0 clockrate 56000 ! router eigrp 192 network 192.168.10.0 network 192.168.12.0 network 192.168.13.0 distribute-list 1 out Serial0/0 ! ip classless no ip http server ! access-list 1 deny 10.0.0.0 access-list 1 permit any ! line con 0 exec-timeout 0 0 transport input none line aux 0 line vty 0 4 password cisco login ! no scheduler allocate end

Lab 7.3.5 Router-A Initial Configuration Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-A ! enable password cisco ! memory-size iomem 20 ip subnet-zero ! ! ! controller T1 1/0 ! ! ! interface FastEthernet0/0 ip address 192.168.4.1 255.255.255.0 no ip directed-broadcast ! interface Serial0/0 bandwidth 128 ip address 192.168.2.1 255.255.255.0 no ip directed-broadcast ! interface FastEthernet0/1 no ip address no ip address shutdown ! interface Serial0/1 ip address 192.168.3.1 255.255.255.0 no ip directed-broadcast ! router ospf 1 network 192.168.0.0 0.0.7.255 area 0 ! ip classless no ip http server ! line con 0 transport input none line aux 0 line vty 0 4 password cisco login ! no scheduler allocate end

Lab 7.3.5 Router-B Initial Configuration Current configuration: ! version 11.2 no service password-encryption no service udp-small-servers no service tcp-small-servers ! hostname router-b ! enable password cisco ! ! ! interface Ethernet0 ip address 192.168.1.1 255.255.255.0 ! interface Serial0 ip address 192.168.2.2 255.255.255.0 no fair-queue clockrate 56000 ! interface Serial1 no ip address shutdown ! router ospf 1 network 192.168.0.0 0.0.7.255 area 0 ! no ip classless ! line con 0 line aux 0 line vty 0 4 password cisco login ! end

Lab 7.3.5 Router-C Initial Configuration

Current configuration: ! version 11.1 service slave-log service udp-small-servers service tcp-small-servers ! hostname router-c ! enable password cisco ! ! interface Ethernet0 ip address 192.168.1.2 255.255.255.0 ! interface Ethernet1 no ip address shutdown ! interface Serial0 ip address 192.168.3.2 255.255.255.0 clockrate 56000 ! interface Serial1 no ip address shutdown ! router ospf 1 network 192.168.0.0 0.0.7.255 area 0 ! no ip classless ! line con 0 line aux 0 line vty 0 4 password cisco login !

end

Lab 7.3.5 Router-A Final Configuration ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-A ! enable password cisco ! memory-size iomem 20 ip subnet-zero ! controller T1 1/0 ! interface FastEthernet0/0 ip address 192.168.4.1 255.255.255.0 no ip directed-broadcast ip policy route-map CHANGEROUTE ! interface Serial0/0 bandwidth 128 ip address 192.168.2.1 255.255.255.0 no ip directed-broadcast ! interface FastEthernet0/1 no ip address no ip directed-broadcast shutdown ! interface Serial0/1 ip address 192.168.3.1 255.255.255.0 no ip directed-broadcast ! router ospf 1 network 192.168.0.0 0.0.7.255 area 0 ! ip classless no ip http server ! access-list 1 permit 192.168.4.0 0.0.0.255 route-map CHANGEROUTE permit 10 match ip address 1 set interface Serial0/0 ! ! line con 0 transport input none line aux 0 line vty 0 4 password cisco login ! end

Lab 7.4.1-Running configuration for router B Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-b ! enable secret 5 $1$nGBt$9GmBfhwFb7PL/eD36XLjY0 ! ip subnet-zero ! process-max-time 200 ! interface FastEthernet0/0 ip address 192.168.12.1 255.255.255.0 no ip directed-broadcast random-detect ! interface Serial0/0 ip address 192.168.10.1 255.255.255.0 no ip directed-broadcast no ip mroute-cache no fair-queue clockrate 56000 ! interface FastEthernet0/1 no ip address no ip directed-broadcast shutdown ! interface Serial0/1 ip address 192.168.11.1 255.255.255.0 no ip directed-broadcast clockrate 56000 ! interface Serial0/2 no ip address no ip directed-broadcast shutdown ! router rip network 192.168.10.0 network 192.168.11.0 network 192.168.12.0 ! ip classless no ip http server ! line con 0 exec-timeout 0 0 transport input none line aux 0 line vty 0 4

password cisco login ! end

Lab 7.4.1-Running configuration for router C Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-c ! enable secret 5 $1$fhTG$Cncpk9h.RYY/RrgpqpyFC. ! ip subnet-zero ! process-max-time 200 ! interface FastEthernet0/0 ip address 10.1.1.1 255.255.255.0 no ip directed-broadcast ! interface Serial0/0 ip address 192.168.10.2 255.255.255.0 no ip directed-broadcast no ip mroute-cache no fair-queue ! interface BRI0/0 no ip address no ip directed-broadcast shutdown isdn guard-timer 0 on-expiry accept ! router rip network 192.168.10.0 default-information originate ! ip classless ip route 0.0.0.0 0.0.0.0 FastEthernet0/0 no ip http server ! line con 0 exec-timeout 0 0 transport input none line aux 0 line vty 0 4 password cisco login ! no scheduler allocate end

Lab 7.4.1-Running configuration for router A Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-a ! enable secret 5 $1$W71P$1kTDDfUG8iJ4QP6QDSBtH0 ! memory-size iomem 25 ip subnet-zero ! process-max-time 200 ! interface Serial0 ip address 192.168.11.2 255.255.255.0 no ip directed-broadcast no ip mroute-cache no fair-queue ! interface BRI0 no ip address no ip directed-broadcast shutdown isdn guard-timer 0 on-expiry accept ! interface FastEthernet0 ip address 192.168.9.1 255.255.255.0 no ip directed-broadcast ! router rip network 192.168.9.0 network 192.168.11.0 ! ip classless no ip http server ! line con 0 transport input none line aux 0 line vty 0 4 password cisco login ! end

Lab 7.4.3-Running configuration for router B Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-b ! enable secret 5 $1$nGBt$9GmBfhwFb7PL/eD36XLjY0 ! ip subnet-zero ! process-max-time 200 ! interface FastEthernet0/0 ip address 192.168.12.1 255.255.255.0 no ip directed-broadcast random-detect ! interface Serial0/0 ip address 192.168.10.1 255.255.255.0 no ip directed-broadcast no ip mroute-cache no fair-queue clockrate 56000 ! interface FastEthernet0/1 no ip address no ip directed-broadcast shutdown ! interface Serial0/1 ip address 192.168.11.1 255.255.255.0 no ip directed-broadcast clockrate 56000 ! interface Serial0/2 no ip address no ip directed-broadcast shutdown ! router igrp 109 network 192.168.10.0 network 192.168.11.0 network 192.168.12.0 ! ip classless no ip http server ! line con 0 exec-timeout 0 0 transport input none line aux 0

line vty 0 4 password cisco login ! no scheduler allocate end

Lab 7.4.3-Running configuration for router A Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-a ! enable secret 5 $1$W71P$1kTDDfUG8iJ4QP6QDSBtH0 ! memory-size iomem 25 ip subnet-zero ! process-max-time 200 ! interface Serial0 ip address 192.168.11.2 255.255.255.0 no ip directed-broadcast no ip mroute-cache no fair-queue ! interface BRI0 no ip address no ip directed-broadcast shutdown isdn guard-timer 0 on-expiry accept ! interface FastEthernet0 ip address 192.168.9.1 255.255.255.0 no ip directed-broadcast ! router igrp 109 network 192.168.9.0 network 192.168.11.0 ! ip classless no ip http server ! line con 0 exec-timeout 0 0 transport input none line aux 0 line vty 0 4 password cisco login ! no scheduler allocate end

Lab 7.4.3-Running configuration for router C Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-c ! enable secret 5 $1$fhTG$Cncpk9h.RYY/RrgpqpyFC. ! ip subnet-zero ! process-max-time 200 ! interface FastEthernet0/0 ip address 10.1.1.1 255.255.255.0 no ip directed-broadcast ! interface Serial0/0 ip address 192.168.10.2 255.255.255.0 no ip directed-broadcast no ip mroute-cache no fair-queue ! interface BRI0/0 no ip address no ip directed-broadcast shutdown isdn guard-timer 0 on-expiry accept ! router igrp 109 redistribute static network 192.168.10.0 ! ip classless ip default-network 10.0.0.0 ip route 10.0.0.0 255.0.0.0 10.1.1.254 no ip http server ! ! line con 0 exec-timeout 0 0 transport input none line aux 0 line vty 0 4 password cisco login ! ! no scheduler allocate end

Lab 7.4.5-Running configuration for router B Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-b ! enable secret 5 $1$nGBt$9GmBfhwFb7PL/eD36XLjY0 ! ip subnet-zero ! process-max-time 200 ! interface FastEthernet0/0 ip address 192.168.12.1 255.255.255.0 random-detect ! interface Serial0/0 ip address 192.168.10.1 255.255.255.0 no fair-queue clockrate 56000 ! interface FastEthernet0/1 no ip address shutdown ! interface Serial0/1 ip address 192.168.11.1 255.255.255.0 clockrate 56000 ! interface Serial0/2 no ip address shutdown ! router rip network 192.168.10.0 network 192.168.11.0 network 192.168.12.0 ! ip classless ip route 0.0.0.0 0.0.0.0 192.168.11.2 130 ! line con 0 exec-timeout 0 0 transport input none line aux 0 line vty 0 4 password cisco login ! no scheduler allocate end

Lab 7.4.5-Running configuration for router A Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-a ! enable secret 5 $1$W71P$1kTDDfUG8iJ4QP6QDSBtH0 ! memory-size iomem 25 ip subnet-zero ! process-max-time 200 ! interface Serial0 ip address 192.168.11.2 255.255.255.0 no ip directed-broadcast no ip mroute-cache no fair-queue ! interface BRI0 no ip address no ip directed-broadcast shutdown isdn guard-timer 0 on-expiry accept ! interface FastEthernet0 ip address 10.1.1.1 255.255.255.0 no ip directed-broadcast ! router rip network 192.168.11.0 ! ip classless no ip http server ! line con 0 transport input none line aux 0 line vty 0 4 password cisco login ! no scheduler allocate end

Lab 7.4.5-Running configuration for router C Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-c ! enable secret 5 $1$fhTG$Cncpk9h.RYY/RrgpqpyFC. ! ip subnet-zero ! process-max-time 200 ! interface FastEthernet0/0 ip address 10.1.1.2 255.255.255.0 no ip directed-broadcast ! interface Serial0/0 ip address 192.168.10.2 255.255.255.0 no ip directed-broadcast no ip mroute-cache no fair-queue ! interface BRI0/0 no ip address no ip directed-broadcast shutdown isdn guard-timer 0 on-expiry accept ! router rip network 10.0.0.0 network 192.168.10.0 ! ip classless no ip http server ! line con 0 exec-timeout 0 0 transport input none line aux 0 line vty 0 4 password cisco login ! no scheduler allocate end

Lab 7.4.6 OSPF default-information originate ROUTER C-config Current configuration: ! version 12.0 service udp-small-servers service tcp-small-servers ! hostname router-a ! enable secret 5 $1$ZkV2$qMtivm8alI3QxeEIE01n81 ! interface Loopback0 ip address 1.1.16.172 255.255.255.0 ! interface FastEthernet0/0 description TO ISP ip address 172.16.1.1 255.255.255.0 ! interface Serial0/0 ip address 192.168.0.1 255.255.255.0 no fair-queue clockrate 56000 ! interface Serial0/1 no ip address shutdown ! router ospf 1 network 206.202.16.0 0.0.0.255 area 0 network 192.168.0.0 0.0.0.255 area 0 default-information originate ! no ip classless ip route 0.0.0.0 0.0.0.0 FastEthernet0/0 ! line con 0 line aux 0 line vty 0 4 password cisco login ! end

OSPF DEFAULT-INFORMATION ORIGINATEROUTER B-config Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-b ! enable secret 5 $1$JGQR$3B5mT1ifkdcvv8UYbNkje1 ! ip subnet-zero ! interface Loopback0 ip address 2.0.168.192 255.255.255.0 ! interface FastEthernet0/0 no ip address no ip directed-broadcast shutdown ! interface Serial0/0 ip address 192.168.1.1 255.255.255.0 no ip directed-broadcast clockrate 56000 ! interface Serial0/1 ip address 192.168.0.2 255.255.255.0 no ip directed-broadcast ! router ospf 1 network 192.168.0.0 0.0.0.255 area 0 network 192.168.1.0 0.0.0.255 area 1 ! ip classless no ip http server ! line con 0 transport input none line aux 0 line vty 0 4 password cisco login ! end

Lab 7.5.10-Running configuration for router A Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-a ! enable secret 5 $1$/krC$r4B4jzU/sl8tkxDZfF0bS/ ! memory-size iomem 25 ip subnet-zero ! process-max-time 200 ! interface Loopback1 ip address 10.1.1.1 255.255.255.0 no ip directed-broadcast ! interface Loopback2 ip address 10.1.2.1 255.255.255.0 no ip directed-broadcast ! interface Loopback3 ip address 10.1.3.1 255.255.255.0 no ip directed-broadcast ! interface Serial0 ip address 192.168.10.2 255.255.255.0 no ip directed-broadcast no ip mroute-cache no fair-queue ! interface BRI0 no ip address no ip directed-broadcast shutdown isdn guard-timer 0 on-expiry accept ! interface FastEthernet0 no ip address no ip directed-broadcast shutdown ! router ospf 1 redistribute igrp 10 metric 12 metric-type 1 subnets network 192.168.8.0 0.0.3.255 area 1 ! ! router igrp 10 redistribute ospf 1 metric 56 100 255 10 1500 network 10.0.0.0 default-metric 56 100 255 10 1500

! ip classless no ip http server ! ! line con 0 transport input none line aux 0 line vty 0 4 ! no scheduler allocate end

Lab 7.5.10-Running configuration for router B Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-b ! enable secret 5 $1$jRYX$8VDhwZ0b7jjyuNrnYnrAi1 ! ip subnet-zero ! process-max-time 200 ! interface Loopback0 ip address 1.11.168.192 255.255.255.0 no ip directed-broadcast ! interface FastEthernet0/0 ip address 192.168.11.1 255.255.255.0 no ip directed-broadcast ! interface Serial0/0 ip address 192.168.12.1 255.255.255.0 no ip mroute-cache clockrate 56000 ! ! interface Serial0/1 ip address 192.168.10.1 255.255.255.0 clockrate 56000 ! interface Serial0/2 no ip address shutdown ! router ospf 1 network 192.168.8.0 0.0.3.255 area 1 network 192.168.12.0 0.0.3.255 area 0 ! ip classless no ip http server ! line con 0 transport input none line aux 0 line vty 0 4 password cisco login ! no scheduler allocate end

Lab 7.5.10-Running configuration for router C Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-c ! enable secret 5 $1$EKRc$B8h0cEYmH.UXxdFff7i69/ ! ip subnet-zero ! process-max-time 200 ! interface Loopback0 ip address 1.13.168.192 255.255.255.0 no ip directed-broadcast ! interface FastEthernet0/0 ip address 192.168.13.1 255.255.255.0 no ip directed-broadcast ! interface Serial0/0 ip address 192.168.12.2 255.255.255.0 no ip directed-broadcast no ip mroute-cache no fair-queue ! interface BRI0/0 no ip address no ip directed-broadcast shutdown isdn guard-timer 0 on-expiry accept ! router ospf 1 network 192.168.12.0 0.0.3.255 area 0 ! ip classless no ip http server ! line con 0 exec-timeout 0 0 transport input none line aux 0 line vty 0 4 password cisco login ! no scheduler allocate end

Chapter 8 8.4.3 Simple BGP configuration example ! ip subnet-zero ! process-max-time 200 ! interface Loopback0 ip address 12.0.0.1 255.0.0.0 no ip directed-broadcast ! interface FastEthernet0/0 no ip address no ip directed-broadcast shutdown ! interface Serial0/0 ip address 130.1.50.34 255.255.255.252 no ip directed-broadcast no ip mroute-cache clockrate 56000 ! interface FastEthernet0/1 no ip address no ip directed-broadcast shutdown ! router bgp 200 network 12.0.0.0 neighbor 130.1.50.33 remote-as 300 ! ip classless no ip http server ! ! line con 0 transport input none line aux 0 line vty 0 4 ! no scheduler allocate end hostname RouterA ! memory-size iomem 20 ip subnet-zero ! interface Loopback0 ip address 193.10.2.1 255.255.255.0 no ip directed-broadcast ! interface FastEthernet0/0 no ip address

no ip directed-broadcast shutdown ! interface Serial0/0 ip address 200.200.200.65 255.255.255.252 no ip directed-broadcast no ip mroute-cache no fair-queue clockrate 56000 ! interface FastEthernet0/1 no ip address no ip directed-broadcast shutdown ! interface Serial0/1 ip address 130.1.50.33 255.255.255.252 no ip directed-broadcast ! router bgp 300 network 193.10.2.0 neighbor 130.1.50.34 remote-as 200 neighbor 200.200.200.66 remote-as 400 ! ip classless no ip http server ! ! line con 0 transport input none line aux 0 line vty 0 4 ! no scheduler allocate end hostname RouterC ! ip subnet-zero ! process-max-time 200 ! interface Loopback0 ip address 11.0.0.1 255.0.0.0 no ip directed-broadcast ! interface FastEthernet0/0 no ip address no ip directed-broadcast shutdown ! interface Serial0/0 ip address 200.200.200.66 255.255.255.252 no ip directed-broadcast no ip mroute-cache no fair-queue !

interface BRI0/0 no ip address no ip directed-broadcast shutdown isdn guard-timer 0 on-expiry accept ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! router bgp 400 network 11.0.0.0 neighbor 200.200.200.65 remote-as 300 ! ip classless no ip http server ! ! line con 0 transport input none line aux 0 line vty 0 4 ! ! no scheduler allocate end

8.6.3 Synchronization within an AS hostname RTA ! ip subnet-zero ! interface Loopback0 ip address 192.16.3.1 255.255.255.0 no ip directed-broadcast ! interface FastEthernet0/0 ip address 192.16.1.1 255.255.255.0 no ip directed-broadcast ! interface Serial0/0 ip address 192.16.2.1 255.255.255.0 no ip directed-broadcast no ip mroute-cache clockrate 56000 ! interface FastEthernet0/1 no ip address no ip directed-broadcast shutdown ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! router ospf 10 network 192.16.0.0 0.0.255.255 area 0 ! ip classless ! line con 0 transport input none line aux 0 line vty 0 4 ! no scheduler allocate end RTA#sh ip bgp % BGP not active RTA#sh ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default U - per-user static route, o - ODR, P - periodic downloaded static route T - traffic engineered route

Gateway of last resort is not set 192.16.4.0/32 192.16.4.1 192.16.1.0/24 192.16.2.0/24 192.16.3.0/24 is subnetted, 1 subnets [110/2] via 192.16.1.2, FastEthernet0/0 is directly connected, FastEthernet0/0 is directly connected, Serial0/0 is directly connected, Loopback0

O C C C

hostname RTB ! ip subnet-zero ! process-max-time 200 ! interface Loopback0 ip address 192.16.4.1 255.255.255.0 no ip directed-broadcast ! interface FastEthernet0/0 ip address 192.16.1.2 255.255.255.0 no ip directed-broadcast ! interface Serial0/0 no ip address no ip directed-broadcast no ip mroute-cache shutdown no fair-queue ! interface FastEthernet0/1 no ip address no ip directed-broadcast shutdown ! router ospf 10 network 192.16.0.0 0.0.255.255 area 0 ! router bgp 2 no synchronization network 192.16.1.0 network 192.16.4.0 neighbor 192.16.2.2 remote-as 1 neighbor 192.16.2.2 ebgp-multihop 2 ! ip classless ! line con 0 transport input none line aux 0 line vty 0 4 ! RTB#sh ip bgp BGP table version is 8, local router ID is 192.16.4.1 Status codes: s suppressed, d damped, h history, * valid, > best, i internal Origin codes: i - IGP, e - EGP, ? - incomplete

Network *> 192.16.1.0 *> 192.16.2.0 *> 192.16.4.0

Next Hop 0.0.0.0 192.16.2.2 0.0.0.0

Metric LocPrf Weight Path 0 32768 i 0 0 1 i 0 32768 i

RTB#sh ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static route Gateway of last resort is not set C C B O 192.16.4.0/24 192.16.1.0/24 192.16.2.0/24 192.16.3.0/32 192.16.3.1 is directly connected, Loopback0 is directly connected, FastEthernet0/0 [20/0] via 192.16.2.2, 00:00:21 is subnetted, 1 subnets [110/2] via 192.16.1.1, 00:32:35, FastEthernet0/0

hostname RTC ! ip subnet-zero ! process-max-time 200 ! interface Loopback0 no ip address no ip directed-broadcast ! interface FastEthernet0/0 no ip address no ip directed-broadcast shutdown ! interface BRI0/0 no ip address no ip directed-broadcast shutdown isdn guard-timer 0 on-expiry accept ! interface Serial0/0 ip address 192.16.2.2 255.255.255.0 no ip directed-broadcast ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! router bgp 1 network 192.16.2.0

neighbor 192.16.1.2 remote-as 2 neighbor 192.16.1.2 ebgp-multihop 2 ! ip classless ip route 192.16.1.0 255.255.255.0 192.16.2.1 ! line con 0 transport input none line aux 0 line vty 0 4 ! RTC#sh ip bgp BGP table version is 4, local router ID is 192.16.2.2 Status codes: s suppressed, d damped, h history, * valid, > best, i internal Origin codes: i - IGP, e - EGP, ? - incomplete Network *> 192.16.1.0 *> 192.16.2.0 *> 192.16.4.0 Next Hop 192.16.1.2 0.0.0.0 192.16.1.2 Metric LocPrf Weight Path 0 0 2 i 0 32768 i 0 0 2 i

RTC#sh ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static route Gateway of last resort is not set B S C 192.16.4.0/24 [20/0] via 192.16.1.2, 00:03:55 192.16.1.0/24 [1/0] via 192.16.2.1 192.16.2.0/24 is directly connected, Serial0/0

8.6.4 hostname RTA hostname RTA ! ip subnet-zero ! interface Loopback0 ip address 192.16.3.1 255.255.255.0 no ip directed-broadcast ! interface FastEthernet0/0 ip address 192.16.1.1 255.255.255.0 no ip directed-broadcast ! interface Serial0/0 ip address 192.16.2.1 255.255.255.0 no ip directed-broadcast no ip mroute-cache clockrate 56000 ! interface FastEthernet0/1 no ip address no ip directed-broadcast shutdown ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! router ospf 10 network 192.16.0.0 0.0.255.255 area 0 ! router bgp 2 no synchronization neighbor 192.16.2.2 remote-as 1 neighbor 192.16.4.1 remote-as 2 neighbor 192.16.4.1 update-source Loopback0 no auto-summary ! ip classless ! line con 0 transport input none line aux 0 line vty 0 4 ! RTA#sh ip bgp BGP table version is 22, local router ID is 192.16.3.1 Status codes: s suppressed, d damped, h history, * valid, > best, i internal Origin codes: i - IGP, e - EGP, ? - incomplete Network *>i192.16.1.0 *> 192.16.2.0 Next Hop 192.16.4.1 192.16.2.2 Metric LocPrf Weight Path 0 100 0 i 0 0 1 i

*>i192.16.4.0

192.16.4.1

100

0 i

RTA#sh ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default U - per-user static route, o - ODR, P - periodic downloaded static route T - traffic engineered route Gateway of last resort is not set 192.16.4.0/24 is 192.16.4.0/24 192.16.4.1/32 192.16.1.0/24 is 192.16.2.0/24 is 192.16.3.0/24 is variably subnetted, 2 subnets, 2 masks [200/0] via 192.16.4.1 [110/2] via 192.16.1.2, FastEthernet0/0 directly connected, FastEthernet0/0 directly connected, Serial0/0 directly connected, Loopback0

B O C C C

hostname RTB ! ip subnet-zero ! interface Loopback0 ip address 192.16.4.1 255.255.255.0 ! interface FastEthernet0/0 ip address 192.16.1.2 255.255.255.0 no ip directed-broadcast ! interface Serial0/0 no ip address no ip directed-broadcast no ip mroute-cache shutdown no fair-queue ! interface FastEthernet0/1 no ip address no ip directed-broadcast shutdown ! router ospf 10 network 192.16.0.0 0.0.255.255 area 0 ! router bgp 2 network 192.16.1.0 network 192.16.4.0 neighbor 192.16.3.1 remote-as 2 neighbor 192.16.3.1 update-source Loopback0 ! ip classless !

line con 0 transport input none line aux 0 line vty 0 4 ! end RTB#sh ip bgp BGP table version is 6, local router ID is 192.16.4.1 Status codes: s suppressed, d damped, h history, * valid, > best, i internal Origin codes: i - IGP, e - EGP, ? - incomplete Network *> 192.16.1.0 *>i192.16.2.0 *> 192.16.4.0 Next Hop 0.0.0.0 192.16.2.2 0.0.0.0 Metric LocPrf Weight Path 0 32768 i 0 100 0 1 i 0 32768 i

RTB#sh ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static route Gateway of last resort is not set C C O O 192.16.4.0/24 192.16.1.0/24 192.16.2.0/24 192.16.3.0/32 192.16.3.1 is directly connected, Loopback0 is directly connected, FastEthernet0/0 [110/65] via 192.16.1.1, 00:32:41, FastEthernet0/0 is subnetted, 1 subnets [110/2] via 192.16.1.1, 00:32:41, FastEthernet0/0

hostname RTC ! ip subnet-zero ! interface Loopback0 no ip address no ip directed-broadcast ! interface FastEthernet0/0 no ip address no ip directed-broadcast shutdown ! interface BRI0/0 no ip address no ip directed-broadcast shutdown isdn guard-timer 0 on-expiry accept ! interface Serial0/0

ip address 192.16.2.2 255.255.255.0 no ip directed-broadcast ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! router bgp 1 network 192.16.2.0 neighbor 192.16.2.1 remote-as 2 ! ip classless ! line con 0 transport input none line aux 0 line vty 0 4 ! RTC#sh ip bgp BGP table version is 4, local router ID is 192.16.2.2 Status codes: s suppressed, d damped, h history, * valid, > best, i internal Origin codes: i - IGP, e - EGP, ? - incomplete Network *> 192.16.1.0 *> 192.16.2.0 *> 192.16.4.0 Next Hop 192.16.2.1 0.0.0.0 192.16.2.1 Metric LocPrf Weight 0 0 32768 0 Path 2 i i 2 i

RTC#sh ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static route Gateway of last resort is not set B B C 192.16.4.0/24 [20/0] via 192.16.2.1, 00:02:54 192.16.1.0/24 [20/0] via 192.16.2.1, 00:02:54 192.16.2.0/24 is directly connected, Serial0/0

8.7.5 CIDR and aggregate addresses Router-A: Router-A#sh run Building configuration... Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname Router-A ! enable secret 5 $1$Czvk$Z/7aMqcv2xDoG6E6H3Ni60 ! ! ! ! ! ip subnet-zero ! ip audit notify log ip audit po max-events 100 ! ! ! process-max-time 200 ! interface FastEthernet0/0 ip address 192.168.10.1 255.255.255.0 no ip directed-broadcast ! interface Serial0/0 no ip address no ip directed-broadcast no ip mroute-cache shutdown no fair-queue ! interface Serial0/1 ip address 10.10.2.2 255.255.255.0 no ip directed-broadcast ! router bgp 300 network 192.168.10.0 neighbor 10.10.2.1 remote-as 200 ! ip classless no ip http server ! ! line con 0 transport input none line aux 0 line vty 0 4

password cisco login ! ! no scheduler allocate end Router-A#

Router-C router-c#sh run Building configuration... Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-c ! enable secret 5 $1$wN2v$xzqs6geZcZiQl8pELe7fZ1 ! ! ! ! ! ip subnet-zero ! ! ! ! process-max-time 200 ! interface Loopback0 ip address 172.50.0.1 255.255.0.0 no ip directed-broadcast ! interface FastEthernet0/0 ip address 172.60.0.1 255.255.0.0 no ip directed-broadcast ! interface Serial0/0 ip address 10.10.1.2 255.255.255.0 no ip directed-broadcast no ip mroute-cache no fair-queue ! interface BRI0/0 no ip address no ip directed-broadcast shutdown isdn guard-timer 0 on-expiry accept !

router bgp 100 network 172.50.0.0 network 172.60.0.0 neighbor 10.10.1.1 remote-as 200 ! ip classless no ip http server ! ! line con 0 exec-timeout 0 0 transport input none line aux 0 line vty 0 4 password cisco login ! ! no scheduler allocate end router-c#

Router-B (after step 3) router-b#sh run Building configuration... Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-b ! enable secret 5 $1$X0FI$1ukH6floL3M390FSKnF1B0 ! ! ! ! ! ip subnet-zero ! ! ! ! process-max-time 200 ! interface FastEthernet0/0 no ip address no ip directed-broadcast shutdown ! interface Serial0/0

ip address 10.10.1.1 255.255.255.0 no ip directed-broadcast no ip mroute-cache no fair-queue clockrate 56000 ! interface FastEthernet0/1 no ip address no ip directed-broadcast shutdown ! interface Serial0/1 ip address 10.10.2.1 255.255.255.0 no ip directed-broadcast clockrate 56000 ! interface Serial0/2 no ip address no ip directed-broadcast shutdown ! router bgp 200 aggregate-address 172.0.0.0 255.0.0.0 neighbor 10.10.1.2 remote-as 100 neighbor 10.10.2.2 remote-as 300 ! ip classless no ip http server ! ! line con 0 transport input none line aux 0 line vty 0 4 password cisco login ! ! no scheduler allocate end router-b#

Router-B (after step 5) router-b#sh run Building configuration... Current configuration:

! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-b ! enable secret 5 $1$X0FI$1ukH6floL3M390FSKnF1B0 ! ! ! ! ! ip subnet-zero ! ! ! ! process-max-time 200 ! interface FastEthernet0/0 no ip address no ip directed-broadcast shutdown ! interface Serial0/0 ip address 10.10.1.1 255.255.255.0 no ip directed-broadcast no ip mroute-cache no fair-queue clockrate 56000 ! interface FastEthernet0/1 no ip address no ip directed-broadcast shutdown ! interface Serial0/1 ip address 10.10.2.1 255.255.255.0 no ip directed-broadcast clockrate 56000 ! interface Serial0/2 interface Serial0/2 no ip directed-broadcast shutdown ! router bgp 200 aggregate-address 172.0.0.0 255.0.0.0 summary-only neighbor 10.10.1.2 remote-as 100 neighbor 10.10.2.2 remote-as 300 ! ip classless no ip http server ! !

line con 0 transport input none line aux 0 line vty 0 4 password cisco login ! ! no scheduler allocate end router-b#

8.7.9 Next-hop behavior over NBMA hostname RouterC ! ip subnet-zero ! process-max-time 200 ! interface FastEthernet0/0 ip address 10.2.2.2 255.255.255.0 no ip directed-broadcast ! interface Serial0/0 no ip address no ip directed-broadcast no ip mroute-cache shutdown no fair-queue ! interface FastEthernet0/1 ip address 10.4.4.1 255.255.255.0 no ip directed-broadcast ! router ospf 1 network 10.2.2.0 0.0.0.255 area 0 network 10.4.4.0 0.0.0.255 area 0 ! router bgp 65000 no synchronization network 10.4.4.0 mask 255.255.255.0 neighbor 10.2.2.1 remote-as 65000 ! ip classless ! line con 0 transport input none line aux 0 line vty 0 4 ! ! no scheduler allocate end RouterC#sh ip bgp BGP table version is 6, local router ID is 10.4.4.1 Status codes: s suppressed, d damped, h history, * valid, > best, i internal Origin codes: i - IGP, e - EGP, ? - incomplete Network *>i10.2.2.0/24 *> 10.4.4.0/24 *>i192.68.11.0 Next Hop 10.2.2.1 0.0.0.0 10.2.2.1 Metric LocPrf Weight Path 0 100 0 i 0 32768 i 0 100 0 1 i

RouterC#sh ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B BGP

D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static route Gateway of last resort is not set B O C C 192.68.11.0/24 [200/0] via 10.2.2.1, 00:03:39 10.0.0.0/24 is subnetted, 3 subnets 10.3.3.0 [110/2] via 10.2.2.1, 00:15:25, FastEthernet0/0 10.4.4.0 is directly connected, FastEthernet0/1 10.2.2.0 is directly connected, FastEthernet0/0

hostname RouterB ! ip subnet-zero ! interface FastEthernet0/0 ip address 10.2.2.1 255.255.255.0 no ip directed-broadcast ! interface Serial0/0 ip address 10.1.1.2 255.255.255.0 no ip directed-broadcast no ip mroute-cache clockrate 56000 ! interface FastEthernet0/1 ip address 10.3.3.1 255.255.255.0 no ip directed-broadcast ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! router ospf 1 passive-interface Serial0/0 network 10.2.2.0 0.0.0.255 area 0 network 10.3.3.0 0.0.0.255 area 0 ! router bgp 65000 no synchronization network 10.2.2.0 mask 255.255.255.0 neighbor 10.1.1.1 remote-as 1 neighbor 10.2.2.2 remote-as 65000 neighbor 10.2.2.2 next-hop-self ! ip classless ! line con 0 transport input none line aux 0 line vty 0 4

! no scheduler allocate end RouterB#sh ip bgp BGP table version is 4, local router ID is 10.3.3.1 Status codes: s suppressed, d damped, h history, * valid, > best, i internal Origin codes: i - IGP, e - EGP, ? - incomplete Network *> 10.2.2.0/24 *>i10.4.4.0/24 *> 192.68.11.0 Next Hop 0.0.0.0 10.2.2.2 10.1.1.1 Metric LocPrf Weight Path 0 32768 i 0 100 0 i 0 0 1 i

RouterB#sh ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default U - per-user static route, o - ODR, P - periodic downloaded static route T - traffic engineered route Gateway of last resort is not set B O C C C 192.68.11.0/24 [20/0] via 10.1.1.1 10.0.0.0/24 is subnetted, 4 subnets 10.4.4.0 [110/2] via 10.2.2.2, FastEthernet0/0 10.1.1.0 is directly connected, Serial0/0 10.3.3.0 is directly connected, FastEthernet0/1 10.2.2.0 is directly connected, FastEthernet0/0

hostname RouterA ! ip subnet-zero ! process-max-time 200 ! interface Loopback0 ip address 192.68.11.1 255.255.255.0 no ip directed-broadcast ! interface FastEthernet0/0 no ip address no ip directed-broadcast shutdown ! interface BRI0/0 no ip address no ip directed-broadcast shutdown isdn guard-timer 0 on-expiry accept !

interface Serial0/0 ip address 10.1.1.1 255.255.255.0 no ip directed-broadcast no ip mroute-cache no fair-queue ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! router bgp 1 no synchronization network 192.68.11.0 neighbor 10.1.1.2 remote-as 65000 ! ip classless no ip http server ! ! line con 0 exec-timeout 0 0 transport input none line aux 0 line vty 0 4 ! ! no scheduler allocate end RouterA#sh ip bgp BGP table version is 8, local router ID is 192.68.11.1 Status codes: s suppressed, d damped, h history, * valid, > best, i internal Origin codes: i - IGP, e - EGP, ? - incomplete Network *> 10.2.2.0/24 *> 10.4.4.0/24 *> 192.68.11.0 Next Hop 10.1.1.2 10.1.1.2 0.0.0.0 Metric LocPrf Weight Path 0 0 65000 i 0 65000 i 0 32768 i

RouterA#sh ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static route Gateway of last resort is not set C B 192.68.11.0/24 is directly connected, Loopback0 10.0.0.0/24 is subnetted, 3 subnets 10.2.2.0 [20/0] via 10.1.1.2, 00:04:23

B C

10.4.4.0 [20/0] via 10.1.1.2, 00:04:24 10.1.1.0 is directly connected, Serial0/0

8.8.2 Configuration example: removing private AS numbers hostname RouterB ! ip subnet-zero ! process-max-time 200 ! interface FastEthernet0/0 ip address 12.0.0.1 255.0.0.0 no ip directed-broadcast ! interface Serial0/0 ip address 2.2.2.2 255.255.255.0 no ip directed-broadcast ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! router bgp 65001 no synchronization network 12.0.0.0 neighbor 2.2.2.1 remote-as 300 ! ip classless no ip http server ! line con 0 transport input none line aux 0 line vty 0 4 ! end RouterB#sh ip bgp BGP table version is 8, local router ID is 12.0.0.1 Status codes: s suppressed, d damped, h history, * valid, > best, i internal Origin codes: i - IGP, e - EGP, ? - incomplete Network *> 11.0.0.0 *> 12.0.0.0 *> 170.10.0.0 Next Hop 2.2.2.1 0.0.0.0 2.2.2.1 Metric LocPrf Weight 0 0 32768 0 0 Path 300 200 i i 300 i

RouterB#sh ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static route

Gateway of last resort is not set B C B C 170.10.0.0/16 [20/0] via 2.2.2.1, 00:02:42 2.0.0.0/24 is subnetted, 1 subnets 2.2.2.0 is directly connected, Serial0/0 11.0.0.0/8 [20/0] via 2.2.2.1, 00:03:08 12.0.0.0/8 is directly connected, FastEthernet0/0

hostname RouterA ! ip subnet-zero ! interface FastEthernet0/0 ip address 170.10.0.1 255.255.0.0 no ip directed-broadcast ! interface Serial0/0 ip address 2.2.2.1 255.255.255.0 no ip directed-broadcast no ip mroute-cache clockrate 56000 ! interface FastEthernet0/1 no ip address no ip directed-broadcast shutdown ! interface Serial0/1 ip address 3.3.3.1 255.255.255.0 no ip directed-broadcast ! router bgp 300 network 170.10.0.0 neighbor 2.2.2.2 remote-as 65001 neighbor 3.3.3.2 remote-as 200 neighbor 3.3.3.2 remove-private-AS ! ip classless no ip http server ! line con 0 transport input none line aux 0 line vty 0 4 ! no scheduler allocate end RouterA#sh ip bgp BGP table version is 4, local router ID is 170.10.0.1 Status codes: s suppressed, d damped, h history, * valid, > best, i internal Origin codes: i - IGP, e - EGP, ? - incomplete Network *> 11.0.0.0 *> 12.0.0.0 Next Hop 3.3.3.2 2.2.2.2 Metric LocPrf Weight Path 0 0 200 i 0 0 65001 i

*> 170.10.0.0 0.0.0.0 0 32768 i RouterA#sh ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default U - per-user static route, o - ODR, P - periodic downloaded static route T - traffic engineered route Gateway of last resort is not set C C C B B 170.10.0.0/16 is directly connected, FastEthernet0/0 2.0.0.0/24 is subnetted, 1 subnets 2.2.2.0 is directly connected, Serial0/0 3.0.0.0/24 is subnetted, 1 subnets 3.3.3.0 is directly connected, Serial0/1 11.0.0.0/8 [20/0] via 3.3.3.2 12.0.0.0/8 [20/0] via 2.2.2.2

hostname RouterC ! ip subnet-zero ! process-max-time 200 ! interface FastEthernet0/0 ip address 11.0.0.1 255.0.0.0 no ip directed-broadcast ! interface Serial0/0 ip address 3.3.3.2 255.255.255.0 no ip directed-broadcast no ip mroute-cache clockrate 56000 ! router bgp 200 no synchronization network 11.0.0.0 neighbor 3.3.3.1 remote-as 300 ! ip classless no ip http server ! line con 0 transport input none line aux 0 line vty 0 4 ! no scheduler allocate end RouterC#sh ip bgp BGP table version is 4, local router ID is 11.0.0.1

Status codes: s suppressed, d damped, h history, * valid, > best, i internal Origin codes: i - IGP, e - EGP, ? - incomplete Network *> 11.0.0.0 *> 12.0.0.0 *> 170.10.0.0 Next Hop 0.0.0.0 3.3.3.1 3.3.3.1 Metric LocPrf Weight Path 0 32768 i 0 300 i 0 0 300 i

RouterC#sh ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static route Gateway of last resort is not set B C C B 170.10.0.0/16 [20/0] via 3.3.3.1, 00:03:24 3.0.0.0/24 is subnetted, 1 subnets 3.3.3.0 is directly connected, Serial0/0 11.0.0.0/8 is directly connected, FastEthernet0/0 12.0.0.0/8 [20/0] via 3.3.3.1, 00:03:53

8.8.3 Manipulate AS_path information hostname RouterA ! ip subnet-zero ! interface FastEthernet0/0 ip address 170.10.0.1 255.255.0.0 no ip directed-broadcast ! interface Serial0/0 ip address 3.3.3.1 255.0.0.0 no ip directed-broadcast no ip mroute-cache clockrate 56000 ! interface FastEthernet0/1 no ip address no ip directed-broadcast shutdown ! interface Serial0/1 ip address 2.2.2.1 255.0.0.0 no ip directed-broadcast ! router bgp 300 network 170.10.0.0 neighbor 2.2.2.2 remote-as 100 neighbor 2.2.2.2 filter-list 1 out neighbor 3.3.3.2 remote-as 200 neighbor 3.3.3.2 remove-private-AS ! ip classless no ip http server ip as-path access-list 1 deny ^200$ ip as-path access-list 1 permit .* ! line con 0 transport input none line aux 0 line vty 0 4 ! no scheduler allocate end RouterA#sh ip bgp BGP table version is 4, local router ID is 170.10.0.1 Status codes: s suppressed, d damped, h history, * valid, > best, i internal Origin codes: i - IGP, e - EGP, ? - incomplete Network *> 11.0.0.0 *> 12.0.0.0 *> 170.10.0.0 RouterA#sh ip route Next Hop 3.3.3.2 2.2.2.2 0.0.0.0 Metric LocPrf Weight Path 0 0 200 i 0 0 100 i 0 32768 i

Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default U - per-user static route, o - ODR, P - periodic downloaded static route T - traffic engineered route Gateway of last resort is not set C C C B B 170.10.0.0/16 is directly connected, FastEthernet0/0 2.0.0.0/8 is directly connected, Serial0/1 3.0.0.0/8 is directly connected, Serial0/0 11.0.0.0/8 [20/0] via 3.3.3.2 12.0.0.0/8 [20/0] via 2.2.2.2

hostname RouterB ! ip subnet-zero ! process-max-time 200 ! interface FastEthernet0/0 ip address 12.0.0.1 255.0.0.0 no ip directed-broadcast ! interface Serial0/0 ip address 2.2.2.2 255.0.0.0 no ip directed-broadcast no ip mroute-cache no fair-queue clockrate 56000 ! interface FastEthernet0/1 no ip address no ip directed-broadcast shutdown ! router bgp 100 no synchronization network 12.0.0.0 neighbor 2.2.2.1 remote-as 300 ! ip classless no ip http server ! line con 0 transport input none line aux 0 line vty 0 4 ! end RouterB#sh ip bgp

BGP table version is 3, local router ID is 12.0.0.1 Status codes: s suppressed, d damped, h history, * valid, > best, i internal Origin codes: i - IGP, e - EGP, ? - incomplete Network *> 12.0.0.0 *> 170.10.0.0 Next Hop 0.0.0.0 2.2.2.1 Metric LocPrf Weight Path 0 32768 i 0 0 300 i

RouterB#sh ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static route Gateway of last resort is not set B C C 170.10.0.0/16 [20/0] via 2.2.2.1, 00:01:22 2.0.0.0/8 is directly connected, Serial0/0 12.0.0.0/8 is directly connected, FastEthernet0/0

hostname RouterC ! ip subnet-zero ! process-max-time 200 ! interface FastEthernet0/0 ip address 11.0.0.1 255.0.0.0 no ip directed-broadcast ! interface BRI0/0 no ip address no ip directed-broadcast shutdown isdn guard-timer 0 on-expiry accept ! interface Serial0/0 ip address 3.3.3.2 255.0.0.0 no ip directed-broadcast no ip mroute-cache no fair-queue ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! router bgp 200 no synchronization network 11.0.0.0 neighbor 3.3.3.1 remote-as 300

! ip classless no ip http server ! line con 0 transport input none line aux 0 line vty 0 4 ! no scheduler allocate end RouterC#sh ip bgp BGP table version is 12, local router ID is 11.0.0.1 Status codes: s suppressed, d damped, h history, * valid, > best, i internal Origin codes: i - IGP, e - EGP, ? - incomplete Network *> 11.0.0.0 *> 12.0.0.0 *> 170.10.0.0 Next Hop 0.0.0.0 3.3.3.1 3.3.3.1 Metric LocPrf Weight Path 0 32768 i 0 300 100 i 0 0 300 i

RouterC#sh ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static route Gateway of last resort is not set B C C B 170.10.0.0/16 [20/0] via 3.3.3.1, 00:01:55 3.0.0.0/8 is directly connected, Serial0/0 11.0.0.0/8 is directly connected, FastEthernet0/0 12.0.0.0/8 [20/0] via 3.3.3.1, 00:01:25

8.8.6 Setting the local preference attribute RTA#sh run Building configuration... Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname RTA ! ip subnet-zero ! process-max-time 200 ! interface FastEthernet0/0 ip address 170.10.0.1 255.255.0.0 no ip directed-broadcast ! interface BRI0/0 no ip address no ip directed-broadcast shutdown isdn guard-timer 0 on-expiry accept ! interface Serial0/0 ip address 2.2.2.1 255.0.0.0 no ip directed-broadcast no ip mroute-cache no fair-queue clockrate 56000 ! interface Serial0/1 ip address 3.3.3.1 255.0.0.0 no ip directed-broadcast clockrate 56000 ! router bgp 300 network 170.10.0.0 neighbor 2.2.2.2 remote-as 100 neighbor 3.3.3.2 remote-as 100 ! ip classless no ip http server ! ! line con 0 transport input none line aux 0 line vty 0 4 ! ! no scheduler allocate end

RTA#sh ip bgp BGP table version is 27, local router ID is 170.10.0.1 Status codes: s suppressed, d damped, h history, * valid, > best, i internal Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path * 4.0.0.0 3.3.3.2 0 0 100 i *> 2.2.2.2 0 0 100 i *> 170.10.0.0 0.0.0.0 0 32768 i -----------------------------------------------------------------------Router_B#sh run Building configuration... Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname Router_B ! enable secret 5 $1$fHa/$ZAqVjy2YguELNMd.jAvRs. enable password cisco ! ip subnet-zero ! process-max-time 200 ! interface FastEthernet0/0 ip address 4.4.4.2 255.0.0.0 no ip directed-broadcast ! interface Serial0/0 ip address 2.2.2.2 255.0.0.0 no ip directed-broadcast no ip mroute-cache no fair-queue ! interface FastEthernet0/1 no ip address no ip directed-broadcast ! router bgp 100 no synchronization network 4.0.0.0 neighbor 2.2.2.1 remote-as 300 neighbor 4.4.4.1 remote-as 100 neighbor 4.4.4.1 next-hop-self ! ip classless no ip http server ! ! line con 0 transport input none

line aux 0 line vty 0 4 password cisco login ! ! end Router_B#sh ip bgp BGP table version is 15, local router ID is 12.0.0.1 Status codes: s suppressed, d damped, h history, * valid, > best, i internal Origin codes: i - IGP, e - EGP, ? - incomplete Network * i4.0.0.0 *> *> 170.10.0.0 Next Hop 4.4.4.1 0.0.0.0 2.2.2.1 Metric LocPrf Weight Path 0 100 0 i 0 32768 i 0 0 300 i

----------------------------------------------------------------------RouterC#sh run Building configuration... Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname RouterC ! enable secret 5 $1$KEuJ$xq99wkY7XRyR7byFYiqbU0 ! memory-size iomem 10 ip subnet-zero ! process-max-time 200 ! interface FastEthernet0/0 ip address 4.4.4.1 255.0.0.0 no ip directed-broadcast ! interface Serial0/0 ip address 3.3.3.2 255.0.0.0 no ip directed-broadcast no ip mroute-cache ! interface FastEthernet0/1 no ip address no ip directed-broadcast shutdown ! interface Serial0/1 no ip address no ip directed-broadcast

shutdown ! router bgp 100 no synchronization network 4.0.0.0 neighbor 3.3.3.1 remote-as 300 neighbor 4.4.4.2 remote-as 100 neighbor 4.4.4.2 route-map setlocalpref in ! ip classless no ip http server ! route-map setlocalpref permit 10 set local-preference 200 ! ! line con 0 transport input none line aux 0 line vty 0 4 password cisco login ! ! end

RouterC#sh ip bgp BGP table version is 4, local router ID is 4.4.4.1 Status codes: s suppressed, d damped, h history, * valid, > best, i internal Origin codes: i - IGP, e - EGP, ? - incomplete Network *> 4.0.0.0 * i * 170.10.0.0 *>i Next Hop 0.0.0.0 4.4.4.2 3.3.3.1 4.4.4.2 Metric LocPrf Weight Path 0 32768 i 0 200 0 i 0 0 300 i 0 200 0 300 I

8.8.8 MED hostname RouterA ! ip subnet-zero ! interface FastEthernet0/0 ip address 170.10.0.1 255.255.0.0 no ip directed-broadcast ! interface Serial0/0 ip address 3.3.3.1 255.0.0.0 no ip directed-broadcast no ip mroute-cache clockrate 56000 ! interface FastEthernet0/1 no ip address no ip directed-broadcast shutdown ! interface Serial0/1 bandwidth 56 ip address 2.2.2.1 255.0.0.0 no ip directed-broadcast ! router bgp 300 network 170.10.0.0 neighbor 2.2.2.2 remote-as 100 neighbor 3.3.3.2 remote-as 100 ! ip classless ! line con 0 transport input none line aux 0 line vty 0 4 ! no scheduler allocate end RouterA#sh ip bgp BGP table version is 4, local router ID is 170.10.0.1 Status codes: s suppressed, d damped, h history, * valid, > best, i internal Origin codes: i - IGP, e - EGP, ? - incomplete Network *> 4.0.0.0 * *> 170.10.0.0 Next Hop 2.2.2.2 3.3.3.2 0.0.0.0 Metric LocPrf Weight Path 50 0 100 i 100 0 100 i 0 32768 i

RouterA#sh ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area

N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default U - per-user static route, o - ODR, P - periodic downloaded static route T - traffic engineered route Gateway of last resort is not set C 170.10.0.0/16 is directly connected, FastEthernet0/0 C 2.0.0.0/8 is directly connected, Serial0/1 C 3.0.0.0/8 is directly connected, Serial0/0 B 4.0.0.0/8 [20/50] via 2.2.2.2 hostname RouterB ! ip subnet-zero ! process-max-time 200 ! interface FastEthernet0/0 ip address 4.4.4.2 255.0.0.0 no ip directed-broadcast ! interface Serial0/0 ip address 2.2.2.2 255.0.0.0 no ip directed-broadcast no ip mroute-cache no fair-queue clockrate 56000 ! interface FastEthernet0/1 no ip address no ip directed-broadcast shutdown ! router bgp 100 no synchronization network 4.0.0.0 network 12.0.0.0 neighbor 2.2.2.1 remote-as 300 neighbor 2.2.2.1 route-map setmedout out neighbor 4.4.4.1 remote-as 100 ! ip classless no ip http server ! route-map setmedout permit 10 set metric 50 ! line con 0 transport input none line aux 0 line vty 0 4 ! ! no scheduler allocate

end RouterB#sh ip bgp BGP table version is 7, local router ID is 4.4.4.2 Status codes: s suppressed, d damped, h history, * valid, > best, i internal Origin codes: i - IGP, e - EGP, ? - incomplete Network * 4.0.0.0 *> * 170.10.0.0 *> Next Hop 4.4.4.1 0.0.0.0 4.4.4.1 2.2.2.1 Metric LocPrf Weight Path 0 0 i 0 32768 i 0 300 i 0 0 300 i

RouterB#sh ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static route Gateway of last resort is not set B C C 170.10.0.0/16 [20/0] via 2.2.2.1, 00:06:34 2.0.0.0/8 is directly connected, Serial0/0 4.0.0.0/8 is directly connected, FastEthernet0/0

hostname RouterC ! ip subnet-zero ! process-max-time 200 ! interface FastEthernet0/0 ip address 4.4.4.1 255.0.0.0 no ip directed-broadcast ! interface BRI0/0 no ip address no ip directed-broadcast shutdown isdn guard-timer 0 on-expiry accept ! interface Serial0/0 ip address 3.3.3.2 255.0.0.0 no ip directed-broadcast no ip mroute-cache no fair-queue ! interface Serial0/1 no ip address no ip directed-broadcast shutdown !

router bgp 200 no synchronization network 4.0.0.0 network 11.0.0.0 neighbor 3.3.3.1 remote-as 300 neighbor 3.3.3.1 route-map setmedout out neighbor 4.4.4.2 remote-as 100 ! ip classless no ip http server ! route-map setlocalpref permit 10 set local-preference 200 ! route-map setmedout permit 10 set metric 100 ! ! line con 0 transport input none line aux 0 line vty 0 4 ! ! no scheduler allocate end RouterC#sh ip bgp BGP table version is 9, local router ID is 4.4.4.1 Status codes: s suppressed, d damped, h history, * valid, > best, i internal Origin codes: i - IGP, e - EGP, ? - incomplete Network * 4.0.0.0 *> * *> 170.10.0.0 * Next Hop 3.3.3.1 0.0.0.0 4.4.4.2 3.3.3.1 4.4.4.2 Metric LocPrf Weight 0 0 32768 0 0 0 0 0 Path 300 i i i 300 i 100 300 i

RouterC#sh ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static route Gateway of last resort is not set B C C 170.10.0.0/16 [20/0] via 3.3.3.1, 00:06:31 3.0.0.0/8 is directly connected, Serial0/0 4.0.0.0/8 is directly connected, FastEthernet0/0

Chapter 9 9.1.3 Internal peers with route reflectors hostname RouterB ! ip subnet-zero ! process-max-time 200 ! interface FastEthernet0/0 no ip address no ip directed-broadcast shutdown ! interface Serial0/0 ip address 2.2.2.2 255.255.255.0 no ip directed-broadcast no ip mroute-cache no shut ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! router rip network 2.0.0.0 ! router bgp 100 no synchronization network 2.2.2.0 mask 255.255.255.0 neighbor 2.2.2.1 remote-as 100 ! ip classless ! line con 0 transport input none line aux 0 line vty 0 4 ! RouterB#sh ip bgp BGP table version is 4, local router ID is 2.2.2.2 Status codes: s suppressed, d damped, h history, * valid, > best, i internal Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path *> 2.2.2.0/24 0.0.0.0 0 32768 i *>i5.0.0.0 3.3.3.2 0 100 0 200 i *>i170.10.0.0 2.2.2.1 0 100 0 i RouterB#sh ipp route ^ % Invalid input detected at '^' marker.

RouterB#sh ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static route Gateway of last resort is not set R C R B 170.10.0.0/16 [120/1] via 2.2.2.1, 00:00:26, Serial0/0 2.0.0.0/24 is subnetted, 1 subnets 2.2.2.0 is directly connected, Serial0/0 3.0.0.0/8 [120/1] via 2.2.2.1, 00:00:26, Serial0/0 5.0.0.0/8 [200/0] via 3.3.3.2, 00:06:29

hostname RouterA ! ip subnet-zero ! interface FastEthernet0/0 ip address 170.10.0.1 255.255.255.0 no ip directed-broadcast ! interface Serial0/0 ip address 2.2.2.1 255.255.255.0 no ip directed-broadcast no ip mroute-cache clockrate 128000 ! interface FastEthernet0/1 ip address 3.3.3.1 255.255.255.0 no ip directed-broadcast ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! router rip network 2.0.0.0 network 3.0.0.0 network 170.10.0.0 ! router bgp 100 no synchronization network 170.10.0.0 neighbor 2.2.2.2 remote-as 100 neighbor 2.2.2.2 route-reflector-client neighbor 3.3.3.2 remote-as 100 neighbor 3.3.3.2 route-reflector-client ! ip classless !

line con 0 transport input none line aux 0 line vty 0 4 ! RouterA#sh ip bgp BGP table version is 4, local router ID is 170.10.0.1 Status codes: s suppressed, d damped, h history, * valid, > best, i internal Origin codes: i - IGP, e - EGP, ? - incomplete Network *>i2.2.2.0/24 *>i5.0.0.0 *> 170.10.0.0 Next Hop 2.2.2.2 3.3.3.2 0.0.0.0 Metric LocPrf Weight Path 0 100 0 i 0 100 0 200 i 0 32768 i

RouterA#sh ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default U - per-user static route, o - ODR, P - periodic downloaded static route T - traffic engineered route Gateway of last resort is not set 170.10.0.0/24 is subnetted, 1 subnets 170.10.0.0 is directly connected, FastEthernet0/0 2.0.0.0/24 is subnetted, 1 subnets 2.2.2.0 is directly connected, Serial0/0 3.0.0.0/24 is subnetted, 1 subnets 3.3.3.0 is directly connected, FastEthernet0/1 5.0.0.0/8 [200/0] via 3.3.3.2

C C C B

hostname RouterC ! ip subnet-zero ! process-max-time 200 ! interface FastEthernet0/0 ip address 3.3.3.2 255.255.255.0 no ip directed-broadcast ! interface Serial0/0 ip address 4.4.4.1 255.255.255.0 no ip directed-broadcast no ip mroute-cache no fair-queue clockrate 56000 ! router rip

network 4.0.0.0 ! router bgp 100 no synchronization neighbor 3.3.3.1 remote-as 100 neighbor 3.3.3.1 next-hop-self neighbor 4.4.4.2 remote-as 200 ! line con 0 transport input none line aux 0 line vty 0 4 ! RouterC#sh ip bgp BGP table version is 7, local router ID is 4.4.4.1 Status codes: s suppressed, d damped, h history, * valid, > best, i internal Origin codes: i - IGP, e - EGP, ? - incomplete Network * i2.2.2.0/24 *> 5.0.0.0 *>i170.10.0.0 Next Hop 2.2.2.2 4.4.4.2 3.3.3.1 Metric LocPrf Weight Path 0 100 0 i 0 0 200 i 0 100 0 i

RouterC#sh ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static route Gateway of last resort is not set B C C B 170.10.0.0/16 [200/0] via 3.3.3.1, 00:07:36 3.0.0.0/24 is subnetted, 1 subnets 3.3.3.0 is directly connected, FastEthernet0/0 4.0.0.0/24 is subnetted, 1 subnets 4.4.4.0 is directly connected, Serial0/0 5.0.0.0/8 [20/0] via 4.4.4.2, 00:25:57

hostname RouterD ! ip subnet-zero ! interface FastEthernet0/0 ip address 5.0.0.1 255.0.0.0 no ip directed-broadcast duplex auto speed auto ! interface Serial0/0 ip address 4.4.4.2 255.255.255.0

no ip directed-broadcast no ip mroute-cache ! interface FastEthernet0/1 no ip address no ip directed-broadcast shutdown duplex auto speed auto ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! router bgp 200 network 5.0.0.0 neighbor 4.4.4.1 remote-as 100 ! ip classless ! line con 0 transport input none line aux 0 line vty 0 4 ! RouterD#sh ip bgp BGP table version is 17, local router ID is 5.0.0.1 Status codes: s suppressed, d damped, h history, * valid, > best, i internal Origin codes: i - IGP, e - EGP, ? - incomplete Network *> 5.0.0.0 *> 170.10.0.0 Next Hop 0.0.0.0 4.4.4.1 Metric LocPrf Weight Path 0 32768 i 0 100 i

RouterD#sh ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static route Gateway of last resort is not set B C C 170.10.0.0/16 [20/0] via 4.4.4.1, 00:07:46 4.0.0.0/24 is subnetted, 1 subnets 4.4.4.0 is directly connected, Serial0/0 5.0.0.0/8 is directly connected, FastEthernet0/0

9.2.3 How to ID and filter routes based on NLRI hostname RouterA ! ip subnet-zero ! interface FastEthernet0/0 ip address 170.10.0.1 255.255.255.0 no ip directed-broadcast ! interface Serial0/0 ip address 2.2.2.1 255.255.255.0 no ip directed-broadcast no ip mroute-cache clockrate 128000 ! interface FastEthernet0/1 ip address 3.3.3.1 255.255.255.0 no ip directed-broadcast ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! router rip network 2.0.0.0 network 3.0.0.0 network 170.10.0.0 ! router bgp 100 no synchronization network 170.10.0.0 neighbor 2.2.2.2 remote-as 100 neighbor 2.2.2.2 route-reflector-client neighbor 3.3.3.2 remote-as 100 neighbor 3.3.3.2 route-reflector-client ! ip classless ! line con 0 transport input none line aux 0 line vty 0 4 login ! RouterA#sh ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default U - per-user static route, o - ODR, P - periodic downloaded static route

T - traffic engineered route Gateway of last resort is not set 170.10.0.0/24 is subnetted, 1 subnets 170.10.0.0 is directly connected, FastEthernet0/0 2.0.0.0/24 is subnetted, 1 subnets 2.2.2.0 is directly connected, Serial0/0 3.0.0.0/24 is subnetted, 1 subnets 3.3.3.0 is directly connected, FastEthernet0/1 5.0.0.0/8 [200/0] via 3.3.3.2

C C C B

RouterA#sh ip bgp BGP table version is 8, local router ID is 170.10.0.1 Status codes: s suppressed, d damped, h history, * valid, > best, i internal Origin codes: i - IGP, e - EGP, ? - incomplete Network *>i2.2.2.0/24 *>i5.0.0.0 *> 170.10.0.0 Next Hop 2.2.2.2 3.3.3.2 0.0.0.0 Metric LocPrf Weight Path 0 100 0 i 0 100 0 200 i 0 32768 i

hostname RouterB ! ip subnet-zero ! interface FastEthernet0/0 no ip address no ip directed-broadcast shutdown ! interface Serial0/0 ip address 2.2.2.2 255.255.255.0 no ip directed-broadcast no ip mroute-cache ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! router rip network 2.0.0.0 ! router bgp 100 no synchronization network 2.2.2.0 mask 255.255.255.0 neighbor 2.2.2.1 remote-as 100 ! ip classless ! line con 0 transport input none line aux 0 line vty 0 4 login !

RouterB#sh ip bgp BGP table version is 6, local router ID is 2.2.2.2 Status codes: s suppressed, d damped, h history, * valid, > best, i internal Origin codes: i - IGP, e - EGP, ? - incomplete Network *> 2.2.2.0/24 *>i5.0.0.0 *>i170.10.0.0 Next Hop 0.0.0.0 3.3.3.2 2.2.2.1 Metric LocPrf Weight Path 0 32768 i 0 100 0 200 i 0 100 0 i

RouterB#sh ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static route Gateway of last resort is not set R C R B 170.10.0.0/16 [120/1] via 2.2.2.1, 00:00:17, Serial0/0 2.0.0.0/24 is subnetted, 1 subnets 2.2.2.0 is directly connected, Serial0/0 3.0.0.0/8 [120/1] via 2.2.2.1, 00:00:17, Serial0/0 5.0.0.0/8 [200/0] via 3.3.3.2, 00:03:31

hostname RouterC ! ip subnet-zero ! interface FastEthernet0/0 ip address 3.3.3.2 255.255.255.0 no ip directed-broadcast ! interface Serial0/0 ip address 4.4.4.1 255.255.255.0 no ip directed-broadcast no ip mroute-cache no fair-queue clockrate 56000 ! router rip network 4.0.0.0 ! router bgp 100 no synchronization neighbor 3.3.3.1 remote-as 100 neighbor 3.3.3.1 next-hop-self neighbor 4.4.4.2 remote-as 200 neighbor 4.4.4.2 distribute-list 1 out ! ip classless

! access-list 1 deny 2.0.0.0 0.255.255.255 access-list 1 permit any ! line con 0 transport input none line aux 0 line vty 0 4 login ! RouterC#sh ip bgp BGP table version is 5, local router ID is 4.4.4.1 Status codes: s suppressed, d damped, h history, * valid, > best, i internal Origin codes: i - IGP, e - EGP, ? - incomplete Network * i2.2.2.0/24 *> 5.0.0.0 *>i170.10.0.0 Next Hop 2.2.2.2 4.4.4.2 3.3.3.1 Metric LocPrf Weight Path 0 100 0 i 0 0 200 i 0 100 0 i

RouterC#sh ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static route Gateway of last resort is not set B C C B 170.10.0.0/16 [200/0] via 3.3.3.1, 00:14:30 3.0.0.0/24 is subnetted, 1 subnets 3.3.3.0 is directly connected, FastEthernet0/0 4.0.0.0/24 is subnetted, 1 subnets 4.4.4.0 is directly connected, Serial0/0 5.0.0.0/8 [20/0] via 4.4.4.2, 00:03:51

hostname RouterD ! ip subnet-zero ! interface FastEthernet0/0 ip address 5.0.0.1 255.0.0.0 no ip directed-broadcast duplex auto speed auto ! interface Serial0/0 ip address 4.4.4.2 255.255.255.0 no ip directed-broadcast no ip mroute-cache !

interface FastEthernet0/1 no ip address no ip directed-broadcast shutdown duplex auto speed auto ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! router bgp 200 network 5.0.0.0 neighbor 4.4.4.1 remote-as 100 ! ip classless ! line con 0 transport input none line aux 0 line vty 0 4 login ! end RouterD#sh ip bgp BGP table version is 3, local router ID is 5.0.0.1 Status codes: s suppressed, d damped, h history, * valid, > best, i internal Origin codes: i - IGP, e - EGP, ? - incomplete Network *> 5.0.0.0 *> 170.10.0.0 Next Hop 0.0.0.0 4.4.4.1 Metric LocPrf Weight Path 0 32768 i 0 100 i

RouterD#sh ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static route Gateway of last resort is not set B C C 170.10.0.0/16 [20/0] via 4.4.4.1, 00:04:07 4.0.0.0/24 is subnetted, 1 subnets 4.4.4.0 is directly connected, Serial0/0 5.0.0.0/8 is directly connected, FastEthernet0/0

9.2.5 Route filtering configuration example using a single prefix list hostname RouterA ! ip subnet-zero ! process-max-time 200 ! interface FastEthernet0/0 ip address 192.168.10.1 255.255.255.0 no ip directed-broadcast ! interface Serial0/0 ip address 10.10.2.2 255.255.255.0 no ip directed-broadcast no ip mroute-cache no fair-queue ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! router bgp 300 network 192.168.10.0 neighbor 10.10.2.1 remote-as 200 ! ip classless ! line con 0 transport input none line aux 0 line vty 0 4 ! no scheduler allocate end hostname RouterB ! ip subnet-zero ! interface FastEthernet0/0 no ip address no ip directed-broadcast shutdown ! interface Serial0/0 ip address 10.10.2.1 255.255.255.0 no ip directed-broadcast clockrate 56000 ! interface FastEthernet0/1 no ip address no ip directed-broadcast shutdown ! interface Serial0/1

ip address 10.10.1.1 255.255.255.0 no ip directed-broadcast ! router bgp 200 neighbor 10.10.1.2 remote-as 100 neighbor 10.10.2.2 remote-as 300 neighbor 10.10.2.2 prefix-list supernetonly out ! ip classless ! ip prefix-list supernetonly seq 5 permit 172.0.0.0/8 ! line con 0 transport input none line aux 0 line vty 0 4 ! no scheduler allocate end hostname RouterC ! ip subnet-zero ! process-max-time 200 ! interface Loopback0 ip address 172.60.0.1 255.255.0.0 no ip directed-broadcast ! interface FastEthernet0/0 ip address 172.50.0.1 255.255.0.0 no ip directed-broadcast ! interface Serial0/0 ip address 10.10.1.2 255.255.255.0 no ip directed-broadcast no ip mroute-cache clockrate 56000 ! router bgp 100 network 172.50.0.0 network 172.60.0.0 aggregate-address 172.0.0.0 255.0.0.0 summary-only neighbor 10.10.1.1 remote-as 200 ! ip classless no ip http server ! line con 0 transport input none line aux 0 line vty 0 4 !

9.2.7 Communities hostname RouterA ! ip subnet-zero ! process-max-time 200 ! interface FastEthernet0/0 ip address 12.0.0.1 255.0.0.0 no ip directed-broadcast ! interface Serial0/0 ip address 2.0.0.2 255.255.255.0 no ip directed-broadcast no ip mroute-cache ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! router bgp 200 network 12.0.0.0 neighbor 2.0.0.1 remote-as 300 ! ip classless ! line con 0 transport input none line aux 0 line vty 0 4 ! end RouterA#sh ip bgp BGP table version is 3, local router ID is 12.0.0.1 Status codes: s suppressed, d damped, h history, * valid, > best, i internal Origin codes: i - IGP, e - EGP, ? - incomplete Network *> 10.0.0.0 *> 12.0.0.0 Next Hop 2.0.0.1 0.0.0.0 Metric LocPrf Weight Path 0 0 300 i 0 32768 i

RouterA#sh ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static route Gateway of last resort is not set

C B C

2.0.0.0/24 2.0.0.0 10.0.0.0/8 12.0.0.0/8

is subnetted, 1 subnets is directly connected, Serial0/0 [20/0] via 2.0.0.1, 00:01:22 is directly connected, FastEthernet0/0

hostname RouterB ! ip subnet-zero ! interface FastEthernet0/0 ip address 10.0.0.1 255.0.0.0 no ip directed-broadcast ! interface Serial0/0 ip address 2.0.0.1 255.255.255.0 no ip directed-broadcast clockrate 56000 ! interface FastEthernet0/1 no ip address no ip directed-broadcast shutdown ! interface Serial0/1 ip address 3.0.0.1 255.255.255.0 no ip directed-broadcast ! router bgp 300 network 10.0.0.0 neighbor 2.0.0.2 remote-as 200 neighbor 3.0.0.2 remote-as 400 ! ip classless ! line con 0 transport input none line aux 0 line vty 0 4 ! RouterB#sh ip bgp BGP table version is 4, local router ID is 10.0.0.1 Status codes: s suppressed, d damped, h history, * valid, > best, i internal Origin codes: i - IGP, e - EGP, ? - incomplete Network *> 10.0.0.0 *> 11.0.0.0 *> 12.0.0.0 Next Hop 0.0.0.0 3.0.0.2 2.0.0.2 Metric LocPrf Weight Path 0 32768 i 0 0 400 i 0 0 200 i

RouterB#sh ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2

E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default U - per-user static route, o - ODR, P - periodic downloaded static route T - traffic engineered route Gateway of last resort is not set 2.0.0.0/24 2.0.0.0 3.0.0.0/24 3.0.0.0 10.0.0.0/8 11.0.0.0/8 12.0.0.0/8 is subnetted, 1 subnets is directly connected, Serial0/0 is subnetted, 1 subnets is directly connected, Serial0/1 is directly connected, FastEthernet0/0 [20/0] via 3.0.0.2 [20/0] via 2.0.0.2

C C C B B

hostname RouterC ! ip subnet-zero ! process-max-time 200 ! interface FastEthernet0/0 ip address 11.0.0.1 255.0.0.0 no ip directed-broadcast ! interface Serial0/0 ip address 3.0.0.2 255.255.255.0 no ip directed-broadcast no ip mroute-cache no fair-queue clockrate 56000 ! router bgp 400 network 11.0.0.0 neighbor 3.0.0.1 remote-as 300 neighbor 3.0.0.1 send-community neighbor 3.0.0.1 route-map setcommunity out ! ip classless ! access-list 1 permit 11.0.0.0 0.255.255.255 route-map setcommunity permit 10 match ip address 1 set community no-export ! route-map setcommunity permit 20 ! line con 0 transport input none line aux 0 line vty 0 4 ! RouterC#sh ip bgp BGP table version is 4, local router ID is 11.0.0.1

Status codes: s suppressed, d damped, h history, * valid, > best, i internal Origin codes: i - IGP, e - EGP, ? - incomplete Network *> 10.0.0.0 *> 11.0.0.0 *> 12.0.0.0 Next Hop 3.0.0.1 0.0.0.0 3.0.0.1 Metric LocPrf Weight Path 0 0 300 i 0 32768 i 0 300 200 i

RouterC#sh ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static route Gateway of last resort is not set 3.0.0.0/24 3.0.0.0 10.0.0.0/8 11.0.0.0/8 12.0.0.0/8 is subnetted, 1 subnets is directly connected, Serial0/0 [20/0] via 3.0.0.1, 00:01:52 is directly connected, FastEthernet0/0 [20/0] via 3.0.0.1, 00:01:25

C B C B

RouterC#sh ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static route Gateway of last resort is not set 3.0.0.0/24 3.0.0.0 10.0.0.0/8 11.0.0.0/8 12.0.0.0/8 is subnetted, 1 subnets is directly connected, Serial0/0 [20/0] via 3.0.0.1, 00:02:02 is directly connected, FastEthernet0/0 [20/0] via 3.0.0.1, 00:01:35

C B C B

hostname RouterC ! ip subnet-zero ! process-max-time 200 ! interface FastEthernet0/0 ip address 11.0.0.1 255.0.0.0 no ip directed-broadcast !

interface Serial0/0 ip address 3.0.0.2 255.255.255.0 no ip directed-broadcast no ip mroute-cache no fair-queue clockrate 56000 ! router bgp 400 network 11.0.0.0 neighbor 3.0.0.1 remote-as 300 neighbor 3.0.0.1 send-community neighbor 3.0.0.1 route-map setcommunity out ! ip classless no ip http server ! access-list 1 permit 11.0.0.0 0.255.255.255 route-map setcommunity permit 10 match ip address 1 set community no-export ! route-map setcommunity permit 20 ! line con 0 transport input none line aux 0 line vty 0 4 ! RouterC#sh ip bgp BGP table version is 4, local router ID is 11.0.0.1 Status codes: s suppressed, d damped, h history, * valid, > best, i internal Origin codes: i - IGP, e - EGP, ? - incomplete Network *> 10.0.0.0 *> 11.0.0.0 *> 12.0.0.0 Next Hop 3.0.0.1 0.0.0.0 3.0.0.1 Metric LocPrf Weight Path 0 0 300 i 0 32768 i 0 300 200 i

RouterC#sh ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static route Gateway of last resort is not set 3.0.0.0/24 3.0.0.0 10.0.0.0/8 11.0.0.0/8 is subnetted, 1 subnets is directly connected, Serial0/0 [20/0] via 3.0.0.1, 00:02:12 is directly connected, FastEthernet0/0

C B C

12.0.0.0/8 [20/0] via 3.0.0.1, 00:01:45

9.2.9 Peer groups hostname RouterA ! ip subnet-zero ! process-max-time 200 ! interface FastEthernet0/0 ip address 12.0.0.1 255.0.0.0 no ip directed-broadcast ! interface Serial0/0 ip address 2.0.0.2 255.255.255.0 no ip directed-broadcast no ip mroute-cache no fair-queue ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! router bgp 200 network 12.0.0.0 neighbor 2.0.0.1 remote-as 300 ! ip classless no ip http server ! ! line con 0 exec-timeout 0 0 transport input none line aux 0 line vty 0 4 ! ! no scheduler allocate end hostname RouterB ip subnet-zero ! interface FastEthernet0/0 ip address 10.0.0.1 255.0.0.0 no ip directed-broadcast ! interface Serial0/0 ip address 2.0.0.1 255.255.255.0 no ip directed-broadcast no ip mroute-cache clockrate 56000 ! interface FastEthernet0/1 no ip address no ip directed-broadcast

shutdown ! interface Serial0/1 ip address 3.0.0.1 255.255.255.0 no ip directed-broadcast ! router bgp 300 network 10.0.0.0 neighbor EXTERNALMAP peer-group neighbor EXTERNALMAP distribute-list 1 out neighbor 2.0.0.2 remote-as 200 neighbor 2.0.0.2 peer-group EXTERNALMAP neighbor 3.0.0.2 remote-as 400 neighbor 3.0.0.2 peer-group EXTERNALMAP ! ip classless no ip http server ! access-list 1 deny 10.0.0.0 0.255.255.255 access-list 1 permit any ! line con 0 transport input none line aux 0 line vty 0 4 ! no scheduler allocate end hostname RouterC ! ip subnet-zero ! process-max-time 200 ! interface FastEthernet0/0 ip address 11.0.0.1 255.0.0.0 no ip directed-broadcast ! interface Serial0/0 ip address 3.0.0.2 255.255.255.0 no ip directed-broadcast no ip mroute-cache clockrate 56000 ! router bgp 400 network 11.0.0.0 neighbor 3.0.0.1 remote-as 300 ! ip classless ! line con 0 transport input none line aux 0 line vty 0 4 ! no scheduler allocate

end

9.4.2 Default only, one primary, and one backup link scenario hostname RouterA ! ip subnet-zero ! interface FastEthernet0/0 ip address 10.0.0.1 255.255.255.0 no ip directed-broadcast ! interface Serial0/0 ip address 1.1.1.2 255.255.255.0 no ip directed-broadcast no ip mroute-cache clockrate 56000 ! interface FastEthernet0/1 no ip address no ip directed-broadcast shutdown ! interface Serial0/1 ip address 2.2.2.2 255.255.255.0 no ip directed-broadcast ! router bgp 200 network 10.0.0.0 neighbor 1.1.1.1 remote-as 100 neighbor 1.1.1.1 route-map BlockUpdates in neighbor 1.1.1.1 route-map BackupMetric out neighbor 2.2.2.1 remote-as 100 neighbor 2.2.2.1 route-map BlockUpdates in neighbor 2.2.2.1 route-map PrimaryMetric out ! ip classless ip route 0.0.0.0 0.0.0.0 2.2.2.1 30 ip route 0.0.0.0 0.0.0.0 1.1.1.1 50 no ip http server ! route-map BackupMetric permit 10 set metric 100 ! route-map BlockUpdates deny 10 ! route-map PrimaryMetric permit 10 set metric 50 ! ! line con 0 transport input none line aux 0 line vty 0 4 password cisco login ! RouterA#sh ip rou

Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default U - per-user static route, o - ODR, P - periodic downloaded static route T - traffic engineered route Gateway of last resort is 2.2.2.1 to network 0.0.0.0 2.0.0.0/24 is subnetted, 1 subnets 2.2.2.0 is directly connected, Serial0/1 0.0.0.0/0 [30/0] via 2.2.2.1

C S*

hostname RouterB ! ip subnet-zero ! process-max-time 200 ! interface FastEthernet0/0 ip address 192.68.11.1 255.255.255.0 no ip directed-broadcast ! interface Serial0/0 ip address 1.1.1.1 255.255.255.0 no ip directed-broadcast ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! router bgp 100 network 192.68.11.0 neighbor 1.1.1.2 remote-as 200 neighbor 192.68.11.2 remote-as 100 ! ip classless no ip http server ! ! line con 0 transport input none line aux 0 line vty 0 4 ! no scheduler allocate end RouterB#sh run Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area

N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static route Gateway of last resort is not set 1.0.0.0/24 is subnetted, 1 subnets 1.1.1.0 is directly connected, Serial0/0 192.68.11.0/24 is directly connected, FastEthernet0/0

C C

RouterB#sh ip bgp BGP table version is 2, local router ID is 192.68.11.2 Status codes: s suppressed, d damped, h history, * valid, > best, i internal Origin codes: i - IGP, e - EGP, ? - incomplete Network *> 192.68.11.0 Next Hop 0.0.0.0 Metric LocPrf Weight Path 0 32768 i

hostname RouterC ! ip subnet-zero ! process-max-time 200 ! interface FastEthernet0/0 ip address 192.68.11.2 255.255.255.0 no ip directed-broadcast ! interface Serial0/0 ip address 2.2.2.1 255.255.255.0 no ip directed-broadcast no ip mroute-cache clockrate 56000 ! router bgp 100 network 192.68.11.0 neighbor 2.2.2.2 remote-as 200 neighbor 192.68.11.1 remote-as 100 ! ip classless ! line con 0 transport input none line aux 0 line vty 0 4 end RouterC#sh ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP

i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static route Gateway of last resort is not set 2.0.0.0/24 is subnetted, 1 subnets 2.2.2.0 is directly connected, Serial0/0 192.68.11.0/24 is directly connected, FastEthernet0/0

C C

RouterC#sh ip bgp BGP table version is 14, local router ID is 192.68.11.2 Status codes: s suppressed, d damped, h history, * valid, > best, i internal Origin codes: i - IGP, e - EGP, ? - incomplete Network *> 192.68.11.0 Next Hop 0.0.0.0 Metric LocPrf Weight Path 0 32768 i

9.5.4 Inject information dynamically into BGP (configuration) hostname RouterA ! ip subnet-zero ! process-max-time 200 ! interface FastEthernet0/0 ip address 10.0.0.1 255.255.255.0 no ip directed-broadcast ! interface Serial0/0 ip address 192.68.12.2 255.255.255.0 no ip directed-broadcast no ip mroute-cache ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! router bgp 200 network 10.0.0.0 neighbor 192.68.12.1 remote-as 100 ! ip classless no ip http server ! line con 0 transport input none line aux 0 line vty 0 4 ! no scheduler allocate end RouterA#sh ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static route Gateway of last resort is not set C B B C 192.68.12.0/24 192.68.10.0/24 192.68.11.0/24 10.0.0.0/24 is 10.0.0.0 is is directly connected, Serial0/0 [20/1] via 192.68.12.1, 00:10:07 [20/0] via 192.68.12.1, 00:10:07 subnetted, 1 subnets directly connected, FastEthernet0/0

RouterA#sh ip bgp

BGP table version is 4, local router ID is 192.68.12.2 Status codes: s suppressed, d damped, h history, * valid, > best, i internal Origin codes: i - IGP, e - EGP, ? - incomplete Network *> 10.0.0.0 *> 192.68.10.0 *> 192.68.11.0 Next Hop 0.0.0.0 192.68.12.1 192.68.12.1 Metric LocPrf Weight Path 0 32768 i 1 0 100 ? 0 0 100 ?

hostname RouterB ! ip subnet-zero ! interface FastEthernet0/0 no ip address no ip directed-broadcast shutdown ! interface Serial0/0 ip address 192.68.12.1 255.255.255.0 no ip directed-broadcast clockrate 56000 ! interface FastEthernet0/1 no ip address no ip directed-broadcast shutdown ! interface Serial0/1 ip address 192.68.11.1 255.255.255.0 no ip directed-broadcast ! router rip network 192.68.11.0 ! router bgp 100 redistribute rip neighbor 192.68.12.2 remote-as 200 ! ip classless no ip http server ! line con 0 transport input none line aux 0 line vty 0 4 ! end RouterB#sh ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP

i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default U - per-user static route, o - ODR, P - periodic downloaded static route T - traffic engineered route Gateway of last resort is not set C R C B 192.68.12.0/24 is directly connected, Serial0/0 192.68.10.0/24 [120/1] via 192.68.11.2, Serial0/1 192.68.11.0/24 is directly connected, Serial0/1 10.0.0.0/8 [20/0] via 192.68.12.2

RouterB#sh ip bgp BGP table version is 7, local router ID is 192.68.12.1 Status codes: s suppressed, d damped, h history, * valid, > best, i internal Origin codes: i - IGP, e - EGP, ? - incomplete Network *> 10.0.0.0 *> 192.68.10.0 *> 192.68.11.0 Next Hop 192.68.12.2 192.68.11.2 0.0.0.0 Metric LocPrf Weight Path 0 0 200 i 1 32768 ? 0 32768 ?

hostname RouterC ! ip subnet-zero ! process-max-time 200 ! interface FastEthernet0/0 ip address 192.68.10.1 255.255.255.0 no ip directed-broadcast ! interface Serial0/0 ip address 192.68.11.2 255.255.255.0 no ip directed-broadcast no ip mroute-cache no fair-queue clockrate 56000 ! router rip network 192.68.10.0 network 192.68.11.0 ! ip classless ip route 0.0.0.0 0.0.0.0 192.168.11.1 ip route 0.0.0.0 0.0.0.0 192.68.11.1 ! line con 0 transport input none line aux 0 line vty 0 4 ! end RouterC#sh ip bgp

% BGP not active RouterC#sh ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static route Gateway of last resort is 192.68.11.1 to network 0.0.0.0 C C S* 192.68.10.0/24directly connected, FastEthernet0/0 192.68.11.0/24 is directly connected, Serial0/0 0.0.0.0/0 [1/0] via 192.68.11.1

Chapter 10 10.2.1 Standard access control lists - router configurations

Lab 10-2 standard access control lists - router configurations ROUTER-A:

Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname Router-A ! enable password ccnp ! ! ! ! ! ip subnet-zero ! ip audit notify log ip audit po max-events 100 ! ! ! process-max-time 200 ! interface FastEthernet0/0 ip address 172.32.4.1 255.255.255.0 ip access-group 2 out no ip directed-broadcast ! interface Serial0/0 ip address 172.32.3.1 255.255.255.0 no ip directed-broadcast no ip mroute-cache clockrate 56000 ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! router igrp 111 network 172.32.0.0 ! ip classless ip http server !

access-list 2 deny 172.32.2.0 0.0.0.255 access-list 2 permit any ! line con 0 password cisco login transport input none line aux 0 line vty 0 4 password cisco login ! ! end

ROUTER-B: Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname Router-B ! enable password ccnp ! memory-size iomem 20 ip subnet-zero ! ! ! ! ! interface FastEthernet0/0 ip address 172.32.2.1 255.255.255.0 no ip directed-broadcast ! interface Serial0/0 ip address 172.32.3.2 255.255.255.0 no ip directed-broadcast no ip mroute-cache no fair-queue ! interface Serial0/1 ip address 168.71.7.1 255.255.255.0 no ip directed-broadcast clockrate 56000 ! router igrp 111 network 172.32.0.0 ! ip classless no ip http server !

! line con 0 password cisco login transport input none line aux 0 line vty 0 4 password cisco login ! no scheduler allocate end

10.3.2 Lab-router-A config. Current configuration: ! version 12.0 service slave-log service udp-small-servers service tcp-small-servers ! hostname router-a ! enable secret 5 $1$OdO3$7HCkCYAQ3Ly/yoFEwlt3l/ ! ! interface FastEthernet0/0 ip address 172.32.4.1 255.255.255.0 ! interface Serial0 ip address 172.32.3.1 255.255.255.0 clockrate 56000 ! interface BRI0 no ip address shutdown ! router igrp 172 network 172.32.0.0 ! no ip classless ! ! line con 0 line aux 0 line vty 0 4 password cisco login ! end

10.3.2 Lab-router-B config. Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-b ! enable secret 5 $1$jxw6$RLQQHiuCQX6M5NzeuyyWu/ ! ip subnet-zero ! interface FastEthernet0/0 ip address 172.32.2.1 255.255.255.0 no ip directed-broadcast ! interface Serial0/0 no ip address no ip directed-broadcast no ip mroute-cache shutdown ! interface Serial0/1 ip address 172.32.3.2 255.255.255.0 no ip directed-broadcast ! router igrp 172 network 172.32.0.0 ! ip classless no ip http server ! access-list 2 permit 172.32.4.0 0.0.0.255 ! line con 0 transport input none line aux 0 line vty 0 4 access-class 2 in password cisco login ! end

10.4.1 Extended access control lists - router configurations Lab 10-4 Extended access control lists - router configurations ROUTER-A: Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname Router-A ! enable password ccnp ! ! ! ! ! ip subnet-zero ! ip audit notify log ip audit po max-events 100 ! ! ! process-max-time 200 ! interface FastEthernet0/0 ip address 172.32.4.1 255.255.255.0 ip access-group 102 in no ip directed-broadcast ! interface Serial0/0 ip address 172.32.3.1 255.255.255.0 no ip directed-broadcast no ip mroute-cache clockrate 56000 ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! router igrp 111 network 172.32.0.0 ! ip classless ip http server ! access-list 102 deny tcp 172.32.4.0 0.0.0.255 host 172.32.3.2 eq telnet access-list 102 deny tcp 172.32.4.0 0.0.0.255 host 172.32.2.1 eq telnet access-list 102 permit ip any any

! line con 0 password cisco login transport input none line aux 0 line vty 0 4 password cisco login ! ! no scheduler allocate end

ROUTER-B:

Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname Router-B ! enable password ccnp ! memory-size iomem 20 ip subnet-zero ! ! ! ! ! interface FastEthernet0/0 ip address 172.32.2.1 255.255.255.0 no ip directed-broadcast ! interface Serial0/0 ip address 172.32.3.2 255.255.255.0 no ip directed-broadcast no ip mroute-cache no fair-queue ! interface Serial0/1 ip address 168.71.7.1 255.255.255.0 no ip directed-broadcast clockrate 56000 ! router igrp 111 network 172.32.0.0 ! ip classless no ip http server !

! line con 0 password cisco login transport input none line aux 0 line vty 0 4 password cisco login ! no scheduler allocate end

10.5.2 Lab-router-A config. Current configuration: ! version 12.0 service slave-log service udp-small-servers service tcp-small-servers ! hostname router-a ! enable secret 5 $1$OdO3$7HCkCYAQ3Ly/yoFEwlt3l/ ! ! interface FastEthernet0/0 ip address 172.32.4.1 255.255.255.0 ! interface Serial0 ip address 172.32.3.1 255.255.255.0 clockrate 56000 ! interface BRI0 no ip address shutdown ! router igrp 172 network 172.32.0.0 ! no ip classless ip route 172.32.2.0 255.255.255.0 Null0 ! line con 0 line aux 0 line vty 0 4 password cisco login ! end

10.5.2 Lab-router-B config. Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-b ! enable secret 5 $1$jxw6$RLQQHiuCQX6M5NzeuyyWu/ ! ip subnet-zero ! interface FastEthernet0/0 ip address 172.32.2.1 255.255.255.0 no ip directed-broadcast ! interface Serial0/0 no ip address no ip directed-broadcast no ip mroute-cache shutdown ! interface Serial0/1 ip address 172.32.3.2 255.255.255.0 no ip directed-broadcast ! router igrp 172 network 172.32.0.0 ! ip classless no ip http server ! access-list 2 permit 172.32.4.0 0.0.0.255 ! line con 0 transport input none line aux 0 line vty 0 4 access-class 2 in password cisco login ! end

10.9.1 Lock and key access control lists

Lab 10-9 Lock and Key access control lists - router configurations ROUTER-A:

Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname Router-A ! enable password ccnp ! ! ! ! ! ip subnet-zero ! ip audit notify log ip audit po max-events 100 ! ! ! process-max-time 200 ! interface FastEthernet0/0 ip address 172.32.4.1 255.255.255.0 no ip directed-broadcast ! interface Serial0/0 ip address 172.32.3.1 255.255.255.0 no ip directed-broadcast no ip mroute-cache clockrate 56000 ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! router igrp 111 network 172.32.0.0 ! ip classless ip http server ! ! line con 0 password cisco login

transport input none line aux 0 line vty 0 4 password cisco login ! ! no scheduler allocate end ROUTER-B:

Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname Router-B ! enable password ccnp ! username john password 0 doe username mary password 0 jane memory-size iomem 20 ip subnet-zero ! ! ! ! ! interface FastEthernet0/0 ip address 172.32.2.1 255.255.255.0 ip access-group 103 in no ip directed-broadcast ! interface Serial0/0 ip address 172.32.3.2 255.255.255.0 no ip directed-broadcast no ip mroute-cache no fair-queue ! interface Serial0/1 ip address 168.71.7.1 255.255.255.0 no ip directed-broadcast clockrate 56000 ! router igrp 111 network 172.32.0.0 ! ip classless no ip http server ! access-list 103 permit tcp any host 172.32.2.1 eq telnet

access-list 103 dynamic mytest103 timeout 5 permit ip any any ! line con 0 password cisco login transport input none line aux 0 line vty 0 3 password cisco login local autocommand access-enable host timeout 2 line vty 4 password cisco login ! no scheduler allocate end

10.10.1 Reflexive access control lists

Lab 10-10 Reflexive access control lists - router configurations ROUTER-A:

Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname Router-A ! enable password ccnp ! ! ! ! ! ip subnet-zero ! ip audit notify log ip audit po max-events 100 ! ! ! process-max-time 200 ! interface FastEthernet0/0 ip address 172.32.4.1 255.255.255.0 no ip directed-broadcast ! interface Serial0/0 ip address 172.32.3.1 255.255.255.0 no ip directed-broadcast no ip mroute-cache clockrate 56000 ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! router igrp 111 network 172.32.0.0 ! ip classless ip http server ! ! line con 0 password cisco

login transport input none line aux 0 line vty 0 4 password cisco login ! ! no scheduler allocate end ROUTER-B: Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router-b ! enable secret 5 $1$qW1v$O5QvdfutDozTeqwVtSOp3/ ! ip subnet-zero ip reflexive-list timeout 120 ! ! ! interface FastEthernet 0/0 ip address 172.32.2.1 255.255.255.0 no ip directed-broadcast ! interface Serial 0/1 no ip address no ip directed-broadcast no ip mroute-cache shutdown ! interface Serial 0/0 description interface which access the external network ip address 172.32.3.2 255.255.255.0 ip access-group refaclin in ip access-group refaclout out no ip directed-broadcast ! router igrp 102 network 172.32.0.0 ! ip classless ! ! ip access-list extended refaclin permit igrp any any deny icmp any any evaluate tcptraffic ip access-list extended refaclout

permit tcp any any reflect tcptraffic ! line con 0 password cisco login transport input none line aux 0 line vty 0 4 password cisco login ! end 10.11.1 Context based access control (basic config)

Lab 10-11a Context based access control (basic config) - router configurations ROUTER-A:

Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname Router-A ! enable password ccnp ! ! ! ! ! ip subnet-zero ! ip audit notify log ip audit po max-events 100 ! ! ! process-max-time 200 ! interface FastEthernet0/0 ip address 172.32.4.1 255.255.255.0 no ip directed-broadcast ! interface Serial0/0 ip address 172.32.3.1 255.255.255.0 no ip directed-broadcast no ip mroute-cache clockrate 56000 ! interface Serial0/1

no ip address no ip directed-broadcast shutdown ! router igrp 111 network 172.32.0.0 ! ip classless ip http server ! ! line con 0 password cisco login transport input none line aux 0 line vty 0 4 password cisco login ! ! no scheduler allocate end ROUTER-B:

Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log datetime no service password-encryption ! hostname router-b ! enable password ccnp ! memory-size iomem 20 ip subnet-zero no ip source-route ! ip inspect audit-trail ip inspect tcp idle-time 30 ip inspect tcp synwait-time 15 ip inspect name borderfw http ! ! ! ! interface FastEthernet0/0 ip address 172.32.2.1 255.255.255.0 no ip directed-broadcast ! interface Serial0/0 ip address 172.32.3.2 255.255.255.0

ip ip no ip no no

access-group 114 in access-group 104 out ip directed-broadcast inspect borderfw out ip mroute-cache fair-queue

! interface Serial0/1 no ip address no ip directed-broadcast no ip mroute-cache clockrate 56000 ! router igrp 111 network 172.32.0.0 ! ip classless no ip http server ! access-list 104 permit igrp any any access-list 104 permit tcp 172.32.2.0 0.0.0.255 any eq www access-list 104 deny ip any any access-list 114 permit igrp any any access-list 114 deny ip any any ! line con 0 password cisco login transport input none line aux 0 line vty 0 4 password cisco login ! end

10.11.2

Context based access control (advanced config)

Lab 10-11b Context based access control (advanced config) - router configurations ROUTER-A:

Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname Router-A ! enable password ccnp ! ! ! ! ! ip subnet-zero ! ip audit notify log ip audit po max-events 100 ! ! ! process-max-time 200 ! interface FastEthernet0/0 ip address 172.32.4.1 255.255.255.0 no ip directed-broadcast ! interface Serial0/0 ip address 172.32.3.1 255.255.255.0 no ip directed-broadcast no ip mroute-cache clockrate 56000 ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! router igrp 111 network 172.32.0.0 ! ip classless ip http server ! ! line con 0

password cisco login transport input none line aux 0 line vty 0 4 password cisco login ! ! no scheduler allocate end

ROUTER-B:

Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log datetime no service password-encryption ! hostname router-b ! enable secret 5 $1$4RCY$PN.qxAEfKcTIue0VQ.Vl6. enable password ccnp ! memory-size iomem 20 ip subnet-zero no ip source-route ! ip inspect audit-trail ip inspect tcp idle-time 30 ip inspect tcp synwait-time 15 ip inspect name borderfw ftp timeout 60 ip inspect name borderfw http java-list 44 timeout 60 ip inspect name borderfw tftp timeout 30 ip inspect name borderfw udp timeout 15 ip inspect name borderfw tcp timeout 30 ! ! ! ! interface FastEthernet0/0 ip address 172.32.2.1 255.255.255.0 no ip directed-broadcast no cdp enable ! interface Serial0/0 ip address 172.32.3.2 255.255.255.0 ip access-group 114 in ip access-group 104 out no ip directed-broadcast ip inspect borderfw out

no ip mroute-cache ntp disable no fair-queue no cdp enable ! interface Serial0/1 ip address 172.32.99.1 255.255.255.0 no ip directed-broadcast no ip mroute-cache clockrate 56000 no cdp enable ! router igrp 111 network 172.32.0.0 ! ip classless no ip http server ! access-list 44 deny 172.32.4.3 access-list 44 permit 172.32.3.1 access-list 44 permit 172.32.4.0 0.0.0.255 access-list 44 deny any access-list 104 permit tcp 172.32.2.0 0.0.0.255 any access-list 104 permit udp 172.32.2.0 0.0.0.255 any access-list 104 permit icmp 172.32.2.0 0.0.0.255 any access-list 104 deny ip any any access-list 114 deny ip host 255.255.255.255 any access-list 114 deny ip 172.32.2.0 0.0.0.255 any access-list 114 permit igrp any any access-list 114 permit icmp any 172.32.2.0 0.0.0.255 administrativelyprohibited access-list 114 permit access-list 114 permit access-list 114 permit access-list 114 permit access-list 114 permit access-list 114 permit access-list 114 deny no cdp run ! line con 0 password cisco login transport input none line aux 0 line vty 0 4 password cisco login ! end icmp any 172.32.2.0 icmp any 172.32.2.0 icmp any 172.32.2.0 icmp any 172.32.2.0 icmp any 172.32.2.0 icmp any 172.32.2.0 ip any any 0.0.0.255 0.0.0.255 0.0.0.255 0.0.0.255 0.0.0.255 0.0.0.255 echo echo-reply packet-too-big time-exceeded traceroute unreachable

Das könnte Ihnen auch gefallen