PDA

View Full Version : Typo on pages 662 and 667


Amr
03-05-2011, 01:22 PM
On page 640, the first item of table 10.1 is the show access-list command, and nothing is wrong here. But on pages 662 and 667, Todd refers to it by show access-lists (with 's' at the end).

Are both correct, or is it a typo?

Thank you, Todd, for replying to my older post. I am honored.

omd
03-05-2011, 02:34 PM
As a parameter to the show command, access-lists should be plural. (It is singular as a parameter to some other commands, or where it is the command.) However, I scratched my head about similar things before it occured to me that it is really a moot point.

The IOS allows you to abbreviate things. You only need to type enough characters to remove any ambiguity. So, it works with or without the 'S'. Even something like:

sh access-li

should work fine.

On the other hand, in a situation where it is expected to be singular, it should be entered as such. For example, I would expect the following to cause an error.

access-lists 99 deny 131.108.134.234

That one must be singular (or could be abbreviated to even fewer characters).

When in doubt, type the first few characters and use the TAB key to have the IOS automatically complete the word for you.

Amr
03-06-2011, 12:23 PM
It's clear now! Thanks, omd!