Cisco Systems WSC2960X48TDL manual Interface Connections, USB Type a Ports

Page 30

Configuring Interface Characteristics

Interface Connections

*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.

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.

When the USB cable is removed or the PC de-activates the USB connection, the hardware automatically changes to the RJ-45 console interface:

switch-stack-1

Mar 1 00:20:48.635: %USB_CONSOLE-6-MEDIA_RJ45: Console media-type is RJ45.

You can configure the console type to always be RJ-45, and you can configure an inactivity timeout for the USB connector.

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 and 1 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. You can also configure the switch to boot from the USB flash drive.

For information about configuring the switch to boot from a USB flash drive, refer to the Catalyst 2960-X Switch System Management Configuration Guide.

For information about reading, writing, erasing, and copying files to or from the flash device, refer to the Catalyst 2960-X Switch Managing Cisco IOS Image Files Configuration Guide.

Interface Connections

Devices within a single VLAN can communicate directly through any switch. Ports in different VLANs cannot exchange data without going through a routing device.

 

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

18

OL-29034-01

Image 30
Contents Americas Headquarters First Published July 10Page N T E N T S Contents Configuring Auto-MDIX41 Configuring System MTU Configuring EEE Viii Document Conventions Convention DescriptionBold font Vertical bars ElementReader Alert Conventions Obtaining Documentation and Submitting a Service Request Related DocumentationXii Information About Using the Command-Line Interface Command ModesThis chapter contains the following topics Quit Mode Access Method Prompt Exit Method About This ModeConfigure Ctrl-ZMode Using the Help SystemCommand or Action Purpose Step HelpUnderstanding Abbreviated Commands No and default Forms of CommandsCLI Error Messages Configuring the Command History How to Use the CLI to Configure FeaturesConfiguration Logging Error Message MeaningChanging the Command History Buffer Size Recalling CommandsCommand or Action Privileged Exec mode Enabling and Disabling Editing FeaturesDisabling the Command History Feature Terminal no historyEditing Commands through Keystrokes Editing Command Lines That Wrap Show more command begin include exclude regular-expression Searching and Filtering Output of show and more CommandsAccess-list Show more command begin include excludeCommand or Action Example OL-29034-01 Interface Types Finding Feature InformationInformation About Configuring Interface Characteristics This module contains the following topicsSwitch Ports Port-Based VLANsSwitch Virtual Interfaces Trunk PortsPower over Ethernet Ports EtherChannel Port GroupsUsing the Switch USB Ports USB Mini-Type B Console PortInterface Connections USB Type a PortsInterface Configuration Mode Connecting VLANs with the SwitchDefault Setting Default Ethernet Interface ConfigurationFeature Layer 2 or switching mode switchport command VLANs 1Interface Speed and Duplex Mode Speed and Duplex Configuration GuidelinesIeee 802.3x Flow Control Gigabit Ethernet port 1 on switch 1 is selected How to Configure Interface CharacteristicsConfiguring Interfaces Procedure Either gigabitethernet 1/0/1Description string Configure terminalAdding a Description for an Interface Show interfaces interface-id descriptionConfiguring a Range of Interfaces Configure terminal Enters global configuration modeInterface range port-rangemacro Configuring and Using Interface Range Macros Verifies the configuration of the interfaces in the rangeDefine interface-range macroname Configuring Ethernet Interfaces Setting the Interface Speed and Duplex ParametersInterface range macro macroname Speed 10 100 1000 auto 10 NonegotiateConfiguring Ieee 802.3x Flow Control Command or Action PurposeConfiguring SVI Autostate Exclude End Returns to privileged Exec modeEnter interface configuration mode An SVI line state up or down Switchport autostate excludeShutting Down and Restarting the Interface Interface vlan vlan-id gigabitethernet interface-idConfigure terminal Line console Media-type rj45 End Configuring the Console Media TypeThis configuration applies to all switches in a stack Shutdown Shuts down an interfaceConfiguring the USB Inactivity Timeout Configure terminal Enters the global configuration modeShow interfaces interface-id status err-disabled Monitoring Interface CharacteristicsCommand Purpose Show interfaces interface-id switchportClearing and Resetting Interfaces and Counters Configuring a Range of Interfaces Examples Configuration Examples for Interface CharacteristicsIdentifying Interfaces on a Stack-Capable Switch Examples Adding a Description to an Interface ExampleConfiguring and Using Interface Range Macros Examples Setting Interface Speed and Duplex Mode ExampleConfiguring the Console Media Type Example Standards and RFCs Standard/RFC Configuring the USB Inactivity Timeout ExampleTo disable the configuration, use these commands NoneCisco IOS Release 15.02EX This feature was introduced Technical Assistance Description LinkRelease Modification OL-29034-01 Prerequisites for Auto-MDIX Restrictions for Auto-MDIXThis module contains the following sections Configuring Auto-MDIX on an Interface Information about Configuring Auto-MDIXHow to Configure Auto-MDIX Auto-MDIX on an InterfaceMonitoring Auto-MDIX Example for Configuring Auto-MDIX This example shows how to enable auto-MDIX on a portPrerequisites for Ethernet Management Ports Information about the Ethernet Management PortEthernet Management Port Direct Connection to a Switch Supported Features on the Ethernet Management PortHow to Configure the Ethernet Management Port Disabling and Enabling the Ethernet Management PortAdditional References What to Do NextMIBs Bootloader commandsRelated Topic Document TitleOL-29034-01 Configuring LLDP, LLDP-MED, and Wired Location Service Lldp and Cisco Switch Stacks Lldp Supported TLVsLldp and Cisco Medianet LLDP-MED Supported TLVs Wired Location Service Default Lldp Configuration Configuration GuidelinesLLDP, and enter interface configuration mode Configure terminal Lldp runLldp run Enables Lldp globally on the switch Enabling LldpLldp receive Enables the interface to receive Lldp packets Configuring Lldp CharacteristicsLldp transmit Enables the interface to send Lldp packets Show lldp Verifies the configurationSwitchconfig# lldp holdtime Configuring LLDP-MED TLVs Command or Action Purpose StepLldp med-tlv-select End Copy running-config startup-config Lldp med-tlv-select Specifies the TLV to enableConfiguring Network-Policy TLV Configuration mode. The range is 1 toVoice voice-signalingvlan vlan-idcos Dscp dvalue none untaggedConfiguring Location TLV and Wired Location Service Show network-policy profile Verifies the configurationUse one of the following WayUse one of the following Verifies the configuration Exit Returns to global configuration modeInformation, and enter interface configuration mode Enters location information for an interfaceEnabling Wired Location Service on the Switch Command or Action Purpose ExampleConfiguring Network-Policy TLV Examples Nmsp enable Enables the Nmsp features on the switchNmsp notification interval attachment location Command Description Civic location OL-29034-01 Information about the MTU System MTU GuidelinesHow to Configure MTU Sizes Configuring the System MTUConfiguration Examples for System MTU Show system mtu Verifies your settingsReload Reloads the operating system Additional References for System MTU Configuring PoE Restrictions for PoEPower over Ethernet Ports Information about PoESupported Protocols and Standards Powered-Device Detection and Initial Power Allocation ClassPower Management Modes Power Monitoring and Power Policing Maximum Power Allocation Cutoff Power on a PoE Port How to Configure PoE Configuring a Power Management Mode on a PoE PortBudgeting Power for Devices Connected to a PoE Port Show power inlineNever static max max-wattage Budgeting Power to All PoE ports No cdp run Optional Disables CDPBudgeting Power to a Specific PoE Port Configure terminal No cdp runConfiguring Power Policing Specifies the physical port to be configured, and enterPower inline consumption wattage Configuration mode Power inline police actionlog errdisable ExitShow power inline police Show errdisable recovery Power inline police actionlog errdisablePower inline police action log-Generates a syslog message While still providing power to the portDown the port and puts the port in the error-disabled state Monitoring Power Status Configuration Examples for Configuring PoEBudgeting Power Example Information About EEE EEE OverviewEEE is disabled by default How to Configure EEEDefault EEE Configuration Restrictions for EEECommand Specifies the interface to be configured, and enterPower efficient-ethernet auto Monitoring EEEConfiguration Examples for Configuring EEE This example shows how to enable EEE for an interfaceThis example shows how to disable EEE for an interface Feature History and Information for Configuring EEE OL-29034-01 D E PoE