hit counter script
Cisco Catalyst 2960-XR Configuration Manual

Cisco Catalyst 2960-XR Configuration Manual

Switch interface and hardware component
Hide thumbs Also See for Catalyst 2960-XR:
Table of Contents

Advertisement

Catalyst 2960-XR Switch Interface and Hardware Component
Configuration Guide, Cisco IOS Release 15.0(2)EX1
First Published: August 08, 2013
Americas Headquarters
Cisco Systems, Inc.
170 West Tasman Drive
San Jose, CA 95134-1706
USA
http://www.cisco.com
Tel: 408 526-4000
800 553-NETS (6387)
Fax: 408 527-0883
Text Part Number: OL-29420-01

Advertisement

Table of Contents
loading

Summary of Contents for Cisco Catalyst 2960-XR

  • Page 1 Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 First Published: August 08, 2013 Americas Headquarters Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706 http://www.cisco.com Tel: 408 526-4000 800 553-NETS (6387) Fax: 408 527-0883...
  • Page 2 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: www.cisco.com/go/trademarks . Third-party trademarks 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.
  • Page 3: Table Of Contents

    Accessing the CLI through a Console Connection or through Telnet Configuring Interface Characteristics C H A P T E R 2 Finding Feature Information Information About Configuring Interface Characteristics Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 4 Configuring IEEE 802.3x Flow Control Configuring Layer 3 Interfaces Configuring SVI Autostate Exclude Shutting Down and Restarting the Interface Configuring the Console Media Type Configuring the USB Inactivity Timeout Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 5 Ethernet Management Port Connection to Stack Switches using a Hub Ethernet Management Port and Routing Supported Features on the Ethernet Management Port How to Configure the Ethernet Management Port Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 6 Configuring System MTU C H A P T E R 6 Finding Feature Information Information about the MTU System MTU Values System MTU Guidelines How to Configure MTU Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 7 Configuring Power Policing Monitoring Power Status Configuration Examples for Configuring PoE Budgeting Power: Example Feature Information for PoE Configuring EEE C H A P T E R 9 Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 8 Restrictions for EEE How to Configure EEE Enabling or Disabling EEE Monitoring EEE Configuration Examples for Configuring EEE Additional References Feature History and Information for Configuring EEE Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 viii OL-29420-01...
  • Page 9: Preface

    A vertical line, called a pipe, indicates a choice within a set of keywords or arguments. Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 10 Means the described action saves time. You can save time by performing the action described in the Timesaver paragraph. Warning Means reader be warned. In this situation, you might perform an action that could result in bodily injury. Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 11: Related Documentation

    Obtaining Documentation and Submitting a Service Request For information on obtaining documentation, submitting a service request, and gathering additional information, see the monthly What's New in Cisco Product Documentation, which also lists all new and revised Cisco technical documentation, at: http://www.cisco.com/en/US/docs/general/whatsnew/whatsnew.html...
  • Page 12 Preface Obtaining Documentation and Submitting a Service Request Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 13: Using The Command-Line Interface

    Command Modes The Cisco IOS user interface is divided into many different modes. The commands available to you depend on which mode you are currently in. Enter a question mark (?) at the system prompt to obtain a list of commands available for each command mode.
  • Page 14 (with a Ethernet ports. To return to specific interface). privileged EXEC mode, press Ctrl-Z or enter end. Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 15: Using The Help System

    Obtains a list of commands that begin with a particular character string. Example: Switch# di? dir disable disconnect Step 3 abbreviated-command-entry <Tab> Completes a partial command name. Example: Switch# sh conf<tab> Switch# show configuration Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 16: Understanding Abbreviated Commands

    CLI Error Messages This table lists some error messages that you might encounter while using the CLI to configure your switch. Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 17: Configuration Logging

    The software provides a history or record of commands that you have entered. The command history feature is particularly useful for recalling long or complex commands or entries, including access lists. You can customize this feature to suit your needs. Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 18: Changing The Command History Buffer Size

    Returns to more recent commands in the history buffer after recalling commands with Ctrl-P or the up arrow key. Repeat the key sequence to recall successively more recent commands. Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 19: Disabling The Command History Feature

    Command or Action Purpose Step 1 terminal editing Reenables the enhanced editing mode for the current terminal session in the privileged EXEC mode. Example: Switch# terminal editing Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 20: Editing Commands Through Keystrokes

    Ctrl-U or Ctrl-X Deletes all characters from the cursor to the beginning of the command line. Ctrl-W Deletes the word to the left of the cursor. Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 21: Editing Command Lines That Wrap

    The following example shows how to wrap a command line that extend beyond a single line on the screen. SUMMARY STEPS 1. access-list 2. Ctrl-A 3. Return key Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 22: Searching And Filtering Output Of Show And More Commands

    1. {show | more} command | {begin | include | exclude} regular-expression DETAILED STEPS Command or Action Purpose Step 1 {show | more} command | {begin | include | exclude} Searches and filters the output. regular-expression Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 23: Accessing The Cli Through A Console Connection Or Through Telnet

    After you connect through the console port, through the Ethernet management port, through a Telnet session or through an SSH session, the user EXEC prompt appears on the management station. Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 24 Using the Command-Line Interface Accessing the CLI through a Console Connection or through Telnet Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 25: Configuring Interface Characteristics

    Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to http://www.cisco.com/go/cfn. An account on Cisco.com is not required.
  • Page 26: Port-Based Vlans

    • VLAN membership of dynamic access ports is learned through incoming packets. By default, a dynamic access port is not a member of any VLAN, and forwarding to and from the port is enabled only when Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 27: Trunk Ports

    VMPS server. You can also configure an access port with an attached Cisco IP Phone to use one VLAN for voice traffic and another VLAN for data traffic from a device attached to the phone.
  • Page 28: Switch Virtual Interfaces

    The line state of an SVI with multiple ports on a VLAN is in the up state when it meets these conditions: • The VLAN exists and is active in the VLAN database on the switch • The VLAN interface exists and is not administratively down. Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 29: Etherchannel Port Groups

    A PoE-capable switch port automatically supplies power to one of these connected devices if the switch senses that there is no power on the circuit: • a Cisco pre-standard powered device (such as a Cisco IP Phone or a Cisco Aironet Access Point) • an IEEE 802.3af-compliant powered device •...
  • Page 30: Using The Switch Usb Ports

    *Mar 1 00:01:00.431: %USB_CONSOLE-6-MEDIA_USB: Console media-type is USB. switch-stack-2 *Mar 1 00:01:09.835: %USB_CONSOLE-6-MEDIA_RJ45: Console media-type is RJ45. switch-stack-3 *Mar 1 00:01:10.523: %USB_CONSOLE-6-MEDIA_RJ45: Console media-type is RJ45. Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 31: Usb Type A Ports

    The USB Type A ports provide access to external USB flash devices, also known as thumb drives or USB keys. The switch supports Cisco 64 MB, 256 MB, 512 MB, 1 GB, 4 GB, and 8 GB flash drives. You can use standard Cisco IOS command- line interface (CLI) commands to read, write, erase, and copy to or from the flash device.
  • Page 32: Interface Configuration Mode

    • Stack member number—The number that identifies the switch within the stack. The range is 1 to 8 for a stack of Catalyst 2960-XR switches. The switch number is assigned the first time the switch initializes. The default switch number, before it is integrated into a switch stack, is 1. When a switch has been assigned a stack member number, it keeps that number until another is assigned to it.
  • Page 33: Default Ethernet Interface Configuration

    Port blocking (unknown multicast and unknown Disabled (not blocked). unicast traffic) Broadcast, multicast, and unicast storm control Disabled. Protected port Disabled. Port security Disabled. Port Fast Disabled. Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 34: Interface Speed And Duplex Mode

    • If one interface supports autonegotiation and the other end does not, configure duplex and speed on both interfaces; do not use the auto setting on the supported side. Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 35: Ieee 802.3X Flow Control

    VLAN ID following the interface vlan global configuration command. To delete an SVI, use the no interface vlan global configuration command. You cannot delete interface VLAN 1. Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 36: How To Configure Interface Characteristics

    How to Configure Interface Characteristics Configuring Interfaces Procedure These general instructions apply to all interface configuration processes. Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 37: Adding A Description For An Interface

    Example: Adding a Description for an Interface SUMMARY STEPS 1. configure terminal 2. interface interface-id 3. description string 4. end 5. show interfaces interface-id description Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 38: Configuring A Range Of Interfaces

    SUMMARY STEPS 1. configure terminal 2. interface range {port-range | macro macro_name} 3. end 4. show interfaces [interface-id] Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 39: Configuring And Using Interface Range Macros

    Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 40 Returns to privileged EXEC mode. Example: Switch(config)# end Step 5 show running-config | include define Shows the defined interface range macro configuration. Example: Switch# show running-config | include define Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 41: Configuring Ethernet Interfaces

    • The nonegotiate keyword is available only for SFP module ports. SFP module ports operate only at 1000 Mb/s but can be configured Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 42: Configuring Ieee 802.3X Flow Control

    Configuring IEEE 802.3x Flow Control SUMMARY STEPS 1. configure terminal 2. interface interface-id 3. flowcontrol {receive} {on | off | desired} 4. end 5. show interfaces interface-id Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 43: Configuring Layer 3 Interfaces

    2. interface {gigabitethernet interface-id} | {vlan vlan-id} | {port-channel port-channel-number} 3. no switchport 4. ip address ip_address subnet_mask 5. no shutdown 6. end 7. show interfaces [interface-id] Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 44 Enables the interface. Example: Switch(config-if)# no shutdown Step 6 Returns to privileged EXEC mode. Example: Switch(config-if)# end Step 7 Verifies the configuration. show interfaces [interface-id] Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 45: Configuring Svi Autostate Exclude

    Step 4 Returns to privileged EXEC mode. Example: Switch(config-if)# end Step 5 show running config interface interface-id (Optional) Shows the running configuration. Verifies the configuration. Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 46: Shutting Down And Restarting The Interface

    Shuts down an interface. Example: Switch(config-if)# shutdown Step 4 Restarts an interface. no shutdown Example: Switch(config-if)# no shutdown Step 5 Returns to privileged EXEC mode. Example: Switch(config-if)# end Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 47: Configuring The Console Media Type

    USB port is used by default. Example: Switch(config-line)# media-type rj45 Step 4 Returns to privileged EXEC mode. Example: Switch(config)# end Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 48: Configuring The Usb Inactivity Timeout

    Specify an inactivity timeout for the console port. The range is 1 to 240 minutes. The default is to have no timeout configured. Example: Switch(config-line)# usb-inactivity-timeout 30 Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 49: Monitoring Interface Characteristics

    Displays physical and operational status about an SFP module. properties | detail}] module number] show running-config interface [interface-id] Displays the running configuration in RAM for the interface. Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 50: Clearing And Resetting Interfaces And Counters

    Switch(config)# interface gigabitethernet1/0/2 Switch(config-if)# description Connects to Marketing Switch(config-if)# end Switch# show interfaces gigabitethernet1/0/2 description Interface Status Protocol Description Gi1/0/2 admin down down Connects to Marketing Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 51: Identifying Interfaces On A Stack-Capable Switch: Examples

    - 7, tengigabitethernet1/0/1 -2 Switch(config)# end This example shows how to enter interface-range configuration mode for the interface-range macro enet_list: Switch# configure terminal Switch(config)# interface range macro enet_list Switch(config-if-range)# Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 52: Setting Interface Speed And Duplex Mode: Example

    If a USB console cable is connected to switch 2, it is prevented from providing input. *Mar 1 00:34:27.498: %USB_CONSOLE-6-CONFIG_DISALLOW: Console media-type USB is disallowed by system configuration, media-type remains RJ45. (switch-stk-2) Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 53: Configuring The Usb Inactivity Timeout: Example

    All supported MIBs for this release. To locate and download MIBs for selected platforms, Cisco IOS releases, and feature sets, use Cisco MIB Locator found at the following URL: http://www.cisco.com/go/mibs Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 54: Feature History And Information For Configuring Interface Characteristics

    Access to most tools on the Cisco Support website requires a Cisco.com user ID and password. Feature History and Information for Configuring Interface Characteristics Release Modification Cisco IOS 15.0(2)EX1 This feature was introduced. Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 55: Configuring Auto-Mdix

    (SFP)-module interfaces. It is not supported on 1000BASE-SX or -LX SFP module interfaces. Restrictions for Auto-MDIX The switch might not support a pre-standard powered device—such as Cisco IP phones and access points that do not fully support IEEE 802.3af—if that powered device is connected to the switch through a crossover cable.
  • Page 56: Information About Configuring Auto-Mdix

    How to Configure Auto-MDIX Configuring Auto-MDIX on an Interface SUMMARY STEPS 1. configure terminal 2. interface interface-id 3. speed auto 4. duplex auto 5. mdix auto 6. end Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 57: Monitoring Auto-Mdix

    Step 5 mdix auto Enables auto-MDIX on the interface. Example: mdix auto Switch(config-if)# Step 6 Returns to privileged EXEC mode. Example: Switch(config-if)# Monitoring Auto-MDIX Command Purpose Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 58: Example For Configuring Auto-Mdix

    Switch(config-if)# speed auto Switch(config-if)# duplex auto Switch(config-if)# mdix auto Switch(config-if)# end Feature History and Information for Auto-MDIX Release Modification Cisco IOS 15.0(2)EX1 This feature was introduced. Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 59: Configuring Ethernet Management Port

    Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to http://www.cisco.com/go/cfn. An account on Cisco.com is not required.
  • Page 60: Ethernet Management Port Direct Connection To A Switch

    Even though the Ethernet management port does not support routing, you may need to enable routing protocols on the port. Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 61: Supported Features On The Ethernet Management Port

    • SMNP (only the ENTITY-MIB and the IF-MIB) • IP ping • Interface features ◦Speed—10 Mb/s, 100 Mb/s, and autonegotiation ◦Duplex mode—Full, half, and autonegotiation ◦ Loopback detection Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 62: How To Configure The Ethernet Management Port

    Step 2 interface fastethernet0 Specifies the Ethernet management port in the CLI. Example: Switch(config)# interface fastethernet0 Step 3 shutdown Disables the Ethernet management port. Example: Switch(config-if)# shutdown Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 63: Additional References

    All supported MIBs for this release. To locate and download MIBs for selected platforms, Cisco IOS releases, and feature sets, use Cisco MIB Locator found at the following URL: http://www.cisco.com/go/mibs Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 64: Feature Information For Ethernet Management Ports

    Access to most tools on the Cisco Support website requires a Cisco.com user ID and password. Feature Information for Ethernet Management Ports Release Modification Cisco IOS 15.0(2)EX1 This feature was introduced. Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 65: Configuring Lldp, Lldp-Med, And Wired Location Service

    LLDP, LLDP-MED, and Wired Location Service Overview LLDP The Cisco Discovery Protocol (CDP) is a device discovery protocol that runs over Layer 2 (the data link layer) on all Cisco-manufactured devices (routers, bridges, access servers, and switches). CDP allows network management applications to automatically discover and learn about other Cisco devices connected to the network.
  • Page 66: Lldp Supported Tlvs

    A switch stack appears as a single switch in the network. Therefore, LLDP discovers the switch stack, not the individual stack members. LLDP and Cisco Medianet When you configure LLDP or CDP location information on a per-port basis, remote devices can send Cisco Medianet location information to the switch. For information, go to http://www.cisco.com/en/US/docs/ios/ netmgmt/configuration/guide/nm_cdp_discover.html.
  • Page 67: Lldp-Med Supported Tlvs

    Provides the civic address information and postal information. Examples of civic location information are street address, road name, and postal community name information. ◦ ELIN location information Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 68: Wired Location Service

    The switch uses the location service feature to send location and attachment tracking information for its connected devices to a Cisco Mobility Services Engine (MSE). The tracked device can be a wireless endpoint, a wired endpoint, or a wired switch or controller. The switch notifies the MSE of device link up and link down events through the Network Mobility Services Protocol (NMSP) location and attachment notifications.
  • Page 69: Default Lldp Configuration

    • If you first configure a network-policy profile on an interface, you cannot apply the switchport voice vlan command on the interface. If the switchport voice vlan vlan-id is already configured on an interface, Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 70: How To Configure Lldp, Lldp-Med, And Wired Location Service

    Switch (config)# lldp run Step 3 interface interface-id Specifies the interface on which you are enabling LLDP, and enter interface configuration mode. Example: Switch (config)# interface Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 71: Configuring Lldp Characteristics

    Beginning in privileged EXEC mode, follow these steps to configure the LLDP characteristics. Note Steps 2 through 5 are optional and can be performed in any order. Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 72 The range is 5 to 65534 seconds; the default is 30 seconds. Switch(config)# lldp timer 30 Step 5 (Optional) Specifies the LLDP TLVs to send or receive. lldp tlv-select Example: Switch(config)# tlv-select Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 73: Configuring Lldp-Med Tlvs

    By using the lldp interface configuration command, you can configure the interface not to send the TLVs listed in the following table. Table 9: LLDP-MED TLVs LLDP-MED TLV Description inventory-management LLDP-MED inventory management TLV Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 74 Step 3 Specifies the TLV to enable. lldp med-tlv-select Example: Switch(config-if)# lldp med-tlv-select inventory management Step 4 Returns to privileged EXEC mode. Example: Switch(config-if)# end Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 75: Configuring Network-Policy Tlv

    Step 2 network-policy profile profile number Specifies the network-policy profile number, and enter network-policy configuration mode. The range is 1 to 4294967295. Example: Switch(config)# network-policy profile Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 76 Specifies the interface on which you are configuring a network-policy profile, and enter interface configuration mode. Example: Switch (config)# interface gigabitethernet2/0/1 Step 6 network-policy profile number Specifies the network-policy profile number. Example: Switch(config-if)# network-policy 1 Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 77: Configuring Location Tlv And Wired Location Service

    Configuring Location TLV and Wired Location Service Beginning in privileged EXEC mode, follow these steps to configure location information for an endpoint and to apply it to an interface. Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 78 Switch(config-civic)# county "Santa Clara" • host—Specifies the host civic, custom, or geo location. Switch(config-civic)# country US • string—Specifies the site or location information in alphanumeric format. Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 79 Step 7 Use one of the following: Verifies the configuration. • show location admin-tag string • show location civic-location identifier id • show location elin-location identifier id Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 80: Enabling Wired Location Service On The Switch

    4. show network-policy profile 5. copy running-config startup-config DETAILED STEPS Command or Action Purpose Step 1 configure terminal Enters global configuration mode. Example: Switch# configure terminal Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 81: Configuration Examples For Lldp, Lldp-Med, And Wired Location Service

    TLV on an interface: Switch# configure terminal Switch(config)# network-policy 1 Switch(config-network-policy)# voice vlan 100 cos 4 Switch(config-network-policy)# exit Switch(config)# interface gigabitethernet1/0/1 Switch(config-if)# network-policy profile 1 Switch(config-if)# lldp med-tlv-select network-policy Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 82: Monitoring And Maintaining Lldp, Lldp-Med, And Wired Location Service

    Displays the location information for the specified administrative tag or site. show location civic-location identifier id Displays the location information for a specific global civic location. Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 83: Additional References For Lldp, Lldp-Med, And Wired Location Service

    Notices), the Cisco Technical Services Newsletter, and Really Simple Syndication (RSS) Feeds. Access to most tools on the Cisco Support website requires a Cisco.com user ID and password. Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 84: Feature Information For Lldp, Lldp-Med, And Wired Location Service

    Feature Information for LLDP, LLDP-MED, and Wired Location Service Feature Information for LLDP, LLDP-MED, and Wired Location Service Release Modification Cisco IOS 15.0(2)EX1 This feature was introduced. Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 85: Configuring System Mtu

    Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to http://www.cisco.com/go/cfn. An account on Cisco.com is not required.
  • Page 86: System Mtu Guidelines

    Unlike the system MTU routing configuration, the MTU settings you enter with the system mtu and system mtu jumbo commands are not saved in the switch Cisco IOS configuration file, even if you enter the copy running-config startup-config privileged EXEC command. Therefore, if you use TFTP...
  • Page 87 Step 5 Returns to privileged EXEC mode. Example: Switch(config)# Step 6 copy running-config startup-config Saves your entries in the configuration file. Example: Switch# copy running-config startup-config Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 88: Configuration Examples For System Mtu

    All supported MIBs for this release. To locate and download MIBs for selected platforms, Cisco IOS releases, and feature sets, use Cisco MIB Locator found at the following URL: http://www.cisco.com/go/mibs Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 89: Feature Information For System Mtu

    Access to most tools on the Cisco Support website requires a Cisco.com user ID and password. Feature Information for System MTU Release Modification Cisco IOS 15.0(2)EX1 This feature was introduced. Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 90 Configuring System MTU Feature Information for System MTU Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 91: Configuring Internal Power Supplies

    | B} { Sets the specified power supply to off or on by using one of these off | on } keywords: Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 92: Monitoring Internal Power Supplies

    Disabling Power supply A may result in a power loss to PoE devices and/or switches ... Continue? (yes/[no]): yes Switch# Jun 10 04:52:54.389: %PLATFORM_ENV-6-FRU_PS_OIR: FRU Power Supply 1 powered off Jun 10 04:52:56.717: %PLATFORM_ENV-1-FAN_NOT_PRESENT: Fan is not present Switch# Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 93: Feature History And Information For Internal Power Supplies

    The power supply is not recognizable or is faulty. Failure-Fan The power supply fan is faulty. Feature History and Information for Internal Power Supplies Release Modification Cisco IOS 15.0(2)EX1 This feature was introduced. Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 94 Configuring Internal Power Supplies Feature History and Information for Internal Power Supplies Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 95: Configuring Poe

    A PoE-capable switch port automatically supplies power to one of these connected devices if the switch senses that there is no power on the circuit: • a Cisco pre-standard powered device (such as a Cisco IP Phone or a Cisco Aironet Access Point) • an IEEE 802.3af-compliant powered device •...
  • Page 96: Power Over Ethernet Ports

    CDP messages for an agreed-upon power-consumption level. The negotiation allows a high-power Cisco powered device, which consumes more than 7 W, to operate at its highest power mode. The powered device first boots up in low-power mode, consumes less than 7 W, and negotiates to obtain enough power to operate in high-power mode.
  • Page 97: Power Over Ethernet Ports

    After power is applied to the port, the switch uses CDP to determine the CDP-specific power consumption requirement of the connected Cisco powered devices, which is the amount of power to allocate based on the CDP messages. The switch adjusts the power budget accordingly. This does not apply to third-party PoE devices.
  • Page 98: Power Management Modes

    However, perform this task to configure a PoE port for a higher priority, to make it data only, or to specify a maximum wattage to disallow high-power powered devices on a port. Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 99: Power Monitoring And Power Policing

    2 Manually when you set the user-defined power level that limits the power allowed on the port by using the power inline auto max max-wattage or the power inline static max max-wattage interface configuration command Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 100: Power Consumption Values

    1. configure terminal 2. interface interface-id 3. power inline {auto [max max-wattage] | never | static [max max-wattage]} 4. end 5. show power inline [interface-id | module switch-number] Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 101 • never —Disables device detection, and disable power to the port. If a port has a Cisco powered device connected to it, do not use the Note power inline never command to configure the port. A false link-up can occur, placing the port into the error-disabled state.
  • Page 102: Budgeting Power For Devices Connected To A Poe Port

    Budgeting Power for Devices Connected to a PoE Port When Cisco powered devices are connected to PoE ports, the switch uses Cisco Discovery Protocol (CDP) to determine the CDP-specific power consumption of the devices, and the switch adjusts the power budget accordingly.
  • Page 103: Budgeting Power To A Specific Poe Port

    Perform this task to configure the amount of power budgeted to a powered device connected to a specific PoE port: SUMMARY STEPS 1. configure terminal 2. no cdp run 3. interface interface-id 4. power inline consumption wattage 5. end 6. show power inline consumption Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 104: Configuring Power Policing

    By default, the switch monitors the real-time power consumption of connected powered devices. You can configure the switch to police the power usage. By default, policing is disabled. Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 105: Configuring Power Policing

    • power inline police action errdisable—Turns off power to the port if the real-time power consumption exceeds the maximum power allocation on the port. Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 106 Displays the power monitoring status, and verify the error recovery settings. • show power inline police • show errdisable recovery Example: Switch# show power inline police Switch# show errdisable recovery Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 107: Monitoring Power Status

    Refer to documentation. Feature Information for PoE Release Modification Cisco IOS 15.0(2)EX1 This feature was introduced. Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 108: Feature Information For Poe

    Configuring PoE Feature Information for PoE Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 109: Configuring Eee

    Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to http://www.cisco.com/go/cfn. An account on Cisco.com is not required.
  • Page 110: Default Eee Configuration

    4. no power efficient-ethernet auto 5. end 6. copy running-config startup-config DETAILED STEPS Command or Action Purpose Step 1 configure terminal Enters global configuration mode. Example: Switch# configure terminal Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 111: Monitoring Eee

    Purpose show eee capabilities interface interface-id Displays EEE capabilities for the specified interface. show eee status interface interface-id Displays EEE status information for the specified interface. Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 112: Configuration Examples For Configuring Eee

    Notices), the Cisco Technical Services Newsletter, and Really Simple Syndication (RSS) Feeds. Access to most tools on the Cisco Support website requires a Cisco.com user ID and password. Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 113: Feature History And Information For Configuring Eee

    Configuring EEE Feature History and Information for Configuring EEE Feature History and Information for Configuring EEE Release Modification Cisco IOS 15.0(2)EX1 This feature was introduced. Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 114 Configuring EEE Feature History and Information for Configuring EEE Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01...
  • Page 115 LLDP default setting described 44, 47 devices supported 17, 83 high-power devices operating in low-power mode Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01 IN-1...
  • Page 116 17, 83, 84, 86, 87, 92 system routing 73, 74 auto mode CDP with power consumption, described CDP with power negotiation, described Cisco intelligent power management Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 IN-2 OL-29420-01...
  • Page 117 Index TLVs wired location service 55, 56, 65 defined configuring location TLV understanding unsupported features Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 OL-29420-01 IN-3...
  • Page 118 Index Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1 IN-4 OL-29420-01...

This manual is also suitable for:

Catalyst 2960-x

Table of Contents