2950 - Configuration Guide

Embed Size (px)

Citation preview

  • 7/27/2019 2950 - Configuration Guide

    1/1001

    Americas Headquarters

    Cisco Systems, Inc.170 West Tasman DriveSan Jose, CA 95134-1706USAhttp://www.cisco.comTel: 408 526-4000

    800 553-NETS (6387)Fax: 408 527-0883

    Catalyst 2960 and 2960-S Switch SoftwareConfiguration Guide

    Cisco IOS Release 12.2(55)SE

    August 2010

    Text Part Number: OL-8603-09

    http://www.cisco.com/http://www.cisco.com/
  • 7/27/2019 2950 - Configuration Guide

    2/1001

    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 LICENSEOR LIMITED WARRANTY, CONTACT YOUR CISCO REPRESENTATIVE FOR A COPY.

    The Cisco implementation of TCP header compression is an adaptati on of a program developed by the University of California, Berkeley (UCB) as part of UCBs 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 THE ABOVE-NAMED SUPPLIERS 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.

    Cisco and the Cisco Logo are trademarks of Ci sco Systems, Inc. and/or its affiliates in the U.S. and other countries. A l isting of Cisco's trademarks can be found at

    www.cisco.com/go/trademarks. Third party trademarks mentioned are the property of their respective owners. The use of the word partner does not impl y a partnership

    relationship between Cisco and any other company. (1005R)

    Any Internet Protocol (IP) addresses used i n this document are not intended to be actual addresses. Any examples, command display output, and fi gures included in the

    document are shown for illustrative p urposes only. Any use of actual IP addresses i n illustrative content is unintentional and coincidental.

    Catalyst 2960 and 2960-S Switch S oftware Configuration GuideCopyright 20042010 Cisco Systems, Inc. All rights reserved.

    http://www.cisco.com/go/trademarkshttp://www.cisco.com/go/trademarks
  • 7/27/2019 2950 - Configuration Guide

    3/1001

    iii

    Catalyst 2960 and 2960-S Switch Software Configuration Guide

    OL-8603-09

    C O N T E N T S

    Preface xxxvii

    Audience xxxvii

    Purpose xxxvii

    Conventions xxxviii

    Related Publications xxxix

    Obtaining Documentation, Obtaining Support, and Security Guidelines xl

    CHAPTER 1 Overview 1-1

    Features 1-1

    Ease-of-Deployment and Ease-of-Use Features 1-2

    Performance Features 1-4

    Management Options 1-5

    Manageability Features 1-6

    Availability and Redundancy Features 1-8

    VLAN Features 1-9

    Security Features 1-10

    QoS and CoS Features 1-13

    Layer 3 Features 1-15

    Power over Ethernet Features 1-15

    Monitoring Features 1-15

    Default Settings After Initial Switch Configuration 1-16

    Network Configuration Examples 1-18

    Design Concepts for Using the Switch 1-19

    Small to Medium-Sized Network Using Catalyst 2960 and 2960-S Switches 1-22

    Long-Distance, High-Bandwidth Transport Configuration 1-23

    Where to Go Next 1-24

    CHAPTER 2 Using the Command-Line Interface 2-1

    Understanding Command Modes 2-1

    Understanding the Help System 2-3

    Understanding Abbreviated Commands 2-3

    Understanding no and default Forms of Commands 2-4

    Understanding CLI Error Messages 2-4

  • 7/27/2019 2950 - Configuration Guide

    4/1001

    Contents

    iv

    Catalyst 2960 and 2960-S Switch Software Configuration Guide

    OL-8603-09

    Using Configuration Logging 2-4

    Using Command History 2-5

    Changing the Command History Buffer Size 2-5

    Recalling Commands 2-6

    Disabling the Command History Feature 2-6

    Using Editing Features 2-6

    Enabling and Disabling Editing Features 2-6

    Editing Commands through Keystrokes 2-7

    Editing Command Lines that Wrap 2-8

    Searching and Filtering Output of show and more Commands 2-9

    Accessing the CLI 2-9

    Accessing the CLI through a Console Connection or through Telnet 2-10

    CHAPTER 3 Assigning the Switch IP Address and Default Gateway 3-1

    Understanding the Boot Process 3-1

    Assigning Switch Information 3-2

    Default Switch Information 3-3

    Understanding DHCP-Based Autoconfiguration 3-3

    DHCP Client Request Process 3-4

    Understanding DHCP-based Autoconfiguration and Image Update 3-5

    DHCP Autoconfiguration 3-5

    DHCP Auto-Image Update 3-5

    Limitations and Restrictions 3-6

    Configuring DHCP-Based Autoconfiguration 3-6

    DHCP Server Configuration Guidelines 3-6

    Configuring the TFTP Server 3-7

    Configuring the DNS 3-8

    Configuring the Relay Device 3-8

    Obtaining Configuration Files 3-9

    Example Configuration 3-10

    Configuring the DHCP Auto Configuration and Image Update Features 3-11

    Configuring DHCP Autoconfiguration (Only Configuration File) 3-11

    Configuring DHCP Auto-Image Update (Configuration File and Image) 3-12

    Configuring the Client 3-14

    Manually Assigning IP Information 3-15

    Checking and Saving the Running Configuration 3-15

    Configuring the NVRAM Buffer Size 3-16

    Modifying the Startup Configuration 3-17

    Default Boot Configuration 3-18

  • 7/27/2019 2950 - Configuration Guide

    5/1001

    Contents

    v

    Catalyst 2960 and 2960-S Switch Software Configuration Guide

    OL-8603-09

    Automatically Downloading a Configuration File 3-18

    Specifying the Filename to Read and Write the System Configuration 3-18

    Booting Manually 3-19

    Booting a Specific Software Image 3-20

    Controlling Environment Variables 3-21

    Scheduling a Reload of the Software Image 3-22

    Configuring a Scheduled Reload 3-23

    Displaying Scheduled Reload Information 3-24

    CHAPTER 4 Configuring Cisco IOS Configuration Engine 4-1

    Understanding Cisco Configuration Engine Software 4-1

    Configuration Service 4-2

    Event Service 4-3

    NameSpace Mapper 4-3

    What You Should Know About the CNS IDs and Device Hostnames 4-3

    ConfigID 4-3

    DeviceID 4-4

    Hostname and DeviceID 4-4

    Using Hostname, DeviceID, and ConfigID 4-4

    Understanding Cisco IOS Agents 4-5

    Initial Configuration 4-5

    Incremental (Partial) Configuration 4-6

    Synchronized Configuration 4-6Configuring Cisco IOS Agents 4-6

    Enabling Automated CNS Configuration 4-6

    Enabling the CNS Event Agent 4-7

    Enabling the Cisco IOS CNS Agent 4-9

    Enabling an Initial Configuration 4-9

    Enabling a Partial Configuration 4-12

    Displaying CNS Configuration 4-13

    CHAPTER 5 Administering the Switch 5-1

    Identifying the Switch Image 5-1

    Managing the System Time and Date 5-2

    Understanding the System Clock 5-2

    Understanding Network Time Protocol 5-3

    Configuring NTP 5-5

    Default NTP Configuration 5-5

    Configuring NTP Authentication 5-5

  • 7/27/2019 2950 - Configuration Guide

    6/1001

    Contents

    vi

    Catalyst 2960 and 2960-S Switch Software Configuration Guide

    OL-8603-09

    Configuring NTP Associations 5-6

    Configuring NTP Broadcast Service 5-7

    Configuring NTP Access Restrictions 5-9

    Configuring the Source IP Address for NTP Packets 5-11

    Displaying the NTP Configuration 5-12

    Configuring Time and Date Manually 5-12

    Setting the System Clock 5-12

    Displaying the Time and Date Configuration 5-13

    Configuring the Time Zone 5-13

    Configuring Summer Time (Daylight Saving Time) 5-14

    Configuring a System Name and Prompt 5-15

    Default System Name and Prompt Configuration 5-16

    Configuring a System Name 5-16

    Understanding DNS 5-16Default DNS Configuration 5-17

    Setting Up DNS 5-17

    Displaying the DNS Configuration 5-18

    Creating a Banner 5-18

    Default Banner Configuration 5-18

    Configuring a Message-of-the-Day Login Banner 5-19

    Configuring a Login Banner 5-20

    Managing the MAC Address Table 5-20

    Building the Address Table 5-21

    MAC Addresses and VLANs 5-21

    MAC Addresses and Switch Stacks 5-22

    Default MAC Address Table Configuration 5-22

    Changing the Address Aging Time 5-22

    Removing Dynamic Address Entries 5-23

    Configuring MAC Address Change Notification Traps 5-23

    Configuring MAC Address Move Notification Traps 5-25

    Configuring MAC Threshold Notification Traps 5-26

    Adding and Removing Static Address Entries 5-27

    Configuring Unicast MAC Address Filtering 5-28

    Disabling MAC Address Learning on a VLAN 5-29

    Displaying Address Table Entries 5-30

    Managing the ARP Table 5-31

    CHAPTER 6 Clustering Switches 6-1

    Understanding Switch Clusters 6-2

  • 7/27/2019 2950 - Configuration Guide

    7/1001

    Contents

    vii

    Catalyst 2960 and 2960-S Switch Software Configuration Guide

    OL-8603-09

    Cluster Command Switch Characteristics 6-3

    Standby Cluster Command Switch Characteristics 6-3

    Candidate Switch and Cluster Member Switch Characteristics 6-4

    Planning a Switch Cluster 6-5

    Automatic Discovery of Cluster Candidates and Members 6-5

    Discovery Through CDP Hops 6-6

    Discovery Through Non-CDP-Capable and Noncluster-Capable Devices 6-7

    Discovery Through Different VLANs 6-7

    Discovery Through Different Management VLANs 6-8

    Discovery of Newly Installed Switches 6-9

    HSRP and Standby Cluster Command Switches 6-10

    Virtual IP Addresses 6-11

    Other Considerations for Cluster Standby Groups 6-11

    Automatic Recovery of Cluster Configuration 6-12IP Addresses 6-13

    Hostnames 6-13

    Passwords 6-13

    SNMP Community Strings 6-14

    Switch Clusters and Switch Stacks 6-14

    TACACS+ and RADIUS 6-16

    LRE Profiles 6-16

    Using the CLI to Manage Switch Clusters 6-16

    Using SNMP to Manage Switch Clusters 6-17

    CHAPTER 7 Managing Switch Stacks 7-1

    Understanding Stacks 7-1

    Stack Membership 7-3

    Master Election 7-5

    Stack MAC Address 7-6

    Member Numbers 7-6

    Member Priority Values 7-7

    Stack Offline Configuration 7-7

    Effects of Adding a Provisioned Switch to a Stack 7-7

    Effects of Replacing a Provisioned Switch in a Stack 7-9

    Effects of Removing a Provisioned Switch from a Stack 7-9

    Stack Software Compatibility Recommendations 7-9

    Stack Protocol Version Compatibility 7-9

    Major Version Number Incompatibility Among Switches 7-9

    Minor Version Number Incompatibility Among Switches 7-10

  • 7/27/2019 2950 - Configuration Guide

    8/1001

    Contents

    viii

    Catalyst 2960 and 2960-S Switch Software Configuration Guide

    OL-8603-09

    Understanding Auto-Upgrade and Auto-Advise 7-10

    Auto-Upgrade and Auto-Advise Example Messages 7-11

    Incompatible Software and Member Image Upgrades 7-13

    Stack Configuration Files 7-13

    Additional Considerations for System-Wide Configuration on Switch Stacks 7-13

    Stack Management Connectivity 7-14

    Stack Through an IP Address 7-14

    Stack Through an SSH Session 7-14

    Stack Through Console Ports 7-15

    Specific Members 7-15

    Stack Configuration Scenarios 7-15

    Data Recovery After Stack Topology Changes 7-16

    Configuring the Switch Stack 7-16

    Default Switch Stack Configuration 7-17Enabling Persistent MAC Address 7-17

    Assigning Stack Member Information 7-19

    Assigning a Member Number 7-19

    Setting the Member Priority Value 7-20

    Provisioning a New Member for a Stack 7-20

    Changing the Stack Membership 7-21

    Accessing the CLI of a Specific Member 7-21

    Displaying Stack Information 7-22

    Troubleshooting Stacks 7-22Manually Disabling a Stack Port 7-22

    Re-Enabling a Stack Port While Another Member Starts 7-23

    Understanding the show switch stack-ports summary Output 7-23

    CHAPTER 8 Configuring SDM Templates 8-1

    Understanding the SDM Templates 8-1

    SDM Templates and Switch Stacks 8-2

    Configuring the Switch SDM Template 8-3

    Default SDM Template 8-3

    SDM Template Configuration Guidelines 8-3

    Setting the SDM Template 8-4

    .Displaying the SDM Templates 8-5

    CHAPTER 9 Configuring Switch-Based Authentication 9-1

    Preventing Unauthorized Access to Your Switch 9-1

  • 7/27/2019 2950 - Configuration Guide

    9/1001

    Contents

    ix

    Catalyst 2960 and 2960-S Switch Software Configuration Guide

    OL-8603-09

    Protecting Access to Privileged EXEC Commands 9-2

    Default Password and Privilege Level Configuration 9-2

    Setting or Changing a Static Enable Password 9-3

    Protecting Enable and Enable Secret Passwords with Encryption 9-3

    Disabling Password Recovery 9-5

    Setting a Telnet Password for a Terminal Line 9-6

    Configuring Username and Password Pairs 9-7

    Configuring Multiple Privilege Levels 9-8

    Setting the Privilege Level for a Command 9-8

    Changing the Default Privilege Level for Lines 9-9

    Logging into and Exiting a Privilege Level 9-10

    Controlling Switch Access with TACACS+ 9-10

    Understanding TACACS+ 9-10

    TACACS+ Operation 9-12Configuring TACACS+ 9-13

    Default TACACS+ Configuration 9-13

    Identifying the TACACS+ Server Host and Setting the Authentication Key 9-13

    Configuring TACACS+ Login Authentication 9-14

    Configuring TACACS+ Authorization for Privileged EXEC Access and Network Services 9-16

    Starting TACACS+ Accounting 9-17

    Establishing a Session with a Router if the AAA Server is Unreachable 9-18

    Displaying the TACACS+ Configuration 9-18

    Controlling Switch Access with RADIUS 9-18

    Understanding RADIUS 9-18

    RADIUS Operation 9-20

    RADIUS Change of Authorization 9-20

    Overview 9-20

    Change-of-Authorization Requests 9-21

    CoA Request Response Code 9-22

    CoA Request Commands 9-23

    Stacking Guidelines for Session Termination 9-26

    Configuring RADIUS 9-27

    Default RADIUS Configuration 9-27Identifying the RADIUS Server Host 9-27

    Configuring RADIUS Login Authentication 9-30

    Defining AAA Server Groups 9-32

    Configuring RADIUS Authorization for User Privileged Access and Network Services 9-34

    Starting RADIUS Accounting 9-35

    Establishing a Session with a Router if the AAA Server is Unreachable 9-36

    Configuring Settings for All RADIUS Servers 9-36

  • 7/27/2019 2950 - Configuration Guide

    10/1001

    Contents

    x

    Catalyst 2960 and 2960-S Switch Software Configuration Guide

    OL-8603-09

    Configuring the Switch to Use Vendor-Specific RADIUS Attributes 9-36

    Configuring the Switch for Vendor-Proprietary RADIUS Server Communication 9-38

    Configuring CoA on the Switch 9-39

    Monitoring and Troubleshooting CoA Functionality 9-40

    Configuring RADIUS Server Load Balancing 9-40

    Displaying the RADIUS Configuration 9-40

    Configuring the Switch for Local Authentication and Authorization 9-40

    Configuring the Switch for Secure Shell 9-41

    Understanding SSH 9-42

    SSH Servers, Integrated Clients, and Supported Versions 9-42

    Limitations 9-43

    Configuring SSH 9-43

    Configuration Guidelines 9-43

    Setting Up the Switch to Run SSH 9-43

    Configuring the SSH Server 9-44

    Displaying the SSH Configuration and Status 9-45

    Configuring the Switch for Secure Socket Layer HTTP 9-46

    Understanding Secure HTTP Servers and Clients 9-46

    Certificate Authority Trustpoints 9-46

    CipherSuites 9-48

    Configuring Secure HTTP Servers and Clients 9-48

    Default SSL Configuration 9-48

    SSL Configuration Guidelines 9-49

    Configuring a CA Trustpoint 9-49

    Configuring the Secure HTTP Server 9-50

    Configuring the Secure HTTP Client 9-51

    Displaying Secure HTTP Server and Client Status 9-52

    Configuring the Switch for Secure Copy Protocol 9-52

    Information About Secure Copy 9-53

    CHAPTER 10 Configuring IEEE 802.1x Port-Based Authentication 10-1

    Understanding IEEE 802.1x Port-Based Authentication 10-1

    Device Roles 10-3

    Authentication Process 10-4

    Authentication Initiation and Message Exchange 10-6

    Authentication Manager 10-8

    Port-Based Authentication Methods 10-8

    Per-User ACLs and Filter-Ids 10-9

    Authentication Manager CLI Commands 10-10

  • 7/27/2019 2950 - Configuration Guide

    11/1001

    Contents

    xi

    Catalyst 2960 and 2960-S Switch Software Configuration Guide

    OL-8603-09

    Ports in Authorized and Unauthorized States 10-11

    802.1x Authentication and Switch Stacks 10-12

    802.1x Host Mode 10-13

    Multidomain Authentication 10-13

    802.1x Multiple Authentication Mode 10-15

    MAC Move 10-16

    MAC Replace 10-16

    802.1x Accounting 10-17

    802.1x Accounting Attribute-Value Pairs 10-17

    802.1x Readiness Check 10-18

    802.1x Authentication with VLAN Assignment 10-19

    Using 802.1x Authentication with Per-User ACLs 10-20

    802.1x Authentication with Downloadable ACLs and Redirect URLs 10-21

    Cisco Secure ACS and Attribute-Value Pairs for the Redirect URL 10-23Cisco Secure ACS and Attribute-Value Pairs for Downloadable ACLs 10-23

    VLAN ID-based MAC Authentication 10-23

    802.1x Authentication with Guest VLAN 10-24

    802.1x Authentication with Restricted VLAN 10-25

    802.1x Authentication with Inaccessible Authentication Bypass 10-26

    Support on Multiple-Authentication Ports 10-26

    Authentication Results 10-26

    Feature Interactions 10-27

    802.1x Authentication with Voice VLAN Ports 10-27

    802.1x Authentication with Port Security 10-28

    802.1x Authentication with Wake-on-LAN 10-29

    802.1x Authentication with MAC Authentication Bypass 10-30

    802.1x User Distribution 10-31

    802.1x User Distribution Configuration Guidelines 10-31

    Network Admission Control Layer 2 802.1x Validation 10-32

    Flexible Authentication Ordering 10-32

    Open1x Authentication 10-33

    Using Voice Aware 802.1x Security 10-33

    802.1x Supplicant and Authenticator Switches with Network Edge Access Topology (NEAT) 10-33Guidelines 10-34

    Using IEEE 802.1x Authentication with ACLs and the RADIUS Filter-Id Attribute 10-35

    Common Session ID 10-35

    Configuring 802.1x Authentication 10-36

    Default 802.1x Authentication Configuration 10-37

    802.1x Authentication Configuration Guidelines 10-38

    802.1x Authentication 10-38

  • 7/27/2019 2950 - Configuration Guide

    12/1001

    Contents

    xii

    Catalyst 2960 and 2960-S Switch Software Configuration Guide

    OL-8603-09

    VLAN Assignment, Guest VLAN, Restricted VLAN, and Inaccessible Authentication

    Bypass 10-39

    MAC Authentication Bypass 10-40

    Maximum Number of Allowed Devices Per Port 10-40

    Configuring 802.1x Readiness Check 10-40

    Configuring Voice Aware 802.1x Security 10-41

    Configuring 802.1x Violation Modes 10-43

    Configuring 802.1x Authentication 10-44

    Configuring the Switch-to-RADIUS-Server Communication 10-45

    Configuring the Host Mode 10-46

    Configuring Periodic Re-Authentication 10-48

    Manually Re-Authenticating a Client Connected to a Port 10-49

    Changing the Quiet Period 10-49

    Changing the Switch-to-Client Retransmission Time 10-50

    Setting the Switch-to-Client Frame-Retransmission Number 10-50

    Setting the Re-Authentication Number 10-51

    Enabling MAC Move 10-52

    Enabling MAC Replace 10-52

    Configuring 802.1x Accounting 10-53

    Configuring a Guest VLAN 10-54

    Configuring a Restricted VLAN 10-55

    Configuring the Inaccessible Authentication Bypass Feature 10-57

    Configuring 802.1x Authentication with WoL 10-60

    Configuring MAC Authentication Bypass 10-61

    Configuring 802.1x User Distribution 10-62

    Configuring NAC Layer 2 802.1x Validation 10-63

    Configuring an Authenticator and a Supplicant Switch with NEAT 10-64

    Configuring NEAT with Auto Smartports Macros 10-65

    Configuring 802.1x Authentication with Downloadable ACLs and Redirect URLs 10-65

    Configuring Downloadable ACLs 10-66

    Configuring a Downloadable Policy 10-66

    Configuring VLAN ID-based MAC Authentication 10-68

    Configuring Flexible Authentication Ordering 10-68

    Configuring Open1x 10-69

    Disabling 802.1x Authentication on the Port 10-70

    Resetting the 802.1x Authentication Configuration to the Default Values 10-70

    Displaying 802.1x Statistics and Status 10-71

    CHAPTER 11 Configuring Web-Based Authentication 11-1

    Understanding Web-Based Authentication 11-1

  • 7/27/2019 2950 - Configuration Guide

    13/1001

    Contents

    xiii

    Catalyst 2960 and 2960-S Switch Software Configuration Guide

    OL-8603-09

    Device Roles 11-2

    Host Detection 11-2

    Session Creation 11-3

    Authentication Process 11-3

    Local Web Authentication Banner 11-4

    Web Authentication Customizable Web Pages 11-6

    Guidelines 11-6

    Web-based Authentication Interactions with Other Features 11-7

    Port Security 11-7

    LAN Port IP 11-8

    Gateway IP 11-8

    ACLs 11-8

    Context-Based Access Control 11-8

    802.1x Authentication 11-8EtherChannel 11-8

    Configuring Web-Based Authentication 11-9

    Default Web-Based Authentication Configuration 11-9

    Web-Based Authentication Configuration Guidelines and Restrictions 11-9

    Web-Based Authentication Configuration Task List 11-10

    Configuring the Authentication Rule and Interfaces 11-10

    Configuring AAA Authentication 11-11

    Configuring Switch-to-RADIUS-Server Communication 11-11

    Configuring the HTTP Server 11-13

    Customizing the Authentication Proxy Web Pages 11-13

    Specifying a Redirection URL for Successful Login 11-15

    Configuring an AAA Fail Policy 11-15

    Configuring the Web-Based Authentication Parameters 11-16

    Configuring a Web Authentication Local Banner 11-16

    Removing Web-Based Authentication Cache Entries 11-17

    Displaying Web-Based Authentication Status 11-17

    CHAPTER 12 Configuring Interface Characteristics 12-1

    Understanding Interface Types 12-1

    Port-Based VLANs 12-2

    Switch Ports 12-2

    Access Ports 12-3

    Trunk Ports 12-3

    Switch Virtual Interfaces 12-4

    EtherChannel Port Groups 12-4

  • 7/27/2019 2950 - Configuration Guide

    14/1001

    Contents

    xiv

    Catalyst 2960 and 2960-S Switch Software Configuration Guide

    OL-8603-09

    Dual-Purpose Uplink Ports 12-4

    Power over Ethernet Ports 12-5

    Supported Protocols and Standards 12-5

    Powered-Device Detection and Initial Power Allocation 12-6

    Power Management Modes 12-7

    Power Monitoring and Power Policing 12-8

    Connecting Interfaces 12-10

    Using the Switch USB Ports (Catalyst 2960-S Switches Only) 12-11

    USB Mini-Type B Console Port 12-11

    Console Port Change Logs 12-11

    Configuring the Console Media Type 12-12

    Configuring the USB Inactivity Timeout 12-13

    USB Type A Port 12-14

    Using Interface Configuration Mode 12-15

    Procedures for Configuring Interfaces 12-16

    Configuring a Range of Interfaces 12-17

    Configuring and Using Interface Range Macros 12-19

    Using the Ethernet Management Port (Catalyst 2960-S Only) 12-20

    Understanding the Ethernet Management Port 12-21

    Supported Features on the Ethernet Management Port 12-21

    Configuring the Ethernet Management Port 12-22

    TFTP and the Ethernet Management Port 12-22

    Configuring Ethernet Interfaces 12-23Default Ethernet Interface Configuration 12-23

    Setting the Type of a Dual-Purpose Uplink Port 12-25

    Configuring Interface Speed and Duplex Mode 12-26

    Speed and Duplex Configuration Guidelines 12-26

    Setting the Interface Speed and Duplex Parameters 12-27

    Configuring IEEE 802.3x Flow Control 12-28

    Configuring Auto-MDIX on an Interface 12-29

    Configuring a Power Management Mode on a PoE Port 12-30

    Budgeting Power for Devices Connected to a PoE Port 12-31

    Configuring Power Policing 12-33

    Adding a Description for an Interface 12-34

    Configuring Layer 3 SVIs 12-35

    Configuring the System MTU 12-36

    Monitoring and Maintaining the Interfaces 12-37

    Monitoring Interface Status 12-38

    Clearing and Resetting Interfaces and Counters 12-38

  • 7/27/2019 2950 - Configuration Guide

    15/1001

    Contents

    xv

    Catalyst 2960 and 2960-S Switch Software Configuration Guide

    OL-8603-09

    Shutting Down and Restarting the Interface 12-39

    CHAPTER 13 Configuring VLANs 13-1

    Understanding VLANs 13-1

    Supported VLANs 13-2

    VLAN Port Membership Modes 13-3

    Configuring Normal-Range VLANs 13-4

    Token Ring VLANs 13-5

    Normal-Range VLAN Configuration Guidelines 13-6

    Configuring Normal-Range VLANs 13-6

    Default Ethernet VLAN Configuration 13-7

    Creating or Modifying an Ethernet VLAN 13-8

    Deleting a VLAN 13-9

    Assigning Static-Access Ports to a VLAN 13-9

    Configuring Extended-Range VLANs 13-10

    Default VLAN Configuration 13-11

    Extended-Range VLAN Configuration Guidelines 13-11

    Creating an Extended-Range VLAN 13-11

    Displaying VLANs 13-13

    Configuring VLAN Trunks 13-13

    Trunking Overview 13-13

    IEEE 802.1Q Configuration Considerations 13-14

    Default Layer 2 Ethernet Interface VLAN Configuration 13-15Configuring an Ethernet Interface as a Trunk Port 13-15

    Interaction with Other Features 13-15

    Configuring a Trunk Port 13-16

    Defining the Allowed VLANs on a Trunk 13-17

    Changing the Pruning-Eligible List 13-18

    Configuring the Native VLAN for Untagged Traffic 13-18

    Configuring Trunk Ports for Load Sharing 13-19

    Load Sharing Using STP Port Priorities 13-19

    Load Sharing Using STP Path Cost 13-21

    Configuring VMPS 13-22

    Understanding VMPS 13-23

    Dynamic-Access Port VLAN Membership 13-23

    Default VMPS Client Configuration 13-24

    VMPS Configuration Guidelines 13-24

    Configuring the VMPS Client 13-25

    Entering the IP Address of the VMPS 13-25

  • 7/27/2019 2950 - Configuration Guide

    16/1001

    Contents

    xvi

    Catalyst 2960 and 2960-S Switch Software Configuration Guide

    OL-8603-09

    Configuring Dynamic-Access Ports on VMPS Clients 13-25

    Reconfirming VLAN Memberships 13-26

    Changing the Reconfirmation Interval 13-26

    Changing the Retry Count 13-27

    Monitoring the VMPS 13-27

    Troubleshooting Dynamic-Access Port VLAN Membership 13-28

    VMPS Configuration Example 13-28

    CHAPTER 14 Configuring VTP 14-1

    Understanding VTP 14-1

    The VTP Domain 14-2

    VTP Modes 14-3

    VTP Advertisements 14-4

    VTP Version 2 14-5VTP Version 3 14-5

    VTP Pruning 14-6

    VTP and Switch Stacks 14-8

    Configuring VTP 14-8

    Default VTP Configuration 14-9

    VTP Configuration Guidelines 14-9

    Domain Names 14-10

    Passwords 14-10

    VTP Version 14-10

    Configuration Requirements 14-11

    Configuring VTP Mode 14-11

    Configuring a VTP Version 3 Password 14-14

    Configuring a VTP Version 3 Primary Server 14-14

    Enabling the VTP Version 14-15

    Enabling VTP Pruning 14-16

    Configuring VTP on a Per-Port Basis 14-16

    Adding a VTP Client Switch to a VTP Domain 14-17

    Monitoring VTP 14-18

    CHAPTER 15 Configuring Voice VLAN 15-1

    Understanding Voice VLAN 15-1

    Cisco IP Phone Voice Traffic 15-2

    Cisco IP Phone Data Traffic 15-2

    Configuring Voice VLAN 15-3

    Default Voice VLAN Configuration 15-3

  • 7/27/2019 2950 - Configuration Guide

    17/1001

    Contents

    xvii

    Catalyst 2960 and 2960-S Switch Software Configuration Guide

    OL-8603-09

    Voice VLAN Configuration Guidelines 15-3

    Configuring a Port Connected to a Cisco 7960 IP Phone 15-4

    Configuring Cisco IP Phone Voice Traffic 15-5

    Configuring the Priority of Incoming Data Frames 15-6

    Displaying Voice VLAN 15-7

    CHAPTER 16 Configuring STP 16-1

    Understanding Spanning-Tree Features 16-1

    STP Overview 16-2

    Spanning-Tree Topology and BPDUs 16-3

    Bridge ID, Switch Priority, and Extended System ID 16-4

    Spanning-Tree Interface States 16-5

    Blocking State 16-6

    Listening State 16-7

    Learning State 16-7

    Forwarding State 16-7

    Disabled State 16-7

    How a Switch or Port Becomes the Root Switch or Root Port 16-8

    Spanning Tree and Redundant Connectivity 16-8

    Spanning-Tree Address Management 16-9

    Accelerated Aging to Retain Connectivity 16-9

    Spanning-Tree Modes and Protocols 16-10

    Supported Spanning-Tree Instances 16-10

    Spanning-Tree Interoperability and Backward Compatibility 16-11

    STP and IEEE 802.1Q Trunks 16-11

    Spanning Tree and Switch Stacks 16-12

    Configuring Spanning-Tree Features 16-12

    Default Spanning-Tree Configuration 16-13

    Spanning-Tree Configuration Guidelines 16-13

    Changing the Spanning-Tree Mode 16-15

    Disabling Spanning Tree 16-16

    Configuring the Root Switch 16-16

    Configuring a Secondary Root Switch 16-18

    Configuring Port Priority 16-18

    Configuring Path Cost 16-20

    Configuring the Switch Priority of a VLAN 16-21

    Configuring Spanning-Tree Timers 16-22

    Configuring the Hello Time 16-22

    Configuring the Forwarding-Delay Time for a VLAN 16-23

  • 7/27/2019 2950 - Configuration Guide

    18/1001

    Contents

    xviii

    Catalyst 2960 and 2960-S Switch Software Configuration Guide

    OL-8603-09

    Configuring the Maximum-Aging Time for a VLAN 16-23

    Configuring the Transmit Hold-Count 16-24

    Displaying the Spanning-Tree Status 16-24

    CHAPTER 17 Configuring MSTP 17-1

    Understanding MSTP 17-2

    Multiple Spanning-Tree Regions 17-2

    IST, CIST, and CST 17-3

    Operations Within an MST Region 17-3

    Operations Between MST Regions 17-4

    IEEE 802.1s Terminology 17-5

    Hop Count 17-6

    Boundary Ports 17-6

    IEEE 802.1s Implementation 17-7

    Port Role Naming Change 17-7

    Interoperation Between Legacy and Standard Switches 17-7

    Detecting Unidirectional Link Failure 17-8

    MSTP and Switch Stacks 17-9

    Interoperability with IEEE 802.1D STP 17-9

    Understanding RSTP 17-10

    Port Roles and the Active Topology 17-10

    Rapid Convergence 17-11

    Synchronization of Port Roles 17-12Bridge Protocol Data Unit Format and Processing 17-13

    Processing Superior BPDU Information 17-14

    Processing Inferior BPDU Information 17-14

    Topology Changes 17-14

    Configuring MSTP Features 17-15

    Default MSTP Configuration 17-16

    MSTP Configuration Guidelines 17-16

    Specifying the MST Region Configuration and Enabling MSTP 17-17

    Configuring the Root Switch 17-19

    Configuring a Secondary Root Switch 17-20

    Configuring Port Priority 17-21

    Configuring Path Cost 17-23

    Configuring the Switch Priority 17-24

    Configuring the Hello Time 17-25

    Configuring the Forwarding-Delay Time 17-25

    Configuring the Maximum-Aging Time 17-26

  • 7/27/2019 2950 - Configuration Guide

    19/1001

    Contents

    xix

    Catalyst 2960 and 2960-S Switch Software Configuration Guide

    OL-8603-09

    Configuring the Maximum-Hop Count 17-26

    Specifying the Link Type to Ensure Rapid Transitions 17-27

    Designating the Neighbor Type 17-27

    Restarting the Protocol Migration Process 17-28

    Displaying the MST Configuration and Status 17-28

    CHAPTER 18 Configuring Optional Spanning-Tree Features 18-1

    Understanding Optional Spanning-Tree Features 18-1

    Understanding Port Fast 18-2

    Understanding BPDU Guard 18-2

    Understanding BPDU Filtering 18-3

    Understanding UplinkFast 18-3

    Understanding Cross-Stack UplinkFast 18-5

    How CSUF Works 18-6

    Events that Cause Fast Convergence 18-7

    Understanding BackboneFast 18-7

    Understanding EtherChannel Guard 18-10

    Understanding Root Guard 18-10

    Understanding Loop Guard 18-11

    Configuring Optional Spanning-Tree Features 18-12

    Default Optional Spanning-Tree Configuration 18-12

    Optional Spanning-Tree Configuration Guidelines 18-12

    Enabling Port Fast 18-13Enabling BPDU Guard 18-14

    Enabling BPDU Filtering 18-15

    Enabling UplinkFast for Use with Redundant Links 18-16

    Enabling Cross-Stack UplinkFast 18-17

    Enabling BackboneFast 18-17

    Enabling EtherChannel Guard 18-18

    Enabling Root Guard 18-18

    Enabling Loop Guard 18-19

    Displaying the Spanning-Tree Status 18-20

    CHAPTER 19 Configuring Flex Links and the MAC Address-Table Move Update Feature 19-1

    Understanding Flex Links and the MAC Address-Table Move Update 19-1

    Flex Links 19-2

    VLAN Flex Link Load Balancing and Support 19-3

    Flex Link Multicast Fast Convergence 19-3

    Learning the Other Flex Link Port as the mrouter Port 19-3

  • 7/27/2019 2950 - Configuration Guide

    20/1001

    Contents

    xx

    Catalyst 2960 and 2960-S Switch Software Configuration Guide

    OL-8603-09

    Generating IGMP Reports 19-4

    Leaking IGMP Reports 19-4

    Configuration Examples 19-4

    MAC Address-Table Move Update 19-6

    Configuring Flex Links and the MAC Address-Table Move Update 19-7

    Default Configuration 19-8

    Configuration Guidelines 19-8

    Configuring Flex Links 19-9

    Configuring VLAN Load Balancing on Flex Links 19-11

    Configuring the MAC Address-Table Move Update Feature 19-12

    Monitoring Flex Links and the MAC Address-Table Move Update 19-14

    CHAPTER 20 Configuring DHCP Features and IP Source Guard Features 20-1

    Understanding DHCP Snooping 20-2

    DHCP Server 20-2

    DHCP Relay Agent 20-2

    DHCP Snooping 20-2

    Option-82 Data Insertion 20-4

    DHCP Snooping Binding Database 20-7

    DHCP Snooping and Switch Stacks 20-8

    Configuring DHCP Snooping 20-9

    Default DHCP Snooping Configuration 20-9

    DHCP Snooping Configuration Guidelines 20-9Configuring the DHCP Relay Agent 20-11

    Enabling DHCP Snooping and Option 82 20-11

    Enabling the DHCP Snooping Binding Database Agent 20-13

    Displaying DHCP Snooping Information 20-14

    Understanding IP Source Guard 20-14

    Source IP Address Filtering 20-15

    Source IP and MAC Address Filtering 20-15

    IP Source Guard for Static Hosts 20-15

    Configuring IP Source Guard20-16

    Default IP Source Guard Configuration 20-16

    IP Source Guard Configuration Guidelines 20-16

    Enabling IP Source Guard 20-17

    Configuring IP Source Guard for Static Hosts 20-18

    Configuring IP Source Guard for Static Hosts on a Layer 2 Access Port 20-18

    Displaying IP Source Guard Information 20-22

    Understanding DHCP Server Port-Based Address Allocation 20-22

  • 7/27/2019 2950 - Configuration Guide

    21/1001

    Contents

    xxi

    Catalyst 2960 and 2960-S Switch Software Configuration Guide

    OL-8603-09

    Configuring DHCP Server Port-Based Address Allocation 20-22

    Default Port-Based Address Allocation Configuration 20-23

    Port-Based Address Allocation Configuration Guidelines 20-23

    Enabling DHCP Server Port-Based Address Allocation 20-23

    Displaying DHCP Server Port-Based Address Allocation 20-25

    CHAPTER 21 Configuring Dynamic ARP Inspection 21-1

    Understanding Dynamic ARP Inspection 21-1

    Interface Trust States and Network Security 21-3

    Rate Limiting of ARP Packets 21-4

    Relative Priority of ARP ACLs and DHCP Snooping Entries 21-4

    Logging of Dropped Packets 21-5

    Configuring Dynamic ARP Inspection 21-5

    Default Dynamic ARP Inspection Configuration 21-5

    Dynamic ARP Inspection Configuration Guidelines 21-6

    Configuring Dynamic ARP Inspection in DHCP Environments 21-7

    Configuring ARP ACLs for Non-DHCP Environments 21-9

    Limiting the Rate of Incoming ARP Packets 21-11

    Performing Validation Checks 21-12

    Configuring the Log Buffer 21-13

    Displaying Dynamic ARP Inspection Information 21-15

    CHAPTER 22 Configuring IGMP Snooping and MVR 22-1Understanding IGMP Snooping 22-2

    IGMP Versions 22-3

    Joining a Multicast Group 22-3

    Leaving a Multicast Group 22-5

    Immediate Leave 22-5

    IGMP Configurable-Leave Timer 22-6

    IGMP Report Suppression 22-6

    IGMP Snooping and Switch Stacks 22-6

    Configuring IGMP Snooping 22-7

    Default IGMP Snooping Configuration 22-7

    Enabling or Disabling IGMP Snooping 22-7

    Setting the Snooping Method 22-8

    Configuring a Multicast Router Port 22-9

    Configuring a Host Statically to Join a Group 22-10

    Enabling IGMP Immediate Leave 22-10

    Configuring the IGMP Leave Timer 22-11

  • 7/27/2019 2950 - Configuration Guide

    22/1001

    Contents

    xxii

    Catalyst 2960 and 2960-S Switch Software Configuration Guide

    OL-8603-09

    Configuring TCN-Related Commands 22-12

    Controlling the Multicast Flooding Time After a TCN Event 22-12

    Recovering from Flood Mode 22-13

    Disabling Multicast Flooding During a TCN Event 22-13

    Configuring the IGMP Snooping Querier 22-14

    Disabling IGMP Report Suppression 22-15

    Displaying IGMP Snooping Information 22-16

    Understanding Multicast VLAN Registration 22-17

    Using MVR in a Multicast Television Application 22-18

    Configuring MVR 22-19

    Default MVR Configuration 22-19

    MVR Configuration Guidelines and Limitations 22-20

    Configuring MVR Global Parameters 22-20

    Configuring MVR Interfaces 22-21

    Displaying MVR Information 22-23

    Configuring IGMP Filtering and Throttling 22-23

    Default IGMP Filtering and Throttling Configuration 22-24

    Configuring IGMP Profiles 22-24

    Applying IGMP Profiles 22-25

    Setting the Maximum Number of IGMP Groups 22-26

    Configuring the IGMP Throttling Action 22-27

    Displaying IGMP Filtering and Throttling Configuration 22-28

    CHAPTER 23 Configuring Port-Based Traffic Control 23-1

    Configuring Storm Control 23-1

    Understanding Storm Control 23-1

    Default Storm Control Configuration 23-3

    Configuring Storm Control and Threshold Levels 23-3

    Configuring Small-Frame Arrival Rate 23-5

    Configuring Protected Ports 23-6

    Default Protected Port Configuration 23-6

    Protected Port Configuration Guidelines 23-7Configuring a Protected Port 23-7

    Configuring Port Blocking 23-7

    Default Port Blocking Configuration 23-8

    Blocking Flooded Traffic on an Interface 23-8

    Configuring Port Security 23-8

    Understanding Port Security 23-9

  • 7/27/2019 2950 - Configuration Guide

    23/1001

    Contents

    xxiii

    Catalyst 2960 and 2960-S Switch Software Configuration Guide

    OL-8603-09

    Secure MAC Addresses 23-9

    Security Violations 23-10

    Default Port Security Configuration 23-11

    Port Security Configuration Guidelines 23-11

    Enabling and Configuring Port Security 23-13

    Enabling and Configuring Port Security Aging 23-17

    Port Security and Switch Stacks 23-18

    Displaying Port-Based Traffic Control Settings 23-18

    CHAPTER 24 Configuring UDLD 24-1

    Understanding UDLD 24-1

    Modes of Operation 24-1

    Methods to Detect Unidirectional Links 24-2

    Configuring UDLD 24-4

    Default UDLD Configuration 24-4

    Configuration Guidelines 24-4

    Enabling UDLD Globally 24-5

    Enabling UDLD on an Interface 24-6

    Resetting an Interface Disabled by UDLD 24-6

    Displaying UDLD Status 24-7

    CHAPTER 25 Configuring CDP 25-1

    Understanding CDP 25-1

    CDP and Switch Stacks 25-2

    Configuring CDP 25-2

    Default CDP Configuration 25-2

    Configuring the CDP Characteristics 25-3

    Disabling and Enabling CDP 25-3

    Disabling and Enabling CDP on an Interface 25-4

    Monitoring and Maintaining CDP 25-5

    CHAPTER 26 Configuring LLDP, LLDP-MED, and Wired Location Service 26-1Understanding LLDP, LLDP-MED, and Wired Location Service 26-1

    LLDP 26-1

    LLDP-MED 26-2

    Wired Location Service 26-3

    Configuring LLDP, LLDP-MED, and Wired Location Service 26-5

    Default LLDP Configuration 26-5

  • 7/27/2019 2950 - Configuration Guide

    24/1001

    Contents

    xxiv

    Catalyst 2960 and 2960-S Switch Software Configuration Guide

    OL-8603-09

    Configuration Guidelines 26-5

    Enabling LLDP 26-6

    Configuring LLDP Characteristics 26-6

    Configuring LLDP-MED TLVs 26-7

    Configuring Network-Policy TLV 26-8

    Configuring Location TLV and Wired Location Service 26-9

    Monitoring and Maintaining LLDP, LLDP-MED, and Wired Location Service 26-11

    CHAPTER 27 Configuring SPAN and RSPAN 27-1

    Understanding SPAN and RSPAN 27-1

    Local SPAN 27-2

    Remote SPAN 27-3

    SPAN and RSPAN Concepts and Terminology 27-4

    SPAN Sessions 27-4

    Monitored Traffic 27-5

    Source Ports 27-6

    Source VLANs 27-7

    VLAN Filtering 27-7

    Destination Port 27-8

    RSPAN VLAN 27-9

    SPAN and RSPAN Interaction with Other Features 27-9

    SPAN and RSPAN and Switch Stacks 27-10

    Configuring SPAN and RSPAN 27-10Default SPAN and RSPAN Configuration 27-11

    Configuring Local SPAN 27-11

    SPAN Configuration Guidelines 27-11

    Creating a Local SPAN Session 27-12

    Creating a Local SPAN Session and Configuring Incoming Traffic 27-14

    Specifying VLANs to Filter 27-16

    Configuring RSPAN 27-17

    RSPAN Configuration Guidelines 27-17

    Configuring a VLAN as an RSPAN VLAN 27-18

    Creating an RSPAN Source Session 27-19

    Creating an RSPAN Destination Session 27-20

    Creating an RSPAN Destination Session and Configuring Incoming Traffic 27-21

    Specifying VLANs to Filter 27-23

    Displaying SPAN and RSPAN Status 27-24

  • 7/27/2019 2950 - Configuration Guide

    25/1001

    Contents

    xxv

    Catalyst 2960 and 2960-S Switch Software Configuration Guide

    OL-8603-09

    CHAPTER 28 Configuring RMON 28-1

    Understanding RMON 28-1

    Configuring RMON 28-2

    Default RMON Configuration 28-3Configuring RMON Alarms and Events 28-3

    Collecting Group History Statistics on an Interface 28-5

    Collecting Group Ethernet Statistics on an Interface 28-5

    Displaying RMON Status 28-6

    CHAPTER 29 Configuring System Message Logging 29-1

    Understanding System Message Logging 29-1

    Configuring System Message Logging 29-2

    System Log Message Format29-2

    Default System Message Logging Configuration 29-4

    Disabling Message Logging 29-4

    Setting the Message Display Destination Device 29-5

    Synchronizing Log Messages 29-6

    Enabling and Disabling Time Stamps on Log Messages 29-8

    Enabling and Disabling Sequence Numbers in Log Messages 29-8

    Defining the Message Severity Level 29-9

    Limiting Syslog Messages Sent to the History Table and to SNMP 29-10

    Enabling the Configuration-Change Logger 29-11

    Configuring UNIX Syslog Servers 29-12

    Logging Messages to a UNIX Syslog Daemon 29-13

    Configuring the UNIX System Logging Facility 29-13

    Displaying the Logging Configuration 29-14

    CHAPTER 30 Configuring SNMP 30-1

    Understanding SNMP 30-1

    SNMP Versions 30-2

    SNMP Manager Functions 30-3

    SNMP Agent Functions 30-4SNMP Community Strings 30-4

    Using SNMP to Access MIB Variables 30-4

    SNMP Notifications 30-5

    SNMP ifIndex MIB Object Values 30-5

    Configuring SNMP 30-6

    Default SNMP Configuration 30-6

  • 7/27/2019 2950 - Configuration Guide

    26/1001

    Contents

    xxvi

    Catalyst 2960 and 2960-S Switch Software Configuration Guide

    OL-8603-09

    SNMP Configuration Guidelines 30-7

    Disabling the SNMP Agent 30-7

    Configuring Community Strings 30-8

    Configuring SNMP Groups and Users 30-9

    Configuring SNMP Notifications 30-12

    Setting the CPU Threshold Notification Types and Values 30-15

    Setting the Agent Contact and Location Information 30-16

    Limiting TFTP Servers Used Through SNMP 30-16

    SNMP Examples 30-17

    Displaying SNMP Status 30-18

    CHAPTER 31 Configuring Network Security with ACLs 31-1

    Understanding ACLs 31-1

    Supported ACLs 31-2

    Port ACLs 31-3

    Router ACLs 31-4

    Handling Fragmented and Unfragmented Traffic 31-4

    ACLs and Switch Stacks 31-5

    Configuring IPv4 ACLs 31-6

    Creating Standard and Extended IPv4 ACLs 31-7

    Access List Numbers 31-7

    Creating a Numbered Standard ACL 31-8

    Creating a Numbered Extended ACL 31-9Resequencing ACEs in an ACL 31-13

    Creating Named Standard and Extended ACLs 31-13

    Using Time Ranges with ACLs 31-15

    Including Comments in ACLs 31-16

    Applying an IPv4 ACL to a Terminal Line 31-17

    Applying an IPv4 ACL to an Interface 31-18

    Hardware and Software Treatment of IP ACLs 31-19

    Troubleshooting ACLs 31-19

    IPv4 ACL Configuration Examples 31-20

    Numbered ACLs 31-21

    Extended ACLs 31-21

    Named ACLs 31-21

    Time Range Applied to an IP ACL 31-21

    Commented IP ACL Entries 31-22

    Creating Named MAC Extended ACLs 31-22

    Applying a MAC ACL to a Layer 2 Interface 31-23

  • 7/27/2019 2950 - Configuration Guide

    27/1001

    Contents

    xxvii

    Catalyst 2960 and 2960-S Switch Software Configuration Guide

    OL-8603-09

    Displaying IPv4 ACL Configuration 31-24

    CHAPTER 32 Configuring Cisco IOS IP SLAs Operations 32-1

    Understanding Cisco IOS IP SLAs 32-2

    Using Cisco IOS IP SLAs to Measure Network Performance 32-3

    IP SLAs Responder and IP SLAs Control Protocol 32-4

    Response Time Computation for IP SLAs 32-4

    Configuring IP SLAs Operations 32-5

    Default Configuration 32-5

    Configuration Guidelines 32-5

    Configuring the IP SLAs Responder 32-6

    Monitoring IP SLAs Operations 32-6

    CHAPTER 33 Configuring QoS 33-1

    Understanding QoS 33-2

    Basic QoS Model 33-4

    Classification 33-5

    Classification Based on QoS ACLs 33-8

    Classification Based on Class Maps and Policy Maps 33-8

    Policing and Marking 33-9

    Policing on Physical Ports 33-10

    Mapping Tables 33-11

    Queueing and Scheduling Overview 33-12Weighted Tail Drop 33-13

    SRR Shaping and Sharing 33-14

    Queueing and Scheduling on Ingress Queues 33-15

    Queueing and Scheduling on Egress Queues 33-17

    Packet Modification 33-20

    Configuring Auto-QoS 33-21

    Generated Auto-QoS Configuration 33-22

    VOIP Device Specifics 33-22

    Enhanced Auto-QoS for Video, Trust, and Classification 33-23

    Auto-QoS Configuration Migration 33-24

    Global Auto-QoS Configuration 33-25

    Auto-QoS Generated Configuration For VoIP Devices 33-28

    Auto-QoS Generated Configuration For Enhanced Video, Trust, and Classify Devices 33-29

    Effects of Auto-QoS on the Configuration 33-32

    Auto-QoS Configuration Guidelines 33-32

    Auto-QoS Enhanced Considerations 33-33

  • 7/27/2019 2950 - Configuration Guide

    28/1001

    Contents

    xxviii

    Catalyst 2960 and 2960-S Switch Software Configuration Guide

    OL-8603-09

    Enabling Auto-QoS 33-33

    Troubleshooting Auto QoS Commands 33-34

    Displaying Auto-QoS Information 33-35

    Configuring Standard QoS 33-35

    Default Standard QoS Configuration 33-36

    Default Ingress Queue Configuration 33-36

    Default Egress Queue Configuration 33-37

    Default Mapping Table Configuration 33-38

    Standard QoS Configuration Guidelines 33-38

    QoS ACL Guidelines 33-38

    Policing Guidelines 33-39

    General QoS Guidelines 33-39

    Enabling QoS Globally 33-40

    Configuring Classification Using Port Trust States 33-40

    Configuring the Trust State on Ports within the QoS Domain 33-40

    Configuring the CoS Value for an Interface 33-42

    Configuring a Trusted Boundary to Ensure Port Security 33-43

    Enabling DSCP Transparency Mode 33-44

    Configuring the DSCP Trust State on a Port Bordering Another QoS Domain 33-45

    Configuring a QoS Policy 33-47

    Classifying Traffic by Using ACLs 33-48

    Classifying Traffic by Using Class Maps 33-51

    Classifying, Policing, and Marking Traffic on Physical Ports by Using Policy Maps 33-53

    Classifying, Policing, and Marking Traffic by Using Aggregate Policers 33-58

    Configuring DSCP Maps 33-61

    Configuring the CoS-to-DSCP Map 33-61

    Configuring the IP-Precedence-to-DSCP Map 33-62

    Configuring the Policed-DSCP Map 33-63

    Configuring the DSCP-to-CoS Map 33-64

    Configuring the DSCP-to-DSCP-Mutation Map 33-65

    Configuring Ingress Queue Characteristics 33-67

    Mapping DSCP or CoS Values to an Ingress Queue and Setting WTD Thresholds 33-67

    Allocating Buffer Space Between the Ingress Queues 33-69Allocating Bandwidth Between the Ingress Queues 33-70

    Configuring the Ingress Priority Queue 33-71

    Configuring Egress Queue Characteristics 33-72

    Configuration Guidelines 33-72

    Allocating Buffer Space to and Setting WTD Thresholds for an Egress Queue-Set 33-72

    Mapping DSCP or CoS Values to an Egress Queue and to a Threshold ID 33-74

    Configuring SRR Shaped Weights on Egress Queues 33-76

  • 7/27/2019 2950 - Configuration Guide

    29/1001

    Contents

    xxix

    Catalyst 2960 and 2960-S Switch Software Configuration Guide

    OL-8603-09

    Configuring SRR Shared Weights on Egress Queues 33-77

    Configuring the Egress Expedite Queue 33-78

    Limiting the Bandwidth on an Egress Interface 33-78

    Displaying Standard QoS Information 33-79

    CHAPTER 34 Configuring Static IP Unicast Routing 34-1

    Understanding IP Routing 34-1

    Types of Routing 34-2

    IP Routing and Switch Stacks 34-2

    Steps for Configuring Routing 34-3

    Enabling IP Unicast Routing 34-4

    Assigning IP Addresses to SVIs 34-4

    Configuring Static Unicast Routes 34-5

    Monitoring and Maintaining the IP Network 34-5

    CHAPTER 35 Configuring IPv6 Host Functions 35-1

    Understanding IPv6 35-1

    IPv6 Addresses 35-2

    Supported IPv6 Host Features 35-2

    128-Bit Wide Unicast Addresses 35-3

    DNS for IPv6 35-3

    ICMPv6 35-3

    Neighbor Discovery 35-3

    IPv6 Stateless Autoconfiguration and Duplicate Address Detection 35-4

    IPv6 Applications 35-4

    Dual IPv4 and IPv6 Protocol Stacks 35-4

    SNMP and Syslog Over IPv6 35-5

    HTTP(S) Over IPv6 35-5

    IPv6 and Switch Stacks 35-6

    Configuring IPv6 35-6

    Default IPv6 Configuration 35-6

    Configuring IPv6 Addressing and Enabling IPv6 Host 35-7Configuring IPv6 ICMP Rate Limiting 35-9

    Configuring Static Routes for IPv6 35-10

    Displaying IPv6 35-11

    CHAPTER 36 Configuring IPv6 MLD Snooping 36-1

    Understanding MLD Snooping 36-2

  • 7/27/2019 2950 - Configuration Guide

    30/1001

    Contents

    xxx

    Catalyst 2960 and 2960-S Switch Software Configuration Guide

    OL-8603-09

    MLD Messages 36-3

    MLD Queries 36-3

    Multicast Client Aging Robustness 36-3

    Multicast Router Discovery 36-4

    MLD Reports 36-4

    MLD Done Messages and Immediate-Leave 36-4

    Topology Change Notification Processing 36-5

    MLD Snooping in Switch Stacks 36-5

    Configuring IPv6 MLD Snooping 36-5

    Default MLD Snooping Configuration 36-6

    MLD Snooping Configuration Guidelines 36-6

    Enabling or Disabling MLD Snooping 36-7

    Configuring a Static Multicast Group 36-8

    Configuring a Multicast Router Port 36-8Enabling MLD Immediate Leave 36-9

    Configuring MLD Snooping Queries 36-10

    Disabling MLD Listener Message Suppression 36-11

    Displaying MLD Snooping Information 36-12

    CHAPTER 37 Configuring EtherChannels and Link-State Tracking 37-1

    Understanding EtherChannels 37-2

    EtherChannel Overview 37-2

    Port-Channel Interfaces 37-4Port Aggregation Protocol 37-5

    PAgP Modes 37-6

    PAgP Interaction with Virtual Switches and Dual-Active Detection 37-6

    PAgP Interaction with Other Features 37-7

    Link Aggregation Control Protocol 37-7

    LACP Modes 37-7

    LACP Interaction with Other Features 37-8

    EtherChannel On Mode 37-8

    Load Balancing and Forwarding Methods 37-8

    EtherChannel and Switch Stacks 37-10

    Configuring EtherChannels 37-11

    Default EtherChannel Configuration 37-11

    EtherChannel Configuration Guidelines 37-12

    Configuring Layer 2 EtherChannels 37-13

    Configuring EtherChannel Load Balancing 37-15

    Configuring the PAgP Learn Method and Priority 37-16

  • 7/27/2019 2950 - Configuration Guide

    31/1001

    Contents

    xxxi

    Catalyst 2960 and 2960-S Switch Software Configuration Guide

    OL-8603-09

    Configuring LACP Hot-Standby Ports 37-18

    Configuring the LACP System Priority 37-18

    Configuring the LACP Port Priority 37-19

    Displaying EtherChannel, PAgP, and LACP Status 37-20

    Understanding Link-State Tracking 37-20

    Configuring Link-State Tracking 37-23

    Default Link-State Tracking Configuration 37-23

    Link-State Tracking Configuration Guidelines 37-23

    Configuring Link-State Tracking 37-23

    Displaying Link-State Tracking Status 37-24

    CHAPTER 38 Troubleshooting 38-1

    Recovering from a Software Failure 38-2

    Recovering from a Lost or Forgotten Password 38-3

    Procedure with Password Recovery Enabled 38-4

    Procedure with Password Recovery Disabled 38-6

    Preventing Switch Stack Problems 38-8

    Recovering from a Command Switch Failure 38-8

    Replacing a Failed Command Switch with a Cluster Member 38-9

    Replacing a Failed Command Switch with Another Switch 38-11

    Recovering from Lost Cluster Member Connectivity 38-12

    Preventing Autonegotiation Mismatches 38-12

    Troubleshooting Power over Ethernet Switch Ports 38-13

    Disabled Port Caused by Power Loss 38-13

    Disabled Port Caused by False Link Up 38-13

    SFP Module Security and Identification 38-13

    Monitoring SFP Module Status 38-14

    Using Ping 38-14

    Understanding Ping 38-14

    Executing Ping 38-15

    Using Layer 2 Traceroute 38-15

    Understanding Layer 2 Traceroute 38-16

    Usage Guidelines 38-16

    Displaying the Physical Path 38-17

    Using IP Traceroute 38-17

    Understanding IP Traceroute 38-17

    Executing IP Traceroute 38-18

    Using TDR 38-19

  • 7/27/2019 2950 - Configuration Guide

    32/1001

    Contents

    xxxii

    Catalyst 2960 and 2960-S Switch Software Configuration Guide

    OL-8603-09

    Understanding TDR 38-19

    Running TDR and Displaying the Results 38-19

    Using Debug Commands 38-20

    Enabling Debugging on a Specific Feature 38-20

    Enabling All-System Diagnostics 38-21

    Redirecting Debug and Error Message Output 38-21

    Using the show platform forward Command 38-22

    Using the crashinfo Files 38-23

    Basic crashinfo Files 38-23

    Extended crashinfo Files 38-24

    Using On-Board Failure Logging 38-24

    Understanding OBFL 38-24

    Configuring OBFL 38-25

    Displaying OBFL Information 38-26

    Memory Consistency Check Routines 38-26

    Displaying TCAM Memory Consistency Check Errors 38-27

    Troubleshooting Tables 38-27

    Troubleshooting CPU Utilization 38-28

    Possible Symptoms of High CPU Utilization 38-28

    Verifying the Problem and Cause 38-28

    Troubleshooting Power over Ethernet (PoE) 38-29

    Troubleshooting Switch Stacks 38-32

    CHAPTER 39 Configuring Online Diagnostics 39-1

    Understanding How Online Diagnostics Work 39-1

    Scheduling Online Diagnostics 39-2

    Configuring Health-Monitoring Diagnostics 39-2

    Running Online Diagnostic Tests 39-3

    Starting Online Diagnostic Tests 39-3

    Displaying Online Diagnostic Tests and Test Results 39-4

    APPENDIX A Working with the Cisco IOS File System, Configuration Files, and Software Images A-1

    Working with the Flash File System A-1

    Displaying Available File Systems A-2

    Setting the Default File System A-3

    Displaying Information about Files on a File System A-3

    Changing Directories and Displaying the Working Directory A-4

    Creating and Removing Directories A-4

  • 7/27/2019 2950 - Configuration Guide

    33/1001

    Contents

    xxxiii

    Catalyst 2960 and 2960-S Switch Software Configuration Guide

    OL-8603-09

    Copying Files A-5

    Deleting Files A-5

    Creating, Displaying, and Extracting tar Files A-6

    Creating a tar File A-6

    Displaying the Contents of a tar File A-7

    Extracting a tar File A-7

    Displaying the Contents of a File A-8

    Working with Configuration Files A-8

    Guidelines for Creating and Using Configuration Files A-9

    Configuration File Types and Location n A-10

    Creating a Configuration File By Using a Text Editor A-10

    Copying Configuration Files By Using TFTP A-10

    Preparing to Download or Upload a Configuration File B y Using TFTP A-11

    Downloading the Configuration File By Using TFTP A-11Uploading the Configuration File By Using TFTP A-12

    Copying Configuration Files By Using FTP A-12

    Preparing to Download or Upload a Configuration File By Using FTP A-13

    Downloading a Configuration File By Using FTP A-13

    Uploading a Configuration File By Using FTP A-15

    Copying Configuration Files By Using RCP A-15

    Preparing to Download or Upload a Configuration File By Using RCP A-16

    Downloading a Configuration File By Using RCP A-17

    Uploading a Configuration File By Using RCP A-18

    Clearing Configuration Information A-19

    Clearing the Startup Configuration File A-19

    Deleting a Stored Configuration File A-19

    Replacing and Rolling Back Configurations A-19

    Understanding Configuration Replacement and Rollback A-19

    Configuration Guidelines A-21

    Configuring the Configuration Archive A-21

    Performing a Configuration Replacement or Rollback Operation A-22

    Working with Software Images A-23

    Image Location on the Switch A-24tar File Format of Images on a Server or Cisco.com A-24

    Copying Image Files By Using TFTP A-25

    Preparing to Download or Upload an Image File By Using TFTP A-25

    Downloading an Image File By Using TFTP A-26

    Uploading an Image File By Using TFTP A-28

    Copying Image Files By Using FTP A-28

    Preparing to Download or Upload an Image File By Using FTP A-29

  • 7/27/2019 2950 - Configuration Guide

    34/1001

    Contents

    xxxiv

    Catalyst 2960 and 2960-S Switch Software Configuration Guide

    OL-8603-09

    Downloading an Image File By Using FTP A-30

    Uploading an Image File By Using FTP A-32

    Copying Image Files By Using RCP A-33

    Preparing to Download or Upload an Image File By Using RCP A-33

    Downloading an Image File By Using RCP A-34

    Uploading an Image File By Using RCP A-36

    Copying an Image File from One Stack Member to Another A-37

    APPENDIX B Supported MIBs B-1

    MIB List B-1

    Using FTP to Access the MIB Files B-4

    APPENDIX C Unsupported Commands in Cisco IOS Release 12.2(55)SE C-1

    Access Control Lists C-1

    Unsupported Privileged EXEC Commands C-1

    Unsupported Global Configuration Commands C-2

    Unsupported Route-Map Configuration Commands C-2

    Boot Loader Commands C-2

    Unsupported Global Configuration Commands C-2

    Debug Commands C-2

    Unsupported Privileged EXEC Commands C-2

    IGMP Snooping Commands C-2

    Unsupported Global Configuration Commands C-2

    Interface Commands C-3

    Unsupported Privileged EXEC Commands C-3

    Unsupported Global Configuration Commands C-3

    Unsupported Interface Configuration Commands C-3

    MAC Address Commands C-3

    Unsupported Privileged EXEC Commands C-3

    Unsupported Global Configuration Commands C-3

    Miscellaneous C-4

    Unsupported User EXEC Commands C-4Unsupported Privileged EXEC Commands C-4

    Unsupported Global Configuration Commands C-4

    Network Address Translation (NAT) Commands C-4

    Unsupported Privileged EXEC Commands C-4

    QoS C-4

    Unsupported Global Configuration Command C-4

  • 7/27/2019 2950 - Configuration Guide

    35/1001

    Contents

    xxxv

    Catalyst 2960 and 2960-S Switch Software Configuration Guide

    OL-8603-09

    Unsupported Interface Configuration Commands C-5

    Unsupported Policy-Map Configuration Command C-5

    RADIUS C-5

    Unsupported Global Configuration Commands C-5

    SNMP C-5

    Unsupported Global Configuration Commands C-5

    SNMPv3 C-6

    Unsupported 3DES Encryption Commands C-6

    Spanning Tree C-6

    Unsupported Global Configuration Command C-6

    Unsupported Interface Configuration Command C-6

    VLAN C-6

    Unsupported Global Configuration Command C-6

    Unsupported vlan-config Command C-6

    Unsupported User EXEC Commands C-6

    Unsupported vlan-config Command C-6

    Unsupported VLAN Database Commands C-7

    VTP C-7

    Unsupported Privileged EXEC Commands C-7

    APPENDIX D Recommendations for Upgrading a Catalyst 2950 Switch to a Catalyst 2960 Switch D-1

    Configuration Compatibility Issues D-1

    Feature Behavior Incompatibilities D-5

    INDEX

  • 7/27/2019 2950 - Configuration Guide

    36/1001

    Contents

    xxxvi

    Catalyst 2960 and 2960-S Switch Software Configuration Guide

    OL-8603-09

  • 7/27/2019 2950 - Configuration Guide

    37/1001

    xxxvii

    Catalyst 2960 and 2960-S Switch Software Configuration Guide

    OL-8603-09

    Preface

    AudienceThis guide is for the networking professional managing the Catalyst 2960 and 2960-S switches,

    hereafter referred to as the switch. Before using this guide, you should have experience working with the

    Cisco IOS software and be familiar with the concepts and terminology of Ethernet and local areanetworking.

    PurposeThis guide provides the information that you need to configure Cisco IOS software features on your

    switch.

    Catalyst 2960 and 2960-S switches run one of these images:

    The LAN base software image provides enterprise-class intelligent services such as access control

    lists (ACLs) and quality of service (QoS) features. On a Catalyst 2960-S switch, stacking is also

    supported. The LAN Lite image provides reduced functionality.

    The Catalyst 2960-S ships with a universal image that includes cryptographic functionality. The software

    image on the switch is either the LAN base or LAN Lite image, depending on the switch model. To

    determine which image your switch is running:

    Switches running the LAN Lite image do not support the FlexStack module. They do not have a

    FlexStack module slot on the rear of the switch.

    On the front of the switch, the label in the top right corner ends in -S if the switch model runs the

    LAN Lite image.

    Enter the show version privileged EXEC command. The line that shows the product ID also ends in

    either -L (if running the LAN base image) or -S (if running the LAN Lite image). For example,

    WS-C2960S-48PD-L is running LAN base; WS-C2960S-24TS-S is running LAN Lite image.

  • 7/27/2019 2950 - Configuration Guide

    38/1001

    xxxviii

    Catalyst 2960 and 2960-S Switch Software Configuration Guide

    OL-8603-09

    Preface

    Enter the show license privileged EXEC command, and see which is the active image:

    Switch# show license

    Index 1 Feature: lanlite

    Period left: 0 minute 0 secondIndex 2 Feature: lanbase

    Period left: Life time

    License Type: PermanentLicense State: Active, In UseLicense Priority: Medium

    License Count: Non-Counted

    This guide provides procedures for using the commands that have been created or changed for use with

    the switch. It does not provide detailed information about these commands. For detailed information

    about these commands, see the Catalyst 2960 and 2960-S Switch Command Reference for this release.

    For information about the standard Cisco IOS Release 12.2 commands, see the Cisco IOS documentation

    set available from the Cisco.com home page at Documentation > Cisco IOS Software.

    This guide does not provide detailed information on the graphical user interfaces (GUIs) for the

    embedded device manager or for Cisco Network Assistant (hereafter referred to as Network Assistant)

    that you can use to manage the switch. However, the concepts in this guide are applicable to the GUI

    user. For information about the device manager, see the switch online help. For information aboutNetwork Assistant, see Getting Started with Cisco Network Assistant, available on Cisco.com.

    This guide does not describe system messages you might encounter or how to install your switch. For

    more information, see the Catalyst 2960 and 2960-S Switch System Message Guide for this release and

    the Catalyst 2960 and 2960-S Switch Hardware Installation Guide.

    For documentation updates, see the release notes for this release.

    ConventionsThis publication uses these conventions to convey instructions and information:

    Command descriptions use these conventions:

    Commands and keywords are in boldface text.

    Arguments for which you supply values are in italic.

    Square brackets ([ ]) mean optional elements.

    Braces ({ }) group required choices, and vertical bars ( | ) separate the alternative elements.

    Braces and vertical bars within square brackets ([{ | }]) mean a required choice within an optional

    element.

    Interactive examples use these conventions:

    Terminal sessions and system displays are in screen font.

    Information you enter is in boldface screen font.

    Nonprinting characters, such as passwords or tabs, are in angle brackets (< >).

    Notes, cautions, and timesavers use these conventions and symbols:

    Note Means reader take note. Notes contain helpful suggestions or references to materials not contained in

    this manual.

  • 7/27/2019 2950 - Configuration Guide

    39/1001

    xxxix

    Catalyst 2960 and 2960-S Switch Software Configuration Guide

    OL-8603-09

    Preface

    Caution Means reader be careful. In this situation, you might do something that could result in equipment

    damage or loss of data.

    Related PublicationsThese documents provide complete information about the switch and are available from this Cisco.com

    site:http://www.cisco.com/en/US/products/ps6406/tsd_products_support_series_home.html

    Note Before installing, configuring, or upgrading the switch, see these documents:

    For initial configuration information, see the Using Express Setup section in the getting started

    guide or the Configuring the Switch with the CLI-Based Setup Program appendix in the hardware

    installation guide.

    For device manager requirements, see the System Requirements section in the release notes (notorderable but available on Cisco.com).

    For Network Assistant requirements, see the Getting Started with Cisco Network Assistant(not

    orderable but available on Cisco.com).

    For cluster requirements, see the Release Notes for Cisco Network Assistant (not orderable but

    available on Cisco.com).

    For upgrading information, see the Downloading Software section in the release notes.

    See these documents for other information about the switch:

    Release Notes for the Catalyst 3750, 3560, 2975, and 2960 Switches

    Catalyst 3750, 3560, 3550, 2975, 2975, 2970, and 2960 and 2960-S Switch System Message Guide

    Catalyst 2960 and 2960-S Switch Software Configuration Guide

    Catalyst 2960 and 2960-S Switch Command Reference

    Catalyst 2960 Switch Hardware Installation Guide

    Catalyst 2960-S Switch Hardware Installation Guide

    Catalyst 2960 Switch Getting Started Guide

    Catalyst 2960-S Switch Getting Started Guide

    Regulatory Compliance and Safety Information for the Catalyst 2960 and 2960-S Switches

    Auto Smartports Configuration Guide

    Cisco EnergyWise Configuration Guide

    Getting Started with Cisco Network Assistant

    Release Notes for Cisco Network Assistant

    Cisco RPS 300 Redundant Power System Hardware Installation Guide

    Cisco RPS 675 Redundant Power System Hardware Installation Guide

    Cisco Redundant Power System 2300 Hardware Installation Guide

    http://www.cisco.com/en/US/products/ps6406/tsd_products_support_series_home.htmlhttp://www.cisco.com/en/US/products/ps6406/tsd_products_support_series_home.html
  • 7/27/2019 2950 - Configuration Guide

    40/1001

    xl

    Catalyst 2960 and 2960-S Switch Software Configuration Guide

    OL-8603-09

    Preface

    For information about the Network Admission Control (NAC) features, see theNetwork Admission

    ControlSoftware Configuration Guide

    Information about Cisco SFP, SFP+, and GBIC modules is available from this Cisco.com site:http://www.cisco.com/en/US/products/hw/modules/ps5455/prod_installation_guides_list.html

    SFP compatibility matrix documents are available from this Cisco.com site: http://www.cisco.com/en/US/products/hw/modules/ps5455/products_device_support_tables_list.html

    Obtaining Documentation, Obtaining Support, and SecurityGuidelines

    For information on obtaining documentation, submitting a service request, and gathering additional

    information, see the monthly Whats New in Cisco Product Documentation, which also lists all new and

    revised Cisco technical documentation:http://www.cisco.com/en/US/docs/general/whatsnew/whatsnew.html

    Subscribe to the Whats New in Cisco Product Documentation as a Really Simple Syndication (RSS) feed

    and set content to be delivered directly to your desktop using a reader application. The RSS feeds are a free

    service and Cisco currently supports RSS version 2.0.

    http://www.cisco.com/en/US/products/hw/modules/ps5455/prod_installation_guides_list.htmlhttp://www.cisco.com/en/US/products/hw/modules/ps5455/products_device_support_tables_list.htmlhttp://www.cisco.com/en/US/products/hw/modules/ps5455/products_device_support_tables_list.htmlhttp://www.cisco.com/en/US/products/hw/modules/ps5455/products_device_support_tables_list.htmlhttp://www.cisco.com/en/US/docs/general/whatsnew/whatsnew.htmlhttp://www.cisco.com/en/US/products/hw/modules/ps5455/products_device_support_tables_list.htmlhttp://www.cisco.com/en/US/products/hw/modules/ps5455/products_device_support_tables_list.htmlhttp://www.cisco.com/en/US/products/hw/modules/ps5455/prod_installation_guides_list.htmlhttp://www.cisco.com/en/US/docs/general/whatsnew/whatsnew.html
  • 7/27/2019 2950 - Configuration Guide

    41/1001

    C H A P T E R

    1-1

    Catalyst 2960 and 2960-S Switch Software Configuration Guide

    OL-8603-09

    1Overview

    This chapter provides these topics about the Catalyst 2960 and 2960-S switch software:

    Features, page 1-1

    Default Settings After Initial Switch Configuration, page 1-16

    Network Configuration Examples, page 1-18

    Where to Go Next, page 1-24

    Unless otherwise noted, the term switch refers to a standalone switch and to a switch stack.

    In this document, IP refers to IP Version 4 (IPv4) unless there is a specific reference to IP Version 6

    (IPv6).

    FeaturesSome features described in this chapter are available only on the cryptographic (supports encryption)

    version of the software. You must obtain authorization to use this feature and to download the

    cryptographic version of the software from Cisco.com. For more information, see the release notes forthis release.

    Ease-of-Deployment and Ease-of-Use Features, page 1-2

    Performance Features, page 1-4

    Management Options, page 1-5

    Manageability Features, page 1-6

    Availability and Redundancy Features, page 1-8

    VLAN Features, page 1-9

    Security Features, page 1-10

    QoS and CoS Features, page 1-13

    Power over Ethernet Features, page 1-15

    Monitoring Features, page 1-15

  • 7/27/2019 2950 - Configuration Guide

    42/1001

    1-2

    Catalyst 2960 and 2960-S Switch Software Configuration Guide

    OL-8603-09

    Chapter 1 Overview

    Features

    Ease-of-Deployment and Ease-of-Use Features

    Express Setup for quickly configuring a switch for the first time with basic IP information, contact

    information, switch and Telnet passwords, and Simple Network Management Protocol (SNMP)

    information through a browser-based program. For more information about Express Setup, see the

    getting started guide. User-defined and Cisco-default Smartports macros for creating custom switch configurations for

    simplified deployment across the network.

    An embedded device manager GUI for configuring and monitoring a single switch through a web

    browser. For information about launching the device manager, see the getting started guide. For more

    information about the device manager, see the switch online help.

    Cisco Network Assistant (hereafter referred to as Network Assistant) for

    Managing communities, which are device groups like clusters, except that they can contain

    routers and access points and can be made more secure.

    Simplifying and minimizing switch, switch stack, and switch cluster management from

    anywhere in your intranet.

    Simplifying and minimizing switch and switch cluster management from anywhere in your

    intranet.

    Accomplishing multiple configuration tasks from a single graphical interface without needing

    to remember command-line interface (CLI) commands to accomplish specific tasks.

    Interactive guide mode that guides you in configuring complex features such as VLANs, ACLs,

    and quality of service (QoS).

    Note If the switch is running the LAN Lite image, you can configure ACLs, but you cannot attach

    them to interfaces or VLANs.

    Configuration wizards that prompt you to provide only the minimum required information toconfigure complex features such as QoS priorities for traffic, priority levels for data

    applications, and security.

    Downloading an image to a switch.

    Applying actions to multiple ports and multiple switches at the same time, such as VLAN and

    QoS settings, inventory and statistic reports, link- and switch-level monitoring and

    troubleshooting, and multiple switch software upgrades.

    Viewing a topology of interconnected devices to identify existing switch clusters and eligible

    switches that can join a cluster and to identify link information between switches.

    Monitoring real-time status of a switch or multiple switches from the LEDs on the front-panel

    images. The system, redundant power system (RPS), and port LED colors on the images are

    similar to those used on the physical LEDs.

    Note To use the RPS, the switch must be running the LAN Base image.

    Note The Network Assistant must be downloaded from cisco.com/go/cna.

    http://localhost/var/www/apps/conversion/tmp/scratch_6/cisco.com/go/cnahttp://localhost/var/www/apps/conversion/tmp/scratch_6/cisco.com/go/cna
  • 7/27/2019 2950 - Configuration Guide

    43/1001

    1-3

    Catalyst 2960 and 2960-S Switch Software Configuration Guide

    OL-8603-09

    Chapter 1 Overview

    Features

    Cisco FlexStack technology on Catalyst 2960-S switches running the LAN base image for

    Connecting up to four switches through their FlexStack ports to operate as a single switch in the

    network.

    Creating a bidirectional 20-Gb/s switching fabric across the switch stack, with all stack

    members having full access to the system bandwidth.

    Using a single IP address and configuration file to manage the entire switch stack.

    Automatic Cisco IOS version-check of new stack members with the option to automatically load

    images from the stack master or from a TFTP server.

    Adding, removing, and replacing switches in the stack without disrupting the operation of the

    stack.

    Provisioning a new member for a switch stack with the offline configuration feature. You can

    configure in advance the interface configuration for a specific stack member number and for a

    specific switch type of a new switch that is not part of the stack. The switch stack retains this

    information across stack reloads whether or not the provisioned switch is part of the stack.

    Displaying stack-ring activity statistics (the number of frames sent by each stack member to the

    ring).

    Switch clustering technology for

    Unified configuration, monitoring, authentication, and software upgrade of multiple,

    cluster-capable switches, regardless of their geographic proximity and interconnection media,

    including Ethernet, Fast Ethernet, Fast EtherChannel, small form-factor pluggable (SFP)

    modules, Gigabit Ethernet, and Gigabit EtherChannel connections. For a list of cluster-capable

    switches, see the release notes.

    Automatic discovery of candidate switches and creation of clusters of up to 16 switches that can

    be managed through a single IP address.

    Extended discovery of cluster candidates that are not directly connected to the command switch

    Stack troubleshooting enhancements

    Auto Smartports

    Cisco-default and user-defined macros for dynamic port configuration based on the device type

    detected on the port.

    Enhancements to add support for global macros, last-resort macros, event trigger control, access

    points, EtherChannels, auto-QoS with Cisco Medianet, and IP phones.

    Enhancements to add support for macro persistency, LLDP-based triggers, MAC address and

    OUI-based triggers, remote macros as well as for automatic configuration based on these two

    new device types: Cisco Digital Media Player (Cisco DMP) and Cisco IP Video Surveillance

    Camera (Cisco IPVSC).

    For information, see the Auto Smartports Configuration Guide.

    Smart Install to allow a single point of management (director) in a network. You can use SmartInstall to provide zero touch image and configuration upgrade of newly deployed switches and

    image and configuration downloads for any client switches. For more information, see the Cisco

    Smart Install Configuration Guide.

    Smart Install enhancements in Cisco IOS Release 12.2(55)SE supporting client backup files,

    zero-touch replacement for clients with the same product-ID, automatic generation of the image list

    file, configurable file repository, hostname changes, transparent connection of the director to client,

    and USB storage for image and seed configuration.

  • 7/27/2019 2950 - Configuration Guide

    44/1001

    1-4

    Catalyst 2960 and 2960-S Switch Software Configuration Guide

    OL-8603-09

    Chapter 1 Overview

    Features

    Performance Features

    Cisco EnergyWise manages the energy usage of end points including power over Ethernet (PoE)

    devices and non-Cisco devices. For information, see the Cisco EnergyWise Configuration Guide.

    Autosensing of port speed and autonegotiation of duplex mode on all switch ports for optimizing

    bandwidth.

    Automatic-medium-dependent interface crossover (auto-MDIX) capability on 10/100 and

    10/100/1000 Mb/s interfaces and on 10/100/1000 BASE-TX SFP module interfaces that enables the

    interface to automatically detect the required cable connection type (straight-through or crossover)

    and to configure the connection appropriately.

    SFP+ support for 10Gigabit speeds (Catalyst 2960-S only)

    Support for up to 9000 bytes for frames that are bridged in hardware and up to 2000 bytes for frames

    that are bridged by software

    IEEE 802.3x flow control on all ports (the switch does not send pause frames).

    Up to 20 Gb/s of forwarding rates in a Catalyst 2960-S switch stack.

    EtherChannel for enhanced fault tolerance and for providing up to 8 Gb/s (Gigabit EtherChannel)or 800 Mb/s (Fast EtherChannel) full-duplex bandwidth among switches, routers, and servers.

    Port Aggregation Protocol (PAgP) and Link Aggregation Control Protocol (LACP) for automatic

    creation of EtherChannel links.

    Forwarding of Layer 2 packets at Gigabit line rate across the switches in the stack.

    Forwarding of Layer 2 packets at Gigabit line rate

    Per-port storm control for preventing broadcast, multicast, and unicast storms.

    Port blocking on forwarding unknown Layer 2 unknown unicast, multicast, and bridged broadcast

    traffic.

    Internet Group Management Protocol (IGMP) snooping for IGMP Versions 1, 2, and 3 for

    efficiently forwarding multimedia and multicast traffic IGMP report suppression for sending only one IGMP report per multicast router query to the

    multicast devices (supported only for IGMPv1 or IGMPv2 queries).

    IGMP snooping querier support to configure switch to generate periodic IGMP general query

    messages.

    IPv6 host support for basic IPv6 management

    Multicast Listener Discovery (MLD) snooping to enable efficient distribution of IP version 6 (IPv6)

    multicast data to clients and routers in a switched network

    Note To use IPv6 features, the switch must be running the LAN Base image.

    Multicast VLAN registration (MVR) to continuously send multicast streams in a multicast VLAN

    while isolating the streams from subscriber VLANs for bandwidth and security reasons.

    Note To use MVR, the switch must be running the LAN Base image.

    IGMP filtering for controlling the set of multicast groups to which hosts on a switch port can belong.

  • 7/27/2019 2950 - Configuration Guide

    45/1001

    1-5

    Catalyst 2960 and 2960-S Switch Software Configuration Guide

    OL-8603-09

    Chapter 1 Overview

    Features

    IGMP throttling for configuring the action when the maximum number of entries is in the IGMP

    forwarding table.

    IGMP leave timer for configuring the leave latency for the network.

    Switch Database Management (SDM) templates for allocating system resources to maximize

    support for user-selected features.

    Support for Cisco IOS IP Service Level Agreements (SLAs) responder that allows the system to

    anticipate and respond to Cisco IOS IP SLAs request packets for monitoring network performance.

    Configurable small-frame arrival threshold to prevent storm control when small frames (64 bytes or

    less) arrive on an interface at a specified rate (the threshold).

    Flex Link Multicast Fast Convergence to reduce the multicast traffic convergence time after a Flex

    Link failure.

    Note To use Flex Link Multicast Fast Convergence, the switch must be running the LAN Base image

    RADIUS server load balancing to allow access and authentication requests to be distributed evenly

    across a server group. Support for QoS marking of CPU-generated traffic and queue CPU-generated traffic on the egress

    network ports.

    Memory consistency check routines to detect and correct invalid ternary content addressable

    memory (TCAM) table entries.

    Note This command is not supported on the Catalyst 2960-S switches.

    Management Options

    An embedded device managerThe device manager is a GUI that is integrated in the softwareimage. You use it to configure and to monitor a single switch. For information about launching the

    device manager, see the getting started guide. For more information about the device manager, see the

    switch online help.

    Network AssistantNetwork Assistant is a network management application that can be

    downloaded from Cisco.com. You use it to manage a single switch, a cluster of switches, or a

    community of devices. For more information about Network Assistant, see Getting Started with

    Cisco Network Assistant, available on Cisco.com.

    CLIThe Cisco IOS software supports desktop- and multilayer-switching features. You can access

    the CLI by connecting your management station directly to the switch console port, by connecting

    your PC directly to the Ethernet management port, or by using Telnet from a remote management

    station or PC. You can manage the switch stack by connecting to the console port or Ethernet

    management port of any stack member. For more information about the CLI, see Chapter 2, Using

    the Command-Line Interface.

    SNMPSNMP management applications such as CiscoWorks2000 LAN Management Suite (LMS)

    and HP OpenView. You can manage from an SNMP-compatible management station that is running

    platforms such as HP OpenView or SunNet Manager. The switch supports a comprehensive set of

    MIB extensions and four remote monitoring (RMON) groups. For more information about using

    SNMP, see Chapter 30, Configuring SNMP.

  • 7/27/2019 2950 - Configuration Guide

    46/1001

    1-6

    Catalyst 2960 and 2960-S Switch Software Configuration Guide

    OL-8603-09

    Chapter 1 Overview

    Features

    Cisco IOS Configuration Engine (previously known to as the Cisco IOS CNS

    agent)-Configuration service automates the deployment and management of network devices and

    services. You can automate initial configurations and configuration updates by generating

    switch-specific configuration changes, sending them to the switch, executing the configuration

    change, and logging the results.

    For more information about CNS, see Chapter 4, Configuring Cisco IOS Configuration Engine.

    Manageability Features

    CNS embedded agents for automating switch management, configuration storage, and delivery

    DHCP for automating configuration of switch information (such as IP address, default gateway,

    hostname, and Domain Name System [DNS] and TFTP server names)

    DHCP relay for forwarding User Datagram Protocol (UDP) broadcasts, including IP address

    requests, from DHCP clients

    DHCP server for automatic assignment of IP addresses and other DHCP options to IP hosts

    DHCP-based autoconfiguration and image update to download a specified configuration a newimage to a large number of switches

    DHCP server port-based address allocation for the preassignment of an IP address to a switch port