Cisco Systems Catalyst 2960-X 48 Gige 2 X 10g Sfp+ Lan WSC2960X48TDL User Manual
Size:
2.91 Mb
Download

Catalyst 2960-XSwitch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX

First Published: July 10, 2013

Americas Headquarters

Cisco Systems, Inc. 170 West Tasman Drive

San Jose, CA 95134-1706USA http://www.cisco.com Tel: 408526-4000

800 553-NETS(6387) Fax: 408527-0883

Text Part Number: OL-29034-01

THE SPECIFICATIONS AND INFORMATION REGARDING THE PRODUCTS IN THIS MANUAL ARE SUBJECT TO CHANGE WITHOUT NOTICE. ALL STATEMENTS, INFORMATION, AND RECOMMENDATIONS IN THIS MANUAL ARE BELIEVED TO BE ACCURATE BUT ARE PRESENTED WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED. USERS MUST TAKE FULL RESPONSIBILITY FOR THEIR APPLICATION OF ANY PRODUCTS.

THE SOFTWARE LICENSE AND LIMITED WARRANTY FOR THE ACCOMPANYING PRODUCT ARE SET FORTH IN THE INFORMATION PACKET THAT SHIPPED WITH THE PRODUCT AND ARE INCORPORATED HEREIN BY THIS REFERENCE. IF YOU ARE UNABLE TO LOCATE THE SOFTWARE LICENSE OR LIMITED WARRANTY, CONTACT YOUR CISCO REPRESENTATIVE FOR A COPY.

The Cisco implementation of TCP header compression is an adaptation of a program developed by the University of California, Berkeley (UCB) as part of UCB's public domain version of the UNIX operating system. All rights reserved. Copyright © 1981, Regents of the University of California.

NOTWITHSTANDING ANY OTHER WARRANTY HEREIN, ALL DOCUMENT FILES AND SOFTWARE OF THESE SUPPLIERS ARE PROVIDED AS IS" WITH ALL FAULTS. CISCO AND THEABOVE-NAMEDSUPPLIERS DISCLAIM ALL WARRANTIES, EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, THOSE OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OR ARISING FROM A COURSE OF DEALING, USAGE, OR TRADE PRACTICE.

IN NO EVENT SHALL CISCO OR ITS SUPPLIERS BE LIABLE FOR ANY INDIRECT, SPECIAL, CONSEQUENTIAL, OR INCIDENTAL DAMAGES, INCLUDING, WITHOUT LIMITATION, LOST PROFITS OR LOSS OR DAMAGE TO DATA ARISING OUT OF THE USE OR INABILITY TO USE THIS MANUAL, EVEN IF CISCO OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

Any Internet Protocol (IP) addresses and phone numbers used in this document are not intended to be actual addresses and phone numbers. Any examples, command display output, network topology diagrams, and other figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses or phone numbers in illustrative content is unintentional and coincidental.

Cisco and the Cisco logo are trademarks or registered trademarks of Cisco and/or its affiliates in the U.S. and other countries. To view a list of Cisco trademarks, go to this URL: http:// www.cisco.com/go/trademarks.Third-partytrademarks mentioned are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any other company. (1110R)

© 2013 Cisco Systems, Inc. All rights reserved.

P r e f a c e

C H A P T E R 1

C H A P T E R 2

C O N T E N T S

Preface ix

Document Conventions ix

Related Documentation xi

Obtaining Documentation and Submitting a Service Request xi

Using the Command-Line Interface 1

Information About Using the Command-Line Interface 1

Command Modes 1

Using the Help System 3

Understanding Abbreviated Commands 4

No and default Forms of Commands 4

CLI Error Messages 4

Configuration Logging 5

How to Use the CLI to Configure Features 5

Configuring the Command History 5

Changing the Command History Buffer Size 6

Recalling Commands 6

Disabling the Command History Feature 7

Enabling and Disabling Editing Features 7

Editing Commands through Keystrokes 8

Editing Command Lines That Wrap 9

Searching and Filtering Output of show and more Commands 10

Accessing the CLI through a Console Connection or through Telnet 11

Configuring Interface Characteristics 13

Finding Feature Information 13

Information About Configuring Interface Characteristics 13

Catalyst 2960-XSwitch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX

OL-29034-01

iii

Contents

Interface Types 13

Port-Based VLANs 14

Switch Ports 14

Access Ports 14

Trunk Ports 15

Switch Virtual Interfaces 15

SVI Autostate Exclude 16

EtherChannel Port Groups 16

Power over Ethernet Ports 16

Using the Switch USB Ports 17

USB Mini-Type B Console Port 17

Console Port Change Logs 17

USB Type A Ports 18

Interface Connections 18

Interface Configuration Mode 19

Default Ethernet Interface Configuration 20

Interface Speed and Duplex Mode 21

Speed and Duplex Configuration Guidelines 21

IEEE 802.3x Flow Control 22

How to Configure Interface Characteristics 23

Configuring Interfaces Procedure 23

Adding a Description for an Interface 24

Configuring a Range of Interfaces 25

Configuring and Using Interface Range Macros 26

Configuring Ethernet Interfaces 27

Setting the Interface Speed and Duplex Parameters 27

Configuring IEEE 802.3x Flow Control 29

Configuring SVI Autostate Exclude 30

Shutting Down and Restarting the Interface 31

Configuring the Console Media Type 32

Configuring the USB Inactivity Timeout 33

Monitoring Interface Characteristics 34

Monitoring Interface Status 34

Clearing and Resetting Interfaces and Counters 35

Configuration Examples for Interface Characteristics 36

 

Catalyst 2960-XSwitch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX

iv

OL-29034-01

Contents

C H A P T E R 3

C H A P T E R 4

C H A P T E R 5

Adding a Description to an Interface: Example 36

Identifying Interfaces on a Stack-Capable Switch: Examples 36

Configuring a Range of Interfaces: Examples 36

Configuring and Using Interface Range Macros: Examples 37

Setting Interface Speed and Duplex Mode: Example 37

Configuring the Console Media Type: Example 37

Configuring the USB Inactivity Timeout: Example 38

Additional References for the Interface Characteristics Feature 38

Feature History and Information for Configuring Interface Characteristics 39

Configuring Auto-MDIX 41

Prerequisites for Auto-MDIX 41

Restrictions for Auto-MDIX 41

Information about Configuring Auto-MDIX 42

Auto-MDIX on an Interface 42

How to Configure Auto-MDIX 42

Configuring Auto-MDIX on an Interface 42

Monitoring Auto-MDIX 43

Example for Configuring Auto-MDIX 44

Configuring Ethernet Management Port 45

Finding Feature Information 45

Prerequisites for Ethernet Management Ports 45

Information about the Ethernet Management Port 45

Ethernet Management Port Direct Connection to a Switch 46

Ethernet Management Port Connection to Stack Switches using a Hub 46

Supported Features on the Ethernet Management Port 46

How to Configure the Ethernet Management Port 47

Disabling and Enabling the Ethernet Management Port 47

Additional References 48

Configuring LLDP, LLDP-MED, and Wired Location Service 51

Finding Feature Information 51

LLDP, LLDP-MED, and Wired Location Service Overview 51

LLDP 51

Catalyst 2960-XSwitch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX

OL-29034-01

v

Contents

C H A P T E R 6

C H A P T E R 7

LLDP Supported TLVs 52

LLDP and Cisco Switch Stacks 52

LLDP and Cisco Medianet 52

LLDP-MED 52

LLDP-MED Supported TLVs 53

Wired Location Service 54

Default LLDP Configuration 55

Configuration Guidelines 55

How to Configure LLDP, LLDP-MED, and Wired Location Service 56

Enabling LLDP 56

Configuring LLDP Characteristics 57

Configuring LLDP-MED TLVs 59

Configuring Network-Policy TLV 61

Configuring Location TLV and Wired Location Service 63

Enabling Wired Location Service on the Switch 66

Configuration Examples for LLDP, LLDP-MED, and Wired Location Service 67

Configuring Network-Policy TLV: Examples 67

Monitoring and Maintaining LLDP, LLDP-MED, and Wired Location Service 68

Additional References for LLDP, LLDP-MED, and Wired Location Service 69

Configuring System MTU 71

Finding Feature Information 71

Information about the MTU 71

System MTU Guidelines 71

How to Configure MTU Sizes 72

Configuring the System MTU 72

Configuration Examples for System MTU 73

Additional References for System MTU 74

Configuring PoE 75

Finding Feature Information 75

Restrictions for PoE 75

Information about PoE 76

Power over Ethernet Ports 76

Supported Protocols and Standards 76

 

Catalyst 2960-XSwitch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX

vi

OL-29034-01

Contents

Powered-Device Detection and Initial Power Allocation 77

Power Management Modes 78

Power Monitoring and Power Policing 79

Maximum Power Allocation (Cutoff Power) on a PoE Port 80

Power Consumption Values 80

How to Configure PoE 81

Configuring a Power Management Mode on a PoE Port 81

Budgeting Power for Devices Connected to a PoE Port 82

Budgeting Power to All PoE ports 83

Budgeting Power to a Specific PoE Port 84

Configuring Power Policing 85

Monitoring Power Status 88

Configuration Examples for Configuring PoE 88

Budgeting Power: Example 88

C H A P T E R 8

Configuring EEE 89

Finding Feature Information 89

Information About EEE 89

EEE Overview 89

Default EEE Configuration 90

Restrictions for EEE 90

How to Configure EEE 90

Enabling or Disabling EEE 90

Monitoring EEE 91

Configuration Examples for Configuring EEE 92

Additional References 92

Feature History and Information for Configuring EEE 93

Catalyst 2960-XSwitch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX

OL-29034-01

vii

Contents

 

Catalyst 2960-XSwitch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX

viii

OL-29034-01