Cisco Systems WSC2960X48TDL manual EtherChannel Port Groups, Power over Ethernet Ports

Page 28

Configuring Interface Characteristics

Interface Types

Note When you create an SVI, it does not become active until it is associated with a physical port.

SVI Autostate Exclude

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.

At least one Layer 2 (access or trunk) port exists, has a link in the up state on this VLAN, and is in the spanning-tree forwarding state on the VLAN.

Note The protocol link state for VLAN interfaces come up when the first switchport belonging to the corresponding VLAN link comes up and is in STP forwarding state.

The default action, when a VLAN has multiple ports, is that the SVI goes down when all ports in the VLAN go down. You can use the SVI autostate exclude feature to configure a port so that it is not included in the SVI line-state up-or-down calculation. For example, if the only active port on the VLAN is a monitoring port, you might configure autostate exclude on that port so that the VLAN goes down when all other ports go down. When enabled on a port, autostate exclude applies to all VLANs that are enabled on that port.

The VLAN interface is brought up when one Layer 2 port in the VLAN has had time to converge (transition from STP listening-learning state to forwarding state). This prevents features such as routing protocols from using the VLAN interface as if it were fully operational and minimizes other problems, such as routing black holes.

EtherChannel Port Groups

EtherChannel port groups treat multiple switch ports as one switch port. These port groups act as a single logical port for high-bandwidth connections between switches or between switches and servers. An EtherChannel balances the traffic load across the links in the channel. If a link within the EtherChannel fails, traffic previously carried over the failed link changes to the remaining links. You can group multiple trunk ports into one logical trunk port or multiple access ports into one logical access port. Most protocols operate over either single ports or aggregated switch ports and do not recognize the physical ports within the port group. Exceptions are the DTP, the Cisco Discovery Protocol (CDP), and the Port Aggregation Protocol (PAgP), which operate only on physical ports.

When you configure an EtherChannel, you create a port-channel logical interface and assign an interface to the EtherChannel. For Layer 2 interfaces, use the channel-groupinterface configuration command to dynamically create the port-channel logical interface. This command binds the physical and logical ports together.

Power over Ethernet Ports

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:

 

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

16

OL-29034-01

Image 28
Contents Americas Headquarters First Published July 10Page N T E N T S Contents Configuring Auto-MDIX41 Configuring System MTU Configuring EEE Viii Convention Description Document ConventionsBold font Element Vertical barsReader Alert Conventions Obtaining Documentation and Submitting a Service Request Related DocumentationXii Command Modes Information About Using the Command-Line InterfaceThis chapter contains the following topics Mode Access Method Prompt Exit Method About This Mode ConfigureQuit Ctrl-ZUsing the Help System Command or Action Purpose StepMode HelpNo and default Forms of Commands Understanding Abbreviated CommandsCLI Error Messages How to Use the CLI to Configure Features Configuration LoggingConfiguring the Command History Error Message MeaningRecalling Commands Changing the Command History Buffer SizeCommand or Action Enabling and Disabling Editing Features Disabling the Command History FeaturePrivileged Exec mode Terminal no historyEditing Commands through Keystrokes Editing Command Lines That Wrap Searching and Filtering Output of show and more Commands Access-listShow more command begin include exclude regular-expression Show more command begin include excludeCommand or Action Example OL-29034-01 Finding Feature Information Information About Configuring Interface CharacteristicsInterface Types 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 Ethernet Interface Configuration FeatureDefault Setting Layer 2 or switching mode switchport command VLANs 1Interface Speed and Duplex Mode Speed and Duplex Configuration GuidelinesIeee 802.3x Flow Control How to Configure Interface Characteristics Configuring Interfaces ProcedureGigabit Ethernet port 1 on switch 1 is selected Either gigabitethernet 1/0/1Configure terminal Adding a Description for an InterfaceDescription string Show interfaces interface-id descriptionConfigure terminal Enters global configuration mode Configuring a Range of InterfacesInterface range port-rangemacro Verifies the configuration of the interfaces in the range Configuring and Using Interface Range MacrosDefine interface-range macroname Setting the Interface Speed and Duplex Parameters Configuring Ethernet InterfacesInterface range macro macroname Speed 10 100 1000 auto 10 NonegotiateConfiguring Ieee 802.3x Flow Control Command or Action PurposeEnd Returns to privileged Exec mode Configuring SVI Autostate ExcludeEnter interface configuration mode Switchport autostate exclude Shutting Down and Restarting the InterfaceAn SVI line state up or down Interface vlan vlan-id gigabitethernet interface-idConfiguring the Console Media Type This configuration applies to all switches in a stackConfigure terminal Line console Media-type rj45 End Shutdown Shuts down an interfaceConfiguring the USB Inactivity Timeout Configure terminal Enters the global configuration modeMonitoring Interface Characteristics Command PurposeShow interfaces interface-id status err-disabled Show interfaces interface-id switchportClearing and Resetting Interfaces and Counters Configuration Examples for Interface Characteristics Identifying Interfaces on a Stack-Capable Switch ExamplesConfiguring a Range of Interfaces Examples Adding a Description to an Interface ExampleSetting Interface Speed and Duplex Mode Example Configuring and Using Interface Range Macros ExamplesConfiguring the Console Media Type Example Configuring the USB Inactivity Timeout Example To disable the configuration, use these commandsStandards and RFCs Standard/RFC NoneTechnical Assistance Description Link Cisco IOS Release 15.02EX This feature was introducedRelease Modification OL-29034-01 Restrictions for Auto-MDIX Prerequisites for Auto-MDIXThis module contains the following sections Information about Configuring Auto-MDIX How to Configure Auto-MDIXConfiguring Auto-MDIX on an Interface 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 NextBootloader commands Related TopicMIBs Document TitleOL-29034-01 Configuring LLDP, LLDP-MED, and Wired Location Service Lldp Supported TLVs Lldp and Cisco Switch StacksLldp and Cisco Medianet LLDP-MED Supported TLVs Wired Location Service Default Lldp Configuration Configuration GuidelinesConfigure terminal Lldp run Lldp run Enables Lldp globally on the switchLLDP, and enter interface configuration mode Enabling LldpConfiguring Lldp Characteristics Lldp transmit Enables the interface to send Lldp packetsLldp receive Enables the interface to receive 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 WayExit Returns to global configuration mode Information, and enter interface configuration modeUse one of the following Verifies the configuration Enters location information for an interfaceEnabling Wired Location Service on the Switch Command or Action Purpose ExampleNmsp enable Enables the Nmsp features on the switch Configuring Network-Policy TLV ExamplesNmsp 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 MTUShow system mtu Verifies your settings Configuration Examples for System MTUReload Reloads the operating system Additional References for System MTU Configuring PoE Restrictions for PoEInformation about PoE Power over Ethernet PortsSupported 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 PortShow power inline Budgeting Power for Devices Connected to a PoE PortNever 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 runSpecifies the physical port to be configured, and enter Configuring Power PolicingPower inline consumption wattage Power inline police actionlog errdisable Exit Show power inline police Show errdisable recoveryConfiguration mode Power inline police actionlog errdisableWhile still providing power to the port Power inline police action log-Generates a syslog messageDown the port and puts the port in the error-disabled state Configuration Examples for Configuring PoE Monitoring Power StatusBudgeting Power Example Information About EEE EEE OverviewHow to Configure EEE Default EEE ConfigurationEEE is disabled by default Restrictions for EEESpecifies the interface to be configured, and enter Power efficient-ethernet autoCommand Monitoring EEEThis example shows how to enable EEE for an interface Configuration Examples for Configuring EEEThis example shows how to disable EEE for an interface Feature History and Information for Configuring EEE OL-29034-01 D E PoE