Cisco IOS Cookbook

Errata for Cisco IOS Cookbook

Submit your own errata for this product.


The errata list is a list of errors and their corrections that were found after the product was released.

The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.


Color Key: Serious Technical Mistake Minor Technical Mistake Language or formatting error Typo Question Note Update



Version Location Description Submitted By Date Submitted
Safari Books Online NAT > Stateful NAT Failover
4th Code View:

Recipe 21.9. Stateful NAT Failover Incorrect: See the NAT pool name (NATPOOL1 & 2 are not being used and there is no such pool as NATPOOL) Router-A(config)#ip nat pool NATPOOL1 172.17.100.100 172.17.100.150 netmask 255.255.255.0 Router-A(config)#ip nat inside source list 11 pool NATPOOL mapping-id 1 Router-A(config)#ip nat pool NATPOOL2 172.17.100.151 172.17.100.200 netmask 255.255.255.0 Router-A(config)#ip nat inside source list 12 pool NATPOOL mapping-id 2 Coorect: See the NAT pool name in 'ip nat inside source' statements: Router-A(config)#ip nat pool NATPOOL1 172.17.100.100 172.17.100.150 netmask 255.255.255.0 Router-A(config)#ip nat inside source list 11 pool NATPOOL1 mapping-id 1 Router-A(config)#ip nat pool NATPOOL2 172.17.100.151 172.17.100.200 netmask 255.255.255.0 Router-A(config)#ip nat inside source list 12 pool NATPOOL2 mapping-id 2

Anonymous  Oct 07, 2008 
Printed Page xxi
3rh para

In third sentence, "additional" is spelled incorrectly. Fixed in Safari version.

Anonymous  Dec 09, 2008 
Printed Page 44
Line 38 in backup.pl script

Line 38 is written as follows: $status=~/.+ = "(.+)".*$/; and should be corrected as follows: $status =~ /"(.+)".*$/; In its original form the regular expression returns the value of $1 as null and the script will never succeed.

Anonymous   
Printed Page 44
Recipe 1.1 line 44

Line 44 in backup.pl script is written as follows: $status=~/.+ = "(.+)".*$/; Someone wrote in that it should be corrected as follows: $status =~ /"(.+)".*$/; ...stating that "In its original form the regular expression returns the value of $1 as null and the script will never succeed." Neither of the above work. They both give the same error (only difference is contents of the line in error): syntax error at ./backup.pl line 44, near "$status=~/.+ = "(.+)".*$/;" (Might be a runaway multi-line $$ string starting on line 43) Execution of ./backup.pl aborted due to compilation errors.

Anonymous   
Printed Page 44
Recipe 1.1 line 44

Line 44 in backup.pl script is written as follows: $status=~/.+ = "(.+)".*$/; Someone wrote in that it should be corrected as follows: $status =~ /"(.+)".*$/; ...stating that "In its original form the regular expression returns the value of $1 as null and the script will never succeed." Neither of the above work. They both give the same error (only difference is contents of the line in error): syntax error at ./backup.pl line 44, near "$status=~/.+ = "(.+)".*$/;" (Might be a runaway multi-line $$ string starting on line 43) Execution of ./backup.pl aborted due to compilation errors.

Anonymous  Jun 17, 2008 
Printed Page 52
above See Also

"Elegant" is misspelled as "elegent" Fixed in Safari version.

Anonymous  Dec 09, 2008 
Printed Page 67
Recipe 2.5

In discussing Recipe 2.5 presented at the top of the page, the third paragraph includes the following phrase and code snippet: “If you don’t want to run CDP on a particular interface, you can use the no cdp enable command, as we did for the serial interface in the example: Router1(config)#interface Serial0/0 Router1(config-ip)#no cdp enable However, if you look at Recipe 2.5, the “no cdp enable” command actually applies to interface FastEthernet0/0. I suspect that the authors intended the “no cdp enable” command to be associated with interface Serial0/0, but that is not what is in the recipe.

Bert Sierra  Jan 23, 2012 
Printed Page 67
Recipe 2.5

[submitting again -- using plain ASCII quotes this time] In discussing Recipe 2.5 presented at the top of the page, the third paragraph includes the following phrase and code snippet: If you don’t want to run CDP on a particular interface, you can use the no cdp enable command, as we did for the serial interface in the example: Router1(config)#interface Serial0/0 Router1(config-ip)#no cdp enable However, if you look at Recipe 2.5, the "no cdp enable" command actually applies to interface FastEthernet0/0. I suspect that the authors intended the "no cdp enable" command to be associated with interface Serial0/0, but that is not what is in the recipe.

Bert Sierra  Jan 23, 2012 
Printed Page 78
mid-page

"Discuss" is spelled incorrectly. Fixed in Safari version.

Anonymous  Dec 09, 2008 
Printed Page 93
last para

"Performance" is spelled incorrectly. Fixed in Safari version.

Anonymous  Dec 09, 2008 
Printed Page 94
middle of first para

"Function" is misspelled. Fixed in Safari version.

Anonymous  Dec 09, 2008 
Printed Page 125
2nd paragraph in Solution 3.9

In section 3.9 "Changing VTY Timeouts," the text says "You can use this same command to simply increase the EXEC timeout to a large value, such as three hours..." yet the code sets the timeout to two hours: exec-timeout 240 0 !! 240 minutes is two hours

Bert Sierra  Jan 26, 2012 
Printed Page 125
2nd paragraph in Solution 3.9

Oops.... 240 minutes is four hours. Totally confused.

Bert Sierra  Jan 26, 2012 
Printed Page 127
Section 3.10

Testing Solution 3.10 against IOS 15.1(4)M2, it seems that the "transport input telnet" command doesn't work as expected, or at least doesn't change how the transport is reported when you issue "show terminal | include input". Both before and after issuing a "transport input telnet" command, the output from "show terminal | include input" is: Allowed input transports are none.

Bert Sierra  Jan 26, 2012 
Printed Page 137
last para

"Rotary" is spelled "rotarty" Fixed in Safari version.

Anonymous  Dec 09, 2008 
Printed Page 138
first para

In first para, "in dicates" should be "indicates". Fixed in safari version.

Anonymous  Dec 09, 2008 
Printed Page 204
last paragraph

In the second to last sentence on the page, "...allows you to specify and appropriate delay" should read "...allows you to specify an appropriate delay". In other words, the word "and" should be changed to "an."

Bert Sierra  Jan 26, 2012 
Printed Page 228
Third paragraph; first sentence under "Discussion" heading

The italicized phrase "default originate" should more correctly be referred to as "default-information originate" as is done in the following paragraph.

Bert Sierra  Jan 31, 2012 
Printed Page 378
Problem and Solution sections

The section is designed to illustrate how to prevent the advertising of specific routes to a peer, however the solution is for how to filter out a received route received from a peer: 9.6 Restricting Networks Advertised to a BGP Peer Problem You want to restrict which routes your router advertises to another AS. Solution In all of these examples, the router will suppress the route 172. 25. 0. 0/16 from its BGP route table if it is received from the eBGP peer In all of the 3 code examples, the 'in' should be replaced with an 'out'

Anonymous  Dec 14, 2009 
Printed Page 387
2nd Paragraph

Text states: ....the router uses the BGP Multipath feature only for routes that are equivalent after all tests up to and including the MED test. Cisco web site states: If the following conditions are all true, insert the route for this path into the IP routing table: Both the best route and this route are external. Both the best route and this route are from the same neighboring autonomous system. maximum-paths is enabled. The check described above occurs after the MED check. For reference, please see: http://www.cisco.com/univercd/cc/td/doc/product/software/ios121/121cgcr/ip_c/ipcprt2/1cdbgp.htm

Anonymous   
Printed Page 494
Top of page

First sentence starts with "Thes" - should be "These" Fixed in Safari version

Anonymous  Dec 09, 2008 
Printed Page 539
7th configuration line

The following command below seems in Recipe 12.6 to be a holdover from Recipe 12.5 (Creating an Encrypted Router-to-Router VPN in a GRE Tunnel) on page 530. It shouldn't be needed; nor is it mentioned as part of Router2's configuration example as it is in Recipe 12.5. It also isn't added to a direction on an interface in the recipe which would also prove it is a holdover from Recipe 12.5 Router1(config)#access-list 102 permit gre host 172.16.1.1 host 172.16.2.1

Anonymous   
Printed Page 748
last line

"Notifications" is spelled incorrectly. Fixed in Safari version.

Anonymous  Dec 09, 2008 
Printed Page 759
3rd paragpaph from bottom

"statistic" should be "statistics".

Anonymous   
Printed Page 804
middle

Two errors: First, "our first eample" should be "our first example" Second, "sample log messge" should be "sample log message" Fixed in Safari.

Anonymous  Dec 09, 2008 
Printed Page 885
Code line ip nat inside source list 16 pool INBOUNDNAT overload

ip nat inside source list 16 pool INBOUNDNAT overload The correct syntax should be: ip nat outside source list 16 pool INBOUNDNAT overload

Anonymous   
Printed Page 918
beofre "See Also"

"bec omes" should be "becomes" Fixed on safari.

Anonymous  Dec 09, 2008 
Printed Page 921
before "See Also" mid-page

"devieces" should be "devices" Fixed on safari.

Anonymous  Dec 09, 2008 
Printed Page 1030
second full para

"recives" should be "receives" Fixed in safari version.

Anonymous  Dec 09, 2008 
Printed Page 1036
second full para

"This referes to" should be "This refers to" Fixed on Safari.

Anonymous  Dec 09, 2008 
Printed Page 1075
1st paragraph

1st complete sentence ends with "... Router-PE2." It should be "Router-PE3".

Anonymous   
Printed Page 1079
Recipe 26.2. Configuring a Basic MPLS PE Router

From the book Router-PE2(config)#interface FastEthernet0/0.2 Router-PE2(config-if)#description Connection to customer A, site 2 Router-PE2(config-if)#encapsulation dot1Q 102 Router-PE2(config-if)#ip address 192.168.3.1 255.255.255.0 Lacking Router-PE2(config-if)#ip vrf forwarding NetworkA From the book Router-PE2(config-router)#neighbor 10.0.0.3 remote-as 100 Router-PE2(config-router)#neighbor 10.0.0.3 update-source Loopback0 Should be Router-PE2(config-router)#neighbor 10.0.0.4 remote-as 100 Router-PE2(config-router)#neighbor 10.0.0.4 update-source Loopback0

Anonymous   
Printed Page 1143
bottom of third para

"Configureations" should be "configuration" Fixed on Safari.

Anonymous  Dec 10, 2008 
Printed Page 1149
last para

"eligble" should be "eligible" Fixed on Safari.

Anonymous  Dec 10, 2008 
Printed Page 1187
Second Column, 8th entry from bottom

Index entry for "Embedded System Manager (ESM)" Should read: "Embedded Syslog Manager (ESM)"

Michael Crowe  Mar 23, 2010 
Printed Page 1188
First Column, 15th Line (5th Entry)

Index entry for "ESM (Embedded System Manager)" Should read: "ESM (Embedded Syslog Manager)"

Michael Crowe  Mar 23, 2010 
PDF Page 1452
Router-PE2 config example line 31

Router PE-2 connection to Customer A, Site 2 should not be a sub-interface of FastEthernet 0/0. In Adobe PDF configuration looks like this: "Router-PE2 (config) #interface FastEthernet 0/0.2" "Router-PE2 (config-if) #description Connection to customer A, site2" It should read: "Router-PE2 (config) #interface FastEthernet 0/2" Or some other physical interface. Unless you are running a switch on the Ethernet interface FastEthernet 0/0 that goes to both Router-P1 and Router-CE2. I note that in the printed version, it does say FastEthernet 0/2.

Anonymous  Nov 11, 2011