Ethernet Switches
Charles E. Spurgeon and Joann Zimmerman
Ethernet Switches
by Charles E. Spurgeon and Joann Zimmerman
Copyright © 2013 Charles Spurgeon and Joann Zimmerman. All rights reserved.
Printed in the United States of America.
Published by O’Reilly Media, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472.
O’Reilly books may be purchased for educational, business, or sales promotional use. Online editions are
also available for most titles (http://my.safaribooksonline.com). For more information, contact our corporate/
institutional sales department: 800-998-9938 or
corporate@oreilly.com.
Editor:
Meghan Blanchette
Production Editor:
Marisa LaFleur
Proofreader:
Marisa LaFleur
April 2013:
First Edition
Cover Designer:
Randy Comer
Interior Designer:
David Futato
Illustrator:
Rebecca Demarest
Revision History for the First Edition:
2013-03-29:
First release
See
http://oreilly.com/catalog/errata.csp?isbn=9781449367305
for release details.
Nutshell Handbook, the Nutshell Handbook logo, and the O’Reilly logo are registered trademarks of O’Reilly
Media, Inc.
Ethernet Switches,
the image of a Common Cuttlefish, and related trade dress are trademarks of
O’Reilly Media, Inc.
Many of the designations used by manufacturers and sellers to distinguish their products are claimed as
trademarks. Where those designations appear in this book, and O’Reilly Media, Inc., was aware of a trade‐
mark claim, the designations have been printed in caps or initial caps.
While every precaution has been taken in the preparation of this book, the publisher and authors assume
no responsibility for errors or omissions, or for damages resulting from the use of the information contained
herein.
ISBN: 978-1-449-36730-5
[LSI]
Table of Contents
Preface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii
1. Basic Switch Operation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
What an Ethernet Switch Does
Bridges and Switches
What Is a Switch?
Operation of Ethernet Switches
Transparent Bridging
Address Learning
Traffic Filtering
Frame Flooding
Broadcast and Multicast Traffic
Combining Switches
Forwarding Loops
Spanning Tree Protocol
Spanning Tree Packets
Choosing a Root Bridge
Choosing the Least-Cost Path
Blocking Loop Paths
Spanning Tree Port States
Spanning Tree Versions
Switch Performance Issues
Packet Forwarding Performance
Switch Port Memory
Switch CPU and RAM
Switch Specifications
Switch Management
1
1
2
3
4
4
6
7
7
9
9
10
11
11
11
12
13
15
16
17
17
18
18
23
2. Basic Switch Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
iii
评论