Smc 8824M, 8848M Management Guide

4 (1)
Smc 8824M, 8848M Management Guide

TigerStack II

10/100/1000

Gigabit Ethernet Switch

24/48 auto-MDI/MDI-X 10/100/1000BASE-T ports

4 RJ-45 ports shared with 4 SFP transceiver slots

2 10GBASE extender module slots

Non-blocking switching architecture

Support for a redundant power unit

Spanning Tree Protocol, RSTP, and MSTP

Up to 32 LACP or static 8-port trunks

Layer 2/3/4 CoS support through eight priority queues

Layer 3/4 traffic priority with IP Precedence and IP DSCP

Full support for VLANs with GVRP

IGMP multicast filtering and snooping

Manageable via console, Web, SNMP/RMON

Security features: ACL, RADIUS, 802.1x

Routing features: IP/RIP routing, CIDR

Supports IPv4/IPv6, dual protocol stack

Management Guide

SMC8824M

SMC8848M

TigerStack II 10/100/1000

Management Guide

From SMC’s Tiger line of feature-rich workgroup LAN solutions

38 Tesla

 

Irvine, CA 92618

April 2006

Phone: (949) 679-8000

Pub. # 150200054400A

Information furnished by SMC Networks, Inc. (SMC) is believed to be accurate and reliable. However, no responsibility is assumed by SMC for its use, nor for any infringements of patents or other rights of third parties which may result from its use. No license is granted by implication or otherwise under any patent or patent rights of SMC. SMC reserves the right to change specifications at any time without notice.

Copyright © 2006 by SMC Networks, Inc.

38 Tesla

Irvine, CA 92618

All rights reserved. Printed in Taiwan

Trademarks:

SMC is a registered trademark; and EZ Switch, TigerStack and TigerSwitch are trademarks of SMC Networks, Inc. Other product and company names are trademarks or registered trademarks of their respective holders.

LIMITED WARRANTY

Limited Warranty Statement: SMC Networks, Inc. (“SMC”) warrants its products to be free from defects in workmanship and materials, under normal use and service, for the applicable warranty term. All SMC products carry a standard 90-day limited warranty from the date of purchase from SMC or its Authorized Reseller. SMC may, at its own discretion, repair or replace any product not operating as warranted with a similar or functionally equivalent product, during the applicable warranty term. SMC will endeavor to repair or replace any product returned under warranty within 30 days of receipt of the product.

The standard limited warranty can be upgraded to a Limited Lifetime* warranty by registering new products within 30 days of purchase from SMC or its Authorized Reseller. Registration can be accomplished via the enclosed product registration card or online via the SMC Web site. Failure to register will not affect the standard limited warranty. The Limited Lifetime warranty covers a product during the Life of that Product, which is defined as the period of time during which the product is an “Active” SMC product. A product is considered to be “Active” while it is listed on the current SMC price list. As new technologies emerge, older technologies become obsolete and SMC will, at its discretion, replace an older product in its product line with one that incorporates these newer technologies. At that point, the obsolete product is discontinued and is no longer an “Active” SMC product. A list of discontinued products with their respective dates of discontinuance can be found at: http://www.smc.com/index.cfm?action=customer_service_warranty.

All products that are replaced become the property of SMC. Replacement products may be either new or reconditioned. Any replaced or repaired product carries either a 30-day limited warranty or the remainder of the initial warranty, whichever is longer. SMC is not responsible for any custom software or firmware, configuration information, or memory data of Customer contained in, stored on, or integrated with any products returned to SMC pursuant to any warranty. Products returned to SMC should have any customer-installed accessory or add-on components, such as expansion modules, removed prior to returning the product for replacement. SMC is not responsible for these items if they are returned with the product.

Customers must contact SMC for a Return Material Authorization number prior to returning any product to SMC. Proof of purchase may be required. Any product returned to SMC without a valid Return Material Authorization (RMA) number clearly marked on the outside of the package will be returned to customer at customer’s expense. For warranty claims within North America, please call our toll-free customer support number at (800) 762-4968. Customers are responsible for all shipping charges from their facility to SMC. SMC is responsible for return shipping charges from SMC to customer.

v

WARRANTIES EXCLUSIVE: IF AN SMC PRODUCT DOES NOT OPERATE AS WARRANTED ABOVE, CUSTOMER’S SOLE REMEDY SHALL BE REPAIR OR REPLACEMENT OF THE PRODUCT IN QUESTION, AT SMC’S OPTION. THE FOREGOING WARRANTIES AND REMEDIES ARE EXCLUSIVE AND ARE IN LIEU OF ALL OTHER WARRANTIES OR CONDITIONS, EXPRESS OR IMPLIED, EITHER IN FACT OR BY OPERATION OF LAW, STATUTORY OR OTHERWISE, INCLUDING WARRANTIES OR CONDITIONS OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. SMC NEITHER ASSUMES NOR AUTHORIZES ANY OTHER PERSON TO ASSUME FOR IT ANY OTHER LIABILITY IN CONNECTION WITH THE SALE, INSTALLATION, MAINTENANCE OR USE OF ITS PRODUCTS. SMC SHALL NOT BE LIABLE UNDER THIS WARRANTY IF ITS TESTING AND EXAMINATION DISCLOSE THE ALLEGED DEFECT IN THE PRODUCT DOES NOT EXIST OR WAS CAUSED BY CUSTOMER’S OR ANY THIRD PERSON’S MISUSE, NEGLECT, IMPROPER INSTALLATION OR TESTING, UNAUTHORIZED ATTEMPTS TO REPAIR, OR ANY OTHER CAUSE BEYOND THE RANGE OF THE INTENDED USE, OR BY ACCIDENT, FIRE, LIGHTNING, OR OTHER HAZARD.

LIMITATION OF LIABILITY: IN NO EVENT, WHETHER BASED IN CONTRACT OR TORT (INCLUDING NEGLIGENCE), SHALL SMC BE LIABLE FOR INCIDENTAL, CONSEQUENTIAL, INDIRECT, SPECIAL, OR PUNITIVE DAMAGES OF ANY KIND, OR FOR LOSS OF REVENUE, LOSS OF BUSINESS, OR OTHER FINANCIAL LOSS ARISING OUT OF OR IN CONNECTION WITH THE SALE, INSTALLATION, MAINTENANCE, USE, PERFORMANCE, FAILURE, OR INTERRUPTION OF ITS PRODUCTS, EVEN IF SMC OR ITS AUTHORIZED RESELLER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

SOME STATES DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES OR THE LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES FOR CONSUMER PRODUCTS, SO THE ABOVE LIMITATIONS AND EXCLUSIONS MAY NOT APPLY TO YOU. THIS WARRANTY GIVES YOU SPECIFIC LEGAL RIGHTS, WHICH MAY VARY FROM STATE TO STATE. NOTHING IN THIS WARRANTY SHALL BE TAKEN TO AFFECT YOUR STATUTORY RIGHTS.

* SMC will provide warranty service for one year following discontinuance from the active SMC price list. Under the limited lifetime warranty, internal and external power supplies, fans, and cables are covered by a standard one-year warranty from date of purchase.

SMC Networks, Inc.

38 Tesla

Irvine, CA 92618

vi

TABLE OF CONTENTS

Section I Getting Started

1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-1

Key Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1

Description of Software Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3

System Defaults . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-9

2

Initial Configuration . . . . . . . . . . . . . . . . . . . . . . .

. . . 2-1

 

Connecting to the Switch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . 2-1

 

Configuration Options . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . 2-1

 

Required Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . 2-3

 

Remote Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . 2-4

 

Stack Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . 2-5

 

Selecting the Stack Master . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . 2-5

 

Selecting the Backup Unit . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . 2-6

 

Recovering from Stack Failure or Topology Change . . . .

. . . . . 2-7

 

Broken Link for Line and Wrap-around Topologies

. . . . . 2-7

 

Resilient IP Interface for Management Access . . . . .

. . . . . 2-8

 

Resilient Configuration . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . 2-8

 

Renumbering the Stack . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . 2-8

 

Ensuring Consistent Code is Used Across the Stack . . . .

. . . . . 2-8

 

Basic Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . 2-9

 

Console Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . 2-9

 

Setting Passwords . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . 2-10

 

Setting an IP Address . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . 2-11

 

Manual Configuration . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . 2-11

 

Dynamic Configuration . . . . . . . . . . . . . . . . . . . . . . .

. . . . 2-15

 

Enabling SNMP Management Access . . . . . . . . . . . . . . . .

. . . . 2-18

 

Community Strings (for SNMP version 1 and 2c clients) . 2-19

 

Trap Receivers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . 2-20

 

Configuring Access for SNMP Version 3 Clients . . .

. . . . 2-20

 

Managing System Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . 2-21

 

Saving Configuration Settings . . . . . . . . . . . . . . . . . . . . . .

. . . . 2-22

vii

TABLE OF CONTENTS

Section II Switch Management

 

3

Configuring the Switch . . . . . . . . . . . . . . . . . . . . . . . .

3-1

 

Using the Web Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3-1

 

Navigating the Web Browser Interface . . . . . . . . . . . . . . . . . . . . . . . . . .

3-3

 

Home Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3-3

 

Configuration Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3-4

 

Panel Display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3-5

 

Main Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3-6

4

Basic Management Tasks . . . . . . . . . . . . . . . . . . . . . .

4-1

 

Displaying System Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

4-1

 

Displaying Switch Hardware/Software Versions . . . . . . . . . . . . . . . . .

4-4

 

Displaying Bridge Extension Capabilities . . . . . . . . . . . . . . . . . . . . . . . .

4-6

 

Setting the Switch’s IP Address (IP Version 4) . . . . . . . . . . . . . . . . . . .

4-8

 

Manual Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

4-10

 

Using DHCP/BOOTP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

4-11

 

Setting the Switch’s IP Address (IP Version 6) . . . . . . . . . . . . . . . . . .

4-13

 

Configuring an IPv6 Address . . . . . . . . . . . . . . . . . . . . . . . . . . .

4-13

 

Configuring an IPv6 General Network Prefix . . . . . . . . . . . . .

4-22

 

Configuring Neighbor Detection Protocol and Static Entries . 4-24

 

Configuring Support for Jumbo Frames . . . . . . . . . . . . . . . . . . . . . . . .

4-28

 

Managing Firmware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

4-29

 

Downloading System Software from a Server . . . . . . . . . . . . .

4-30

 

Saving or Restoring Configuration Settings . . . . . . . . . . . . . . . . . . . . .

4-32

 

Downloading Configuration Settings from a Server . . . . . . . . .

4-34

 

Console Port Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

4-36

 

Telnet Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

4-38

 

Configuring Event Logging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

4-41

 

System Log Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

4-41

 

Remote Log Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . .

4-43

 

Displaying Log Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

4-45

 

Sending Simple Mail Transfer Protocol Alerts . . . . . . . . . . . . .

4-46

 

Renumbering the Stack . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

4-48

 

Resetting the System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

4-49

 

Setting the System Clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

4-50

viii

TABLE OF CONTENTS

Configuring SNTP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-50

Setting the Time Zone . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-51

5

Simple Network Management Protocol . . . . . . . . . .

5-1

 

Enabling the SNMP Agent . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 5-4

 

Setting Community Access Strings . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

5-4

 

Specifying Trap Managers and Trap Types . . . . . . . . . . . . . . . . . . . . . . .

5-6

 

Configuring SNMPv3 Management Access . . . . . . . . . . . . . . . . . . . . .

5-10

 

Setting a Local Engine ID . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

5-10

 

Specifying a Remote Engine ID . . . . . . . . . . . . . . . . . . . . . . . . .

5-11

 

Configuring SNMPv3 Users . . . . . . . . . . . . . . . . . . . . . . . . . . . .

5-12

 

Configuring Remote SNMPv3 Users . . . . . . . . . . . . . . . . . . . . .

5-15

 

Configuring SNMPv3 Groups . . . . . . . . . . . . . . . . . . . . . . . . . .

5-18

 

Setting SNMPv3 Views . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

5-24

6

User Authentication . . . . . . . . . . . . . . . . . . . . . . . . . .

6-1

 

Configuring User Accounts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 6-1

 

Configuring Local/Remote Logon Authentication . . . . . . . . . . . . . . . .

6-3

 

Configuring HTTPS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

6-7

 

Replacing the Default Secure-site Certificate . . . . . . . . . . . . . . .

6-9

 

Configuring the Secure Shell . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

6-10

 

Generating the Host Key Pair . . . . . . . . . . . . . . . . . . . . . . . . . .

6-13

 

Configuring the SSH Server . . . . . . . . . . . . . . . . . . . . . . . . . . . .

6-16

 

Configuring Port Security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

6-18

 

Configuring 802.1X Port Authentication . . . . . . . . . . . . . . . . . . . . . . .

6-21

 

Displaying 802.1X Global Settings . . . . . . . . . . . . . . . . . . . . . .

6-22

 

Configuring 802.1X Global Settings . . . . . . . . . . . . . . . . . . . . .

6-23

 

Configuring Port Settings for 802.1X . . . . . . . . . . . . . . . . . . . .

6-24

 

Displaying 802.1X Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . .

6-27

 

Filtering IP Addresses for Management Access . . . . . . . . . . . . . . . . . .

6-29

7

Access Control Lists . . . . . . . . . . . . . . . . . . . . . . . . . .

7-1

 

Configuring Access Control Lists . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

7-1

 

Setting the ACL Name and Type . . . . . . . . . . . . . . . . . . . . . . . . .

7-2

 

Configuring a Standard IPv4 ACL . . . . . . . . . . . . . . . . . . . . . . . .

7-3

 

Configuring an Extended IPv4 ACL . . . . . . . . . . . . . . . . . . . . . .

7-4

 

Configuring a MAC ACL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

7-7

ix

TABLE OF CONTENTS

Configuring a Standard IPv6 ACL . . . . . . . . . . . . . . . . . . . . . . . . 7-9 Configuring an Extended IPv6 ACL . . . . . . . . . . . . . . . . . . . . . 7-10 Binding a Port to an Access Control List . . . . . . . . . . . . . . . . . . . . . . . 7-13

8 Port Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-1

Displaying Connection Status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-1 Configuring Interface Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-4 Creating Trunk Groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-8 Statically Configuring a Trunk . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-9 Enabling LACP on Selected Ports . . . . . . . . . . . . . . . . . . . . . . . 8-11 Configuring LACP Parameters . . . . . . . . . . . . . . . . . . . . . . . . . 8-13 Displaying LACP Port Counters . . . . . . . . . . . . . . . . . . . . . . . . 8-17 Displaying LACP Settings and Status for the Local Side . . . . . 8-18 Displaying LACP Settings and Status for the Remote Side . . . 8-21 Setting Broadcast Storm Thresholds . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-23 Configuring Port Mirroring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-25 Configuring Rate Limits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-26 Showing Port Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-28

9 Address Table Settings . . . . . . . . . . . . . . . . . . . . . . . . . 9-1

Setting Static Addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-1

Displaying the Address Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-3

Changing the Aging Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-5

10 Spanning Tree Algorithm . . . . . . . . . . . . . . . . . . . . .

10-1

Displaying Global Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-4 Configuring Global Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-8 Displaying Interface Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-13 Configuring Interface Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-17 Configuring Multiple Spanning Trees . . . . . . . . . . . . . . . . . . . . . . . . . 10-21 Displaying Interface Settings for MSTP . . . . . . . . . . . . . . . . . . . . . . . 10-24 Configuring Interface Settings for MSTP . . . . . . . . . . . . . . . . . . . . . . 10-26

11 VLAN Configuration . . . . . . . . . . . . . . . . . . . . . . . . . 11-1

IEEE 802.1Q VLANs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-1

Enabling or Disabling GVRP (Global Setting) . . . . . . . . . . . . 11-5

Displaying Basic VLAN Information . . . . . . . . . . . . . . . . . . . . 11-6

x

TABLE OF CONTENTS

 

Displaying Current VLANs . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 11-7

 

Creating VLANs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 11-8

 

Adding Static Members to VLANs (VLAN Index) . . . . . . . .

11-10

 

Adding Static Members to VLANs (Port Index) . . . . . . . . . .

11-13

 

Configuring VLAN Behavior for Interfaces . . . . . . . . . . . . . .

11-14

 

Configuring Private VLANs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

11-17

 

Enabling Private VLANs . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

11-17

 

Configuring Uplink and Downlink Ports . . . . . . . . . . . . . . . .

11-18

 

Configuring Protocol-Based VLANs . . . . . . . . . . . . . . . . . . . . . . . . .

11-19

 

Configuring Protocol Groups . . . . . . . . . . . . . . . . . . . . . . . . .

11-19

 

Mapping Protocols to VLANs . . . . . . . . . . . . . . . . . . . . . . . . .

11-20

12

Class of Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

12-1

 

Layer 2 Queue Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

12-1

 

Setting the Default Priority for Interfaces . . . . . . . . . . . . . . . . .

12-1

 

Mapping CoS Values to Egress Queues . . . . . . . . . . . . . . . . . .

12-3

 

Selecting the Queue Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

12-6

 

Setting the Service Weight for Traffic Classes . . . . . . . . . . . . .

12-7

 

Layer 3/4 Priority Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

12-8

 

Mapping Layer 3/4 Priorities to CoS Values . . . . . . . . . . . . . . .

12-8

 

Selecting IP Precedence/DSCP Priority . . . . . . . . . . . . . . . . . .

12-9

 

Mapping IP Precedence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

12-10

 

Mapping DSCP Priority . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

12-12

 

Mapping IP Port Priority . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

12-14

13

Quality of Service . . . . . . . . . . . . . . . . . . . . . . . . . . . .

13-1

 

Configuring Quality of Service Parameters . . . . . . . . . . . . . . . . . . . . .

13-2

 

Configuring a Class Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

13-2

 

Creating QoS Policies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

13-6

 

Attaching a Policy Map to Ingress Queues . . . . . . . . . . . . . . .

13-10

14

Multicast Filtering . . . . . . . . . . . . . . . . . . . . . . . . . . .

14-1

 

Layer 2 IGMP (Snooping and Query) . . . . . . . . . . . . . . . . . . . . . . . . . .

14-2

 

Configuring IGMP Snooping and Query Parameters . . . . . . . .

14-2

 

Displaying Interfaces Attached to a Multicast Router . . . . . . .

14-5

 

Specifying Static Interfaces for a Multicast Router . . . . . . . . . .

14-6

 

Displaying Port Members of Multicast Services . . . . . . . . . . . .

14-7

xi

TABLE OF CONTENTS

Assigning Ports to Multicast Services . . . . . . . . . . . . . . . . . . . . 14-9

15 Domain Name Service . . . . . . . . . . . . . . . . . . . . . . . . 15-1

Configuring General DNS Service Parameters . . . . . . . . . . . . . . . . . . 15-1 Configuring Static DNS Host to Address Entries . . . . . . . . . . . . . . . . 15-4 Displaying the DNS Cache . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-6

16 Dynamic Host Configuration Protocol . . . . . . . . . . . 16-1

Configuring DHCP Relay Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-2

Configuring the DHCP Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-4

Enabling the Server, Setting Excluded Addresses . . . . . . . . . . 16-5

Configuring Address Pools . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-6

Displaying Address Bindings . . . . . . . . . . . . . . . . . . . . . . . . . . 16-11

17 IP Routing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

17-1

Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17-1 Initial Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17-1 IP Switching . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17-2 Routing Path Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17-4 Routing Protocols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17-4

Basic IP Interface Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17-5 Configuring IP Routing Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17-7 Address Resolution Protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17-9 Proxy ARP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17-10 Basic ARP Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17-11 Configuring Static ARP Addresses . . . . . . . . . . . . . . . . . . . . . 17-13 Displaying Dynamically Learned ARP Entries . . . . . . . . . . . . 17-14 Displaying Local ARP Entries . . . . . . . . . . . . . . . . . . . . . . . . . 17-16 Displaying ARP Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17-17

Displaying Statistics for IP Protocols . . . . . . . . . . . . . . . . . . . . . . . . . 17-19 IP Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17-19 ICMP Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17-21 UDP Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17-24 TCP Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17-25

Configuring Static Routes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17-26 Displaying the Routing Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17-28

xii

TABLE OF CONTENTS

Configuring the Routing Information Protocol . . . . . . . . . . . . . . . . . 17-30 Configuring General Protocol Settings . . . . . . . . . . . . . . . . . . 17-31 Specifying Network Interfaces for RIP . . . . . . . . . . . . . . . . . . 17-34 Configuring Network Interfaces for RIP . . . . . . . . . . . . . . . . 17-35 Redistributing Routing Information from Other Domains . . 17-39 Displaying RIP Information and Statistics . . . . . . . . . . . . . . . 17-41

Section III Command Line Interface

18 Overview of the Command Line Interface . . . . . . . . .18-1

Using the Command Line Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . 18-1 Accessing the CLI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18-1 Console Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18-1 Telnet Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18-2 Entering Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18-3 Keywords and Arguments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18-3 Minimum Abbreviation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18-4 Command Completion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18-4 Getting Help on Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . 18-4 Showing Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18-5 Partial Keyword Lookup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18-6 Negating the Effect of Commands . . . . . . . . . . . . . . . . . . . . . . 18-6 Using Command History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18-6 Understanding Command Modes . . . . . . . . . . . . . . . . . . . . . . . 18-7 Exec Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18-7 Configuration Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18-8 Command Line Processing . . . . . . . . . . . . . . . . . . . . . . . . . . . 18-11

Command Groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18-12

19 General Commands . . . . . . . . . . . . . . . . . . . . . . . . . . .19-1

enable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

19-2

disable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

19-3

configure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

19-3

show history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

19-4

reload . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

19-5

prompt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

19-6

xiii

TABLE OF CONTENTS

 

end . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

19-6

exit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

19-7

quit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

19-7

20 System Management Commands . . . . . . . . . . . . . . . 20-1

Device Designation Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-2 hostname . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-2 switch renumber . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-3 System Status Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-4 show startup-config . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-4 show running-config . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-6 show system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-8 show users . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-9 show version . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-10

Frame Size Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-11 jumbo frame . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-11 File Management Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-12 copy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-13 delete . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-17 dir . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-18 whichboot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-19 boot system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-20

Line Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-21 line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-22 login . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-23 password . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-24 timeout login response . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-25 exec-timeout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-26 password-thresh . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-27 silent-time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-28 databits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-28 parity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-29 speed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-30 stopbits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-31 disconnect . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-31 show line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-32

xiv

TABLE OF CONTENTS

Event Logging Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-34 logging on . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-34 logging history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-35 logging host . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-36 logging facility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-37 logging trap . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-38 clear log . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-39 show logging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-40 show log . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-42

SMTP Alert Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-43 logging sendmail host . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-43 logging sendmail level . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-44 logging sendmail source-email . . . . . . . . . . . . . . . . . . . . . . . . . 20-45 logging sendmail destination-email . . . . . . . . . . . . . . . . . . . . . 20-45 logging sendmail . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-46 show logging sendmail . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-47

Time Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-48 sntp client . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-48 sntp server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-49 sntp poll . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-50 show sntp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-51 clock timezone . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-52 calendar set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-53 show calendar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20-53

21 SNMP Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . .21-1

snmp-server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21-2 show snmp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21-2 snmp-server community . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21-4 snmp-server contact . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21-5 snmp-server location . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21-5 snmp-server host . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21-6 snmp-server enable traps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21-9 snmp-server engine-id . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21-10 show snmp engine-id . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21-12 snmp-server view . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21-13 show snmp view . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21-14

xv

TABLE OF CONTENTS

snmp-server group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21-15 show snmp group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21-16 snmp-server user . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21-18 show snmp user . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21-20

22 User Authentication Commands . . . . . . . . . . . . . . . . 22-1

User Account Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22-2 username . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22-2 enable password . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22-4 Authentication Sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22-5 authentication login . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22-5 authentication enable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22-7 RADIUS Client . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22-8 radius-server host . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22-9 radius-server port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22-10 radius-server key . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22-10 radius-server retransmit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22-11 radius-server timeout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22-11 show radius-server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22-12

TACACS+ Client . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22-13 tacacs-server host . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22-13 tacacs-server port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22-14 tacacs-server key . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22-14 show tacacs-server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22-15

Web Server Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22-15 ip http port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22-16 ip http server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22-16 ip http secure-server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22-17 ip http secure-port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22-18

Telnet Server Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22-20 ip telnet server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22-20 Secure Shell Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22-21 ip ssh server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22-24 ip ssh timeout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22-25 ip ssh authentication-retries . . . . . . . . . . . . . . . . . . . . . . . . . . . 22-26 ip ssh server-key size . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22-27 delete public-key . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22-28

xvi

TABLE OF CONTENTS

ip ssh crypto host-key generate . . . . . . . . . . . . . . . . . . . . . . . . 22-28 ip ssh crypto zeroize . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22-29 ip ssh save host-key . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22-30 show ip ssh . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22-31 show ssh . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22-31 show public-key . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22-32

Port Security Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22-34 port security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22-35 802.1X Port Authentication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22-37 dot1x system-auth-control . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22-38 dot1x default . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22-38 dot1x max-req . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22-39 dot1x port-control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22-39 dot1x operation-mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22-40 dot1x re-authenticate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22-41 dot1x re-authentication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22-42 dot1x timeout quiet-period . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22-42 dot1x timeout re-authperiod . . . . . . . . . . . . . . . . . . . . . . . . . . 22-43 dot1x timeout tx-period . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22-44 show dot1x . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22-44

IP Filter Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22-48 management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22-48 show management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22-49

23 Access Control List Commands . . . . . . . . . . . . . . . . .23-1

IPv4 ACLs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 23-2

access-list ip . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

23-3

permit, deny (Standard IPv4 ACL) . . . . . . . . . . . . . . . . . . . . . .

23-4

permit, deny (Extended IPv4 ACL) . . . . . . . . . . . . . . . . . . . . .

23-5

show ip access-list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

23-7

ip access-group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

23-8

show ip access-group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

23-9

IPv6 ACLs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

23-9

access-list ipv6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

23-10

permit, deny (Standard IPv6 ACL) . . . . . . . . . . . . . . . . . . . . .

23-11

permit, deny (Extended IPv6 ACL) . . . . . . . . . . . . . . . . . . . .

23-12

show ipv6 access-list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

23-14

xvii

TABLE OF CONTENTS

 

 

ipv6 access-group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

23-15

 

show ipv6 access-group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

23-16

 

MAC ACLs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

23-16

 

access-list mac . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

23-17

 

permit, deny (MAC ACL) . . . . . . . . . . . . . . . . . . . . . . . . . . . .

23-18

 

show mac access-list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

23-20

 

mac access-group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

23-20

 

show mac access-group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

23-21

 

ACL Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

23-21

 

show access-list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

23-22

 

show access-group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

23-22

24

Interface Commands . . . . . . . . . . . . . . . . . . . . . . . . .

24-1

 

interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 24-2

 

description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 24-3

 

speed-duplex . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

24-3

 

negotiation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

24-5

 

capabilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

24-6

 

flowcontrol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

24-7

 

media-type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

24-8

 

shutdown . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

24-9

 

switchport broadcast packet-rate . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

24-10

 

clear counters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

24-11

 

show interfaces status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

24-12

 

show interfaces counters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

24-13

 

show interfaces switchport . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

24-15

25

Link Aggregation Commands . . . . . . . . . . . . . . . . . .

25-1

 

channel-group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

25-3

 

lacp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

25-4

 

lacp system-priority . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

25-6

 

lacp admin-key (Ethernet Interface) . . . . . . . . . . . . . . . . . . . . . . . . . . .

25-7

 

lacp admin-key (Port Channel) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

25-8

 

lacp port-priority . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

25-9

 

show lacp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

25-10

xviii

TABLE OF CONTENTS

26 Mirror Port Commands . . . . . . . . . . . . . . . . . . . . . . . .26-1

port monitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26-1 show port monitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26-2

27 Rate Limit Commands . . . . . . . . . . . . . . . . . . . . . . . .27-1

rate-limit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27-1

28 Address Table Commands . . . . . . . . . . . . . . . . . . . . .28-1

mac-address-table static . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28-2 clear mac-address-table dynamic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28-3 show mac-address-table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28-4 mac-address-table aging-time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28-5 show mac-address-table aging-time . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28-6

29 Spanning Tree Commands . . . . . . . . . . . . . . . . . . . . .29-1

spanning-tree . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29-3 spanning-tree mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29-4 spanning-tree forward-time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29-5 spanning-tree hello-time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29-6 spanning-tree max-age . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29-7 spanning-tree priority . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29-8 spanning-tree pathcost method . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29-9 spanning-tree transmission-limit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29-10 spanning-tree mst-configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29-10 mst vlan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29-11 mst priority . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29-12 name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29-13 revision . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29-14 max-hops . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29-14 spanning-tree spanning-disabled . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29-15 spanning-tree cost . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29-16 spanning-tree port-priority . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29-18 spanning-tree edge-port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29-18 spanning-tree portfast . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29-19 spanning-tree link-type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29-21 spanning-tree mst cost . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29-22 spanning-tree mst port-priority . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29-23

xix

TABLE OF CONTENTS

 

spanning-tree protocol-migration . . . . . . . . . . . . . . . . . . . . . . . . . . . .

29-24

 

show spanning-tree . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

29-25

 

show spanning-tree mst configuration . . . . . . . . . . . . . . . . . . . . . . . .

29-27

30

VLAN Commands . . . . . . . . . . . . . . . . . . . . . . . . . . .

30-1

 

GVRP and Bridge Extension Commands . . . . . . . . . . . . . . . . . . . . .

. 30-2

 

bridge-ext gvrp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 30-2

 

show bridge-ext . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 30-3

 

switchport gvrp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

30-4

 

show gvrp configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

30-4

 

garp timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

30-5

 

show garp timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

30-6

 

Editing VLAN Groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

30-7

 

vlan database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

30-7

 

vlan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

30-8

 

Configuring VLAN Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

30-9

 

interface vlan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

30-9

 

switchport mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

30-10

 

switchport acceptable-frame-types . . . . . . . . . . . . . . . . . . . . .

30-11

 

switchport ingress-filtering . . . . . . . . . . . . . . . . . . . . . . . . . . .

30-12

 

switchport native vlan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

30-13

 

switchport allowed vlan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

30-14

 

switchport forbidden vlan . . . . . . . . . . . . . . . . . . . . . . . . . . . .

30-15

 

Displaying VLAN Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

30-16

 

show vlan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

30-16

 

Configuring Private VLANs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

30-17

 

pvlan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

30-17

 

show pvlan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

30-18

 

Configuring Protocol-based VLANs . . . . . . . . . . . . . . . . . . . . . . . . .

30-19

 

protocol-vlan protocol-group (Configuring Groups) . . . . . . .

30-20

 

protocol-vlan protocol-group (Configuring Interfaces) . . . . .

30-21

 

show protocol-vlan protocol-group . . . . . . . . . . . . . . . . . . . . .

30-22

 

show interfaces protocol-vlan protocol-group . . . . . . . . . . . .

30-23

31

Class of Service Commands . . . . . . . . . . . . . . . . . . . .

31-1

 

Priority Commands (Layer 2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

31-1

 

queue mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

31-2

xx

TABLE OF CONTENTS

switchport priority default . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31-3 queue bandwidth . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31-4 queue cos-map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31-5 show queue mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31-7 show queue bandwidth . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31-7 show queue cos-map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31-8

Priority Commands (Layer 3 and 4) . . . . . . . . . . . . . . . . . . . . . . . . . . . 31-8 map ip port (Global Configuration) . . . . . . . . . . . . . . . . . . . . . . 31-9 map ip port (Interface Configuration) . . . . . . . . . . . . . . . . . . . 31-10 map ip precedence (Global Configuration) . . . . . . . . . . . . . . . 31-10 map ip precedence (Interface Configuration) . . . . . . . . . . . . . 31-11 map ip dscp (Global Configuration) . . . . . . . . . . . . . . . . . . . . 31-12 map ip dscp (Interface Configuration) . . . . . . . . . . . . . . . . . . . 31-13 show map ip port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31-14 show map ip precedence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31-15 show map ip dscp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31-16

32 Quality of Service Commands . . . . . . . . . . . . . . . . . . .32-1

class-map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 32-3

match . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 32-4

policy-map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

32-5

class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

32-6

set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

32-8

police . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

32-9

service-policy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

32-10

show class-map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

32-11

show policy-map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

32-12

show policy-map interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

32-12

33 Multicast Filtering Commands . . . . . . . . . . . . . . . . . .33-1

IGMP Snooping Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33-2 ip igmp snooping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33-2 ip igmp snooping vlan static . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33-3 ip igmp snooping version . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33-3 show ip igmp snooping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33-4 show mac-address-table multicast . . . . . . . . . . . . . . . . . . . . . . . 33-5

xxi

TABLE OF CONTENTS

IGMP Query Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33-6 ip igmp snooping querier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33-6 ip igmp snooping query-count . . . . . . . . . . . . . . . . . . . . . . . . . . 33-7 ip igmp snooping query-interval . . . . . . . . . . . . . . . . . . . . . . . . 33-8 ip igmp snooping query-max-response-time . . . . . . . . . . . . . . . 33-9 ip igmp snooping router-port-expire-time . . . . . . . . . . . . . . . . 33-10

Static Multicast Routing Commands . . . . . . . . . . . . . . . . . . . . . . . . . . 33-11 ip igmp snooping vlan mrouter . . . . . . . . . . . . . . . . . . . . . . . . 33-11 show ip igmp snooping mrouter . . . . . . . . . . . . . . . . . . . . . . . 33-12

34 Domain Name Service Commands . . . . . . . . . . . . . . 34-1

ip host . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34-2 clear host . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34-3 ip domain-name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34-4 ip domain-list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34-5 ip name-server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34-6 ip domain-lookup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34-7 show hosts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34-8 show dns . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34-9 show dns cache . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34-9 clear dns cache . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34-10

35 DHCP Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . 35-1

DHCP Client . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 35-2

ip dhcp client-identifier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 35-2

ip dhcp restart client . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

35-3

DHCP Relay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

35-4

ip dhcp restart relay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

35-4

ip dhcp relay server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

35-5

DHCP Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

35-6

service dhcp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

35-7

ip dhcp excluded-address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

35-8

ip dhcp pool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

35-8

network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

35-9

default-router . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

35-10

domain-name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

35-11

dns-server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

35-11

xxii

TABLE OF CONTENTS

next-server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35-12 bootfile . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35-13 netbios-name-server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35-13 netbios-node-type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35-14 lease . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35-15 host . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35-16 client-identifier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35-17 hardware-address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35-18 clear ip dhcp binding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35-19 show ip dhcp binding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35-20

36 IP Interface Commands . . . . . . . . . . . . . . . . . . . . . . .36-1

Basic IP Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 36-2

ip address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 36-4

ip default-gateway . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 36-6

ip dhcp restart client . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 36-7

show ip interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

36-8

show ip redirects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

36-8

ping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

36-9

ipv6 enable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

36-10

ipv6 general-prefix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

36-12

show ipv6 general-prefix . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

36-13

ipv6 address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

36-14

ipv6 address autoconfig . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

36-16

ipv6 address eui-64 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

36-18

ipv6 address link-local . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

36-20

show ipv6 interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

36-22

ipv6 default-gateway . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

36-24

show ipv6 default-gateway . . . . . . . . . . . . . . . . . . . . . . . . . . . .

36-25

ipv6 mtu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

36-26

show ipv6 mtu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

36-27

show ipv6 traffic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

36-27

clear ipv6 traffic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

36-35

ping ipv6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

36-36

ipv6 neighbor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

36-38

ipv6 nd dad attempts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

36-39

ipv6 nd ns interval . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

36-41

xxiii

TABLE OF CONTENTS

 

show ipv6 neighbors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

36-43

 

clear ipv6 neighbors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

36-45

 

Address Resolution Protocol (ARP) . . . . . . . . . . . . . . . . . . . . . . . . .

36-45

 

arp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

36-45

 

arp-timeout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

36-46

 

clear arp-cache . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

36-47

 

show arp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

36-47

 

ip proxy-arp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

36-48

37

IP Routing Commands . . . . . . . . . . . . . . . . . . . . . . .

37-1

 

Global Routing Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 37-2

 

ip routing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 37-2

 

ip route . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

37-3

 

clear ip route . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

37-4

 

show ip route . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

37-5

 

show ip host-route . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

37-6

 

show ip traffic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

37-7

 

Routing Information Protocol (RIP) . . . . . . . . . . . . . . . . . . . . . . . . . .

37-8

 

router rip . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

37-9

 

default-metric . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

37-9

 

timers basic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

37-11

 

network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

37-12

 

neighbor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

37-13

 

version . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

37-14

 

redistribute . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

37-15

 

ip rip receive version . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

37-16

 

ip rip send version . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

37-17

 

ip split-horizon . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

37-19

 

ip rip authentication key . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

37-20

 

ip rip authentication mode . . . . . . . . . . . . . . . . . . . . . . . . . . . .

37-21

 

show rip globals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

37-22

 

show ip rip . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

37-22

xxiv

 

TABLE OF CONTENTS

APPENDICES:

 

 

 

Section IV Appendices

 

A Software Specifications . . . . . . . . . . . . .

. . . . . . . . . . . .A-1

Software Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-1

Management Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-3

Standards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-3

Management Information Bases . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-4

B Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .B-1

Problems Accessing the Management Interface . . . . . . . . . . . . . . . . . . . B-1

Using System Logs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-3

Glossary

Index

xxv

TABLE OF CONTENTS

xxvi

 

TABLES

Table 1-1

Key Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . 1-1

Table 1-2

System Defaults . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 1-9

Table 3-1

Web Page Configuration Buttons . . . . . . . . . . . . . . . . . . . .

. 3-4

Table 3-2

Switch Main Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 3-6

Table 4-1

Logging Levels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

4-41

Table 5-1

SNMPv3 Security Models and Levels . . . . . . . . . . . . . . . . .

. 5-2

Table 5-2

Supported Notification Messages . . . . . . . . . . . . . . . . . . . .

5-19

Table 6-1

HTTPS System Support . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 6-8

Table 6-2

802.1X Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

6-27

Table 8-1

LACP Port Counters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

8-17

Table 8-2

LACP Internal Configuration Information . . . . . . . . . . . . .

8-18

Table 8-3

LACP Neighbor Configuration Information . . . . . . . . . . .

8-21

Table 8-4

Port Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

8-28

Table 10-1

Recommended STA Path Cost Range . . . . . . . . . . . . . . . .

10-19

Table 10-2

Default STA Path Costs . . . . . . . . . . . . . . . . . . . . . . . . . . .

10-19

Table 10-3

Recommended STA Path Cost Range . . . . . . . . . . . . . . . .

10-27

Table 10-4

Default STA Path Costs . . . . . . . . . . . . . . . . . . . . . . . . . . .

10-27

Table 12-1

Mapping CoS Values to Egress Queues . . . . . . . . . . . . . . .

12-3

Table 12-2

CoS Priority Levels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

12-4

Table 12-3

Mapping IP Precedence . . . . . . . . . . . . . . . . . . . . . . . . . . .

12-10

Table 12-4

Mapping DSCP Priority . . . . . . . . . . . . . . . . . . . . . . . . . . .

12-12

Table 17-1

Address Resolution Protocol . . . . . . . . . . . . . . . . . . . . . . . .

17-9

Table 17-2

ARP Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

17-17

Table 17-3

IP Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

17-19

Table 17-4

ICMP Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

17-22

Table 17-5

USP Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

17-24

Table 17-6

TCP Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

17-25

Table 17-7

RIP Information and Statistics . . . . . . . . . . . . . . . . . . . . . .

17-41

Table 18-1

General Command Modes . . . . . . . . . . . . . . . . . . . . . . . . . .

18-7

Table 18-2

Configuration Command Modes . . . . . . . . . . . . . . . . . . . .

18-10

Table 18-3

Keystroke Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . .

18-11

Table 18-4

Command Group Index . . . . . . . . . . . . . . . . . . . . . . . . . . .

18-12

Table 19-1

General Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

19-1

Table 20-1

System Management Commands . . . . . . . . . . . . . . . . . . . . .

20-1

Table 20-2

Device Designation Commands . . . . . . . . . . . . . . . . . . . . . .

20-2

Table 20-3

System Status Commands . . . . . . . . . . . . . . . . . . . . . . . . . . .

20-4

xxvii

TABLES

 

 

Table 20-4

Frame Size Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . .

20-11

Table 20-5

Flash/File Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . .

20-13

Table 20-6

File Directory Information . . . . . . . . . . . . . . . . . . . . . . . . .

20-18

Table 20-7

Line Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

20-21

Table 20-8

Event Logging Commands . . . . . . . . . . . . . . . . . . . . . . . . .

20-34

Table 20-9

Logging Levels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

20-35

Table 20-10

show logging flash/ram - display description . . . . . . . . . .

20-41

Table 20-11

show logging trap - display description . . . . . . . . . . . . . . .

20-41

Table 20-12

SMTP Alert Commands . . . . . . . . . . . . . . . . . . . . . . . . . . .

20-43

Table 20-13

Time Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

20-48

Table 21-1

SNMP Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 21-1

Table 21-2

show snmp engine-id - display description . . . . . . . . . . . .

21-12

Table 21-3

show snmp view - display description . . . . . . . . . . . . . . . .

21-14

Table 21-4

show snmp group - display description . . . . . . . . . . . . . . .

21-17

Table 21-5

show snmp user - display description . . . . . . . . . . . . . . . .

21-20

Table 22-1

Authentication Commands . . . . . . . . . . . . . . . . . . . . . . . . . .

22-1

Table 22-2

User Access Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . .

22-2

Table 22-3

Default Login Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

22-3

Table 22-4

Authentication Sequence Commands . . . . . . . . . . . . . . . . .

22-5

Table 22-5

RADIUS Client Commands . . . . . . . . . . . . . . . . . . . . . . . . .

22-8

Table 22-6

TACACS+ Client Commands . . . . . . . . . . . . . . . . . . . . . .

22-13

Table 22-7

Web Server Commands . . . . . . . . . . . . . . . . . . . . . . . . . . .

22-15

Table 22-8

HTTPS System Support . . . . . . . . . . . . . . . . . . . . . . . . . . .

22-18

Table 22-9

Telnet Server Commands . . . . . . . . . . . . . . . . . . . . . . . . . .

22-20

Table 22-10

Secure Shell Commands . . . . . . . . . . . . . . . . . . . . . . . . . . .

22-21

Table 22-11

show ssh - display description . . . . . . . . . . . . . . . . . . . . . .

22-31

Table 22-12

Port Security Commands . . . . . . . . . . . . . . . . . . . . . . . . . .

22-34

Table 22-13

802.1X Port Authentication Commands . . . . . . . . . . . . . .

22-37

Table 22-14

IP Filter Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

22-48

Table 23-1

Access Control List Commands . . . . . . . . . . . . . . . . . . . . . .

23-1

Table 23-2

IPv4 ACL Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

23-2

Table 23-3

IPv6 ACL Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

23-9

Table 23-4

MAC ACL Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . .

23-16

Table 23-5

ACL Information Commands . . . . . . . . . . . . . . . . . . . . . .

23-21

Table 24-1

Interface Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

24-1

Table 24-2

show interfaces switchport - display description . . . . . . . .

24-16

Table 25-1

Link Aggregation Commands . . . . . . . . . . . . . . . . . . . . . . . .

25-1

xxviii

 

TABLES

Table 25-2 show lacp counters - display description . . . . . . . . . .

. . 25-11

Table 25-3 show lacp internal - display description . . . . . . . . . . .

. . 25-11

Table 25-4 show lacp neighbors - display description . . . . . . . . . .

. 25-13

Table 25-5 show lacp sysid - display description . . . . . . . . . . . . . .

. 25-14

Table 26-1 Mirror Port Commands . . . . . . . . . . . . . . . . . . . . . . . .

. . 26-1

Table 27-1 Rate Limit Commands . . . . . . . . . . . . . . . . . . . . . . . . .

. . 27-1

Table 28-1 Address Table Commands . . . . . . . . . . . . . . . . . . . . . .

. . 28-1

Table 29-1 Spanning Tree Commands . . . . . . . . . . . . . . . . . . . . . .

. . 29-1

Table 29-2 Recommended STA Path Cost Range . . . . . . . . . . . . .

. 29-16

Table 29-3 Default STA Path Costs . . . . . . . . . . . . . . . . . . . . . . . .

. 29-17

Table 29-4 Recommended STA Path Cost Range . . . . . . . . . . . . .

. 29-22

Table 29-5 Default STA Path Costs . . . . . . . . . . . . . . . . . . . . . . . .

. 29-22

Table 30-1 VLAN Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . 30-1

Table 30-2 GVRP and Bridge Extension Commands . . . . . . . . . .

. . 30-2

Table 30-3 Commands for Editing VLAN Groups . . . . . . . . . . . .

. . 30-7

Table 30-4 Commands for Configuring VLAN Interfaces . . . . . .

. . 30-9

Table 30-5 Commands for Displaying VLAN Information . . . . .

. 30-16

Table 30-6 Private VLAN Commands . . . . . . . . . . . . . . . . . . . . . .

. 30-17

Table 30-7 Protocol-based VLAN Commands . . . . . . . . . . . . . . .

. 30-19

Table 31-1 Priority Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . 31-1

Table 31-2 Priority Commands (Layer 2) . . . . . . . . . . . . . . . . . . . .

. . 31-1

Table 31-3 Default CoS Priority Levels . . . . . . . . . . . . . . . . . . . . .

. . 31-6

Table 31-4 Priority Commands (Layer 3 and 4) . . . . . . . . . . . . . . .

. . 31-8

Table 31-5 Mapping IP Precedence to CoS Values . . . . . . . . . . . .

. 31-11

Table 31-6 Mapping IP DSCP to CoS Values . . . . . . . . . . . . . . . .

. 31-13

Table 32-1 Quality of Service Commands . . . . . . . . . . . . . . . . . . .

. . 32-1

Table 33-1 Multicast Filtering Commands . . . . . . . . . . . . . . . . . . .

. . 33-1

Table 33-2 IGMP Snooping Commands . . . . . . . . . . . . . . . . . . . .

. . 33-2

Table 33-3 IGMP Query Commands . . . . . . . . . . . . . . . . . . . . . . .

. . 33-6

Table 33-4 Static Multicast Routing Commands . . . . . . . . . . . . . .

. 33-11

Table 34-1 DNS Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . 34-1

Table 34-2 show dns cache - display description . . . . . . . . . . . . . .

. . 34-9

Table 35-1 DHCP Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . 35-1

Table 35-2 DHCP Client Commands . . . . . . . . . . . . . . . . . . . . . . .

. . 35-2

Table 35-3 DHCP Relay Commands . . . . . . . . . . . . . . . . . . . . . . .

. . 35-4

Table 35-4 DHCP Server Commands . . . . . . . . . . . . . . . . . . . . . .

. . 35-6

Table 36-1 IP Interface Commands . . . . . . . . . . . . . . . . . . . . . . . .

. . 36-1

xxix

TABLES

 

 

Table 36-2

Basic IP Configuration Commands . . . . . . . . . . . . . . . . . .

. 36-2

Table 36-3

show ipv6 interface - display description . . . . . . . . . . . . . .

36-23

Table 36-4

show ipv6 mtu - display description . . . . . . . . . . . . . . . . . .

36-27

Table 36-5

show ipv6 traffic - display description . . . . . . . . . . . . . . . .

36-29

Table 36-6

show ipv6 neighbors - display description . . . . . . . . . . . . .

36-43

Table 36-7

Address Resolution Protocol Commands . . . . . . . . . . . . .

36-45

Table 37-1

IP Routing Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

37-1

Table 37-2

Global Routing Configuration Commands . . . . . . . . . . . . .

37-2

Table 37-3 show ip route - display description . . . . . . . . . . . . . . . . . . .

37-5

Table 37-4

show ip host-route - display description . . . . . . . . . . . . . . .

37-6

Table 37-5

Routing Information Protocol Commands . . . . . . . . . . . . .

37-8

Table 37-6 show rip globals - display description . . . . . . . . . . . . . . . .

37-22

Table 37-7 show ip rip - display description . . . . . . . . . . . . . . . . . . . . .

37-23

Table B-1

Troubleshooting Chart . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. B-1

xxx

Loading...
+ 816 hidden pages