Catalyst 2960-X Switch Interface and Hardware ComponentConfiguration Guide, Cisco IOS Release 15.0(2)EXFirst Published: July 10, 2013Americas Headquar
DescriptionConventionOptional alternative keywords are grouped in brackets and separated byvertical bars.[x | y]Required alternative keywords are grou
Monitoring Power StatusTable 11: Show Commands for InterfacesPurposeCommand(Optional) Displays the status of the internal powersupplies for each switc
CHAPTER 8Configuring EEEThis module contains the following sections:•Finding Feature Information, page 89•Information About EEE, page 89•Restrictions
power by shutting down certain services. EEE provides the protocol needed to transition into and out of LPImode in a way that is transparent to upper
PurposeCommand or ActionSpecifies the interface to be configured, and enterinterface configuration mode.interface interface-idExample:Switch(config)#
Configuration Examples for Configuring EEEThis example shows how to enable EEE for an interface:Switch# configure terminalSwitch(config)# interface gi
Feature History and Information for Configuring EEEModificationReleaseThis feature was introduced.Cisco IOS Release 15.0(2)EXCatalyst 2960-X Switch In
Catalyst 2960-X Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX94 OL-29034-01 Configuring EEEFeature Hist
INDEXAactive link 45and routing 45and routing protocols 45auto mode 78auto-MDIX 42configuring 42described 42auto-MDIX, configuring 42BBudgeting Power
IIEEE power classification levels 77interface 88interfaces 42auto-MDIX, configuring 42inventory management TLV 53LLLDP 51, 55, 56, 57transmission time
Related DocumentationBefore installing or upgrading the switch, refer to the release notes.Note• Catalyst 2960-X Switch, located at http://www.cisco.c
Catalyst 2960-X Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EXxii OL-29034-01 PrefaceObtaining Documenta
CHAPTER 1Using the Command-Line InterfaceThis chapter contains the following topics:•Information About Using the Command-Line Interface, page 1•How to
Table 1: Command Mode SummaryAbout This ModeExit MethodPromptAccess MethodModeUse this mode to•Changeterminalsettings.•Perform basictests.•Displaysyst
About This ModeExit MethodPromptAccess MethodModeLine configuration Use this mode toconfigureparameters for theterminal line.To exit to globalconfigur
PurposeCommand or ActionLists all commands available for a particular commandmode.?Example:Switch> ?Step 4Lists the associated keywords for a comma
Table 2: Common CLI Error MessagesHow to Get HelpMeaningError MessageReenter the command followed bya question mark (?) with a spacebetween the comman
Changing the Command History Buffer SizeBy default, the switch records ten command lines in its history buffer. You can alter this number for a curren
PurposeCommand or ActionLists the last several commands that you just entered in privileged EXEC mode.The number of commands that appear is controlled
THE SPECIFICATIONS AND INFORMATION REGARDING THE PRODUCTS IN THIS MANUAL ARE SUBJECT TO CHANGE WITHOUT NOTICE. ALL STATEMENTS,INFORMATION, AND RECOMME
PurposeCommand or ActionDisables the enhanced editing mode for the current terminal sessionin the privileged EXEC mode.terminal no editingExample:Swit
Deletes from the cursor to the end of the word.Esc DCapitalizes at the cursor.Esc CChanges the word at the cursor to lowercase.Esc LCapitalizes letter
DETAILED STEPSPurposeCommand or ActionDisplays the global configuration command entry that extends beyondone line.access-listExample:Switch(config)# a
PurposeCommand or ActionExpressions are case sensitive. For example, if you enter| exclude output, the lines that contain output are notdisplayed, but
Catalyst 2960-X Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX12 OL-29034-01 Using the Command-Line Inte
CHAPTER 2Configuring Interface CharacteristicsThis module contains the following topics:•Finding Feature Information, page 13•Information About Config
Port-Based VLANsA VLAN is a switched network that is logically segmented by function, team, or application, without regardto the physical location of
the VLAN membership of the port is discovered. Dynamic access ports on the switch are assigned to aVLAN by a VLAN Membership Policy Server (VMPS). The
When you create an SVI, it does not become active until it is associated with a physical port.NoteSVI Autostate ExcludeThe line state of an SVI with m
•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•an IEEE 802.3
CONTENTSPreface Preface ixDocument Conventions ixRelated Documentation xiObtaining Documentation and Submitting a Service Request xiCHAPTER 1 Usin
*Mar 1 00:01:00.171: %USB_CONSOLE-6-MEDIA_RJ45: Console media-type is RJ45.*Mar 1 00:01:00.431: %USB_CONSOLE-6-MEDIA_USB: Console media-type is USB.sw
In the following configuration example, when Host A in VLAN 20 sends data to Host B in VLAN 30, thedata must go from Host A to the switch, to the rout
gigabitethernet1/0/8. For a switch with 10/100/1000 ports and SFP module ports, SFP module ports arenumbered consecutively following the 10/100/1000 p
Default SettingFeatureDisabled on all Ethernet ports.EtherChannel (PAgP)Disabled (not blocked).Port blocking (unknown multicast and unknownunicast tra
The 1000BASE-x (where -x is -BX, -CWDM, -LX, -SX, and -ZX) SFP module ports support thenonegotiate keyword in the speed interface configuration comman
How to Configure Interface CharacteristicsConfiguring Interfaces ProcedureThese general instructions apply to all interface configuration processes.DE
Adding a Description for an InterfaceSUMMARY STEPS1.configure terminal2.interface interface-id3.description string4.end5.show interfaces interface-id
Configuring a Range of InterfacesTo configure multiple interfaces with the same configuration parameters, use the interface range globalconfiguration
PurposeCommand or ActionVerifies the configuration of the interfaces in the range.show interfaces [interface-id]Example:Switch# show interfacesStep 4C
PurposeCommand or ActionSelects the interface range to be configured using the values saved inthe interface-range macro called macro_name.interface ra
Interface Types 13Port-Based VLANs 14Switch Ports 14Access Ports 14Trunk Ports 15Switch Virtual Interfaces 15SVI Autostate Exclude 16EtherChannel Port
DETAILED STEPSPurposeCommand or ActionEnters global configuration mode.configure terminalExample:Switch# configure terminalStep 1Specifies the physica
PurposeCommand or Actiongigabitethernet1/0/3(Optional) Saves your entries in the configuration file.copy running-config startup-configExample:Switch#
PurposeCommand or ActionReturns to privileged EXEC mode.endExample:Switch(config-if)# endStep 4Verifies the interface flow control settings.show inter
PurposeCommand or ActionExcludes the access or trunk port when defining the statusof an SVI line state (up or down)switchport autostate excludeExample
PurposeCommand or ActionExample:Switch(config)# interface gigabitethernet1/0/2Shuts down an interface.shutdownExample:Switch(config-if)# shutdownStep
DETAILED STEPSPurposeCommand or ActionEnters the global configuration mode.configure terminalExample:Switch# configure terminalStep 1Configures the co
DETAILED STEPSPurposeCommand or ActionEnters the global configuration mode.configure terminalExample:Switch# configure terminalStep 1Configures the co
PurposeCommandDisplays the description configured on an interfaceor all interfaces and the interface status.show interfaces [interface-id] description
The clear counters privileged EXEC command does not clear counters retrieved by using Simple NetworkManagement Protocol (SNMP), but only those seen wi
Configuring and Using Interface Range Macros: ExamplesThis example shows how to define an interface-range named enet_list to include ports 1 and 2 on
Adding a Description to an Interface: Example 36Identifying Interfaces on a Stack-Capable Switch: Examples 36Configuring a Range of Interfaces: Exampl
This configuration terminates any active USB console media type in the stack. A log shows that this terminationhas occurred. This example shows that t
MIBsMIBs LinkMIBTo locate and download MIBs for selected platforms,Cisco IOS releases, and feature sets, use Cisco MIBLocator found at the following U
Catalyst 2960-X Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX40 OL-29034-01 Configuring Interface Chara
CHAPTER 3Configuring Auto-MDIXThis module contains the following sections:•Prerequisites for Auto-MDIX, page 41•Restrictions for Auto-MDIX, page 41•In
Information about Configuring Auto-MDIXAuto-MDIX on an InterfaceWhen automatic medium-dependent interface crossover (auto-MDIX) is enabled on an inter
DETAILED STEPSPurposeCommand or ActionEnters global configuration modeconfigure terminalExample:Switch# configure terminalStep 1Specifies the physical
Verifies the operational state of the auto-MDIXfeature on the interface.show controllers ethernet-controllerinterface-idphyExample for Configuring Aut
CHAPTER 4Configuring Ethernet Management PortThis module contains the following sections:•Finding Feature Information, page 45•Prerequisites for Ether
Ethernet Management Port Direct Connection to a SwitchThis figure displays how to connect the Ethernet management port to the PC for a switch or a sta
•TFTP•Secure Shell (SSH)•DHCP-based autoconfiguration•SMNP (only the ENTITY-MIB and the IF-MIB)•IP ping•Interface features◦ Speed—10 Mb/s, 100 Mb/s, a
LLDP Supported TLVs 52LLDP and Cisco Switch Stacks 52LLDP and Cisco Medianet 52LLDP-MED 52LLDP-MED Supported TLVs 53Wired Location Service 54Default L
DETAILED STEPSPurposeCommand or ActionEnters global configuration mode.configure terminalExample:Switch# configure terminalStep 1Specifies the Etherne
Document TitleRelated TopicCatalyst 2960-X Switch System ManagementConfiguration GuideBootloader commandsMIBsMIBs LinkMIBTo locate and download MIBs f
Catalyst 2960-X Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX50 OL-29034-01 Configuring Ethernet Manage
CHAPTER 5Configuring LLDP, LLDP-MED, and WiredLocation ServiceThis module contains the following sections:•Finding Feature Information, page 51•LLDP,
To support non-Cisco devices and to allow for interoperability between other devices, the switch supports theIEEE 802.1AB Link Layer Discovery Protoco
LLDP-MED Supported TLVsLLDP-MED supports these TLVs:•LLDP-MED capabilities TLVAllows LLDP-MED endpoints to determine the capabilities that the connect
Provides the location information of a caller. The location is determined by the Emergency locationidentifier number (ELIN), which is a phone number t
•IP address•802.1X username if applicable•Device category is specified as a wired station•State is specified as delete•Serial number, UDI•Time in seco
you can apply a network-policy profile on the interface. This way the interface has the voice orvoice-signaling VLAN network-policy profile applied on
PurposeCommand or Actiongigabitethernet2/0/1Enables the interface to send LLDP packets.lldp transmitExample:Switch(config-if)# lldp transmitStep 4Enab
Powered-Device Detection and Initial Power Allocation 77Power Management Modes 78Power Monitoring and Power Policing 79Maximum Power Allocation (Cutof
SUMMARY STEPS1.configure terminal2.lldp holdtime seconds3.lldp reinit delay4.lldp timer rate5.lldp tlv-select6.interface interface-id7.lldp med-tlv-se
PurposeCommand or ActionSpecifies the interface on which you are enabling LLDP, andenter interface configuration mode.interface interface-idExample:Sw
DescriptionLLDP-MED TLVLLDP-MED location TLVlocationLLDP-MED network policy TLVnetwork-policyLLDP-MED power management TLVpower-managementBeginning in
PurposeCommand or Action(Optional) Saves your entries in the configuration file.copy running-config startup-configExample:Switch# copy running-configS
PurposeCommand or ActionConfigures the policy attributes:{voice | voice-signaling} vlan [vlan-id {coscvalue | dscp dvalue}] | [[dot1p {cos cvalue |dsc
PurposeCommand or ActionSpecifies the network-policy TLV.lldp med-tlv-select network-policyExample:Switch(config-if)# lldp med-tlv-selectStep 7network
SUMMARY STEPS1.configure terminal2.location {admin-tag string | civic-location identifier {id | host} | elin-location string identifier id |custom-loc
PurposeCommand or ActionReturns to global configuration mode.exitExample:Switch(config-civic)# exitStep 3Specifies the interface on which you are conf
PurposeCommand or ActionExample:Switch# show location admin-tagorSwitch# show location civic-locationidentifierorSwitch# show location elin-locationid
PurposeCommand or ActionEnables the NMSP features on the switch.nmsp enableExample:Switch(config)# nmsp enableStep 2Specifies the NMSP notification in
Catalyst 2960-X Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EXviii OL-29034-01 Contents
Switch(config-network-policy)# exitSwitch(config)# interface gigabitethernet1/0/1Switch(config-if)# network-policy profile 1Switch(config-if)# lldp me
DescriptionCommandDisplays the location information for a specific globalcivic location.show location civic-location identifier idDisplays the locatio
Catalyst 2960-X Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX70 OL-29034-01 Configuring LLDP, LLDP-MED,
CHAPTER 6Configuring System MTUThis module contains the following sections:•Finding Feature Information, page 71•Information about the MTU, page 71•Ho
the system mtu global configuration command. You can increase the MTU size to support jumbo frameson all Gigabit Ethernet interfaces by using the syst
PurposeCommand or Action(Optional) Change the MTU size for all interfaces on theswitch stack that are operating at 10 or 100 Mb/s.system mtu bytesExam
Additional References for System MTUMIBsMIBs LinkMIBTo locate and download MIBs for selected platforms,Cisco IOS releases, and feature sets, use Cisco
CHAPTER 7Configuring PoEThis module contains the following sections:•Finding Feature Information, page 75•Restrictions for PoE, page 75•Information ab
Information about PoEPower over Ethernet PortsA PoE-capable switch port automatically supplies power to one of these connected devices if the switch s
Powered-Device Detection and Initial Power AllocationThe switch detects a Cisco pre-standard or an IEEE-compliant powered device when the PoE-capable
PrefaceThis preface contains the following topics:•Document Conventions, page ix•Related Documentation, page xi•Obtaining Documentation and Submitting
The initial allocation for Class 0, Class 3, and Class 4 powered devices is 15.4 W. When a device startsup and uses CDP or LLDP to send a request for
a wattage, the switch delivers the maximum value. Use the auto setting on any PoE port. The auto modeis the default setting.• static—The switch pre-al
Maximum Power Allocation (Cutoff Power) on a PoE PortWhen power policing is enabled, the switch determines one of the these values as the cutoff power
We recommend that you enable power policing when PoE is enabled on your switch. For example, if policingis disabled and you set the cutoff-power value
DETAILED STEPSPurposeCommand or ActionEnters global configuration mode.configure terminalExample:Switch# configure terminalStep 1Specifies the physica
grants a power request, the switch adjusts the power budget according to the powered-device IEEE classification.If the powered device is a class 0 (cl
PurposeCommand or ActionConfigures the power consumption of powered devicesconnected to each the PoE port on the switch.power inline consumption defau
PurposeCommand or Action(Optional) Disables CDP.no cdp runExample:Switch(config)# no cdp runStep 2Specifies the physical port to be configured, and en
SUMMARY STEPS1.configure terminal2.interface interface-id3.power inline police [action{log | errdisable}]4.exit5.Use one of the following:•errdisable
PurposeCommand or Action• power inline police action log—Generates a syslog messagewhile still providing power to the port.If you do not enter the act
Comentarios a estos manuales