Cisco Systems WSC2960X48TDL manual Power Monitoring and Power Policing

Page 91

Configuring PoE

Power over Ethernet Ports

a wattage, the switch delivers the maximum value. Use the auto setting on any PoE port. The auto mode is the default setting.

staticThe switch pre-allocates power to the port (even when no powered device is connected) and guarantees that power will be available for the port. The switch allocates the port configured maximum wattage, and the amount is never adjusted through the IEEE class or by CDP messages from the powered device. Because power is pre-allocated, any powered device that uses less than or equal to the maximum wattage is guaranteed to be powered when it is connected to the static port. The port no longer participates in the first-come, first-served model.

However, if the powered-device IEEE class is greater than the maximum wattage, the switch does not supply power to it. If the switch learns through CDP messages that the powered device needs more than the maximum wattage, the switch shuts down the powered device.

If you do not specify a wattage, the switch pre-allocates the maximum value. The switch powers the port only if it discovers a powered device. Use the static setting on a high-priority interface.

neverThe switch disables powered-device detection and never powers the PoE port even if an unpowered device is connected. Use this mode only when you want to make sure that power is never applied to a PoE-capable port, making the port a data-only port.

Power Monitoring and Power Policing

When policing of the real-time power consumption is enabled, the switch takes action when a powered device consumes more power than the maximum amount allocated, also referred to as the cutoff-power value.

When PoE is enabled, the switch senses the real-time power consumption of the powered device. The switch monitors the real-time power consumption of the connected powered device; this is called power monitoring or power sensing. The switch also polices the power usage with the power policing feature.

Power monitoring is backward-compatible with Cisco intelligent power management and CDP-based power consumption. It works with these features to ensure that the PoE port can supply power to the powered device.

The switch senses the real-time power consumption of the connected device as follows:

1The switch monitors the real-time power consumption on individual ports.

2The switch records the power consumption, including peak power usage. The switch reports the information through the CISCO-POWER-ETHERNET-EXT-MIB.

3If power policing is enabled, the switch polices power usage by comparing the real-time power consumption to the maximum power allocated to the device. The maximum power consumption is also referred to as the cutoff power on a PoE port.

If the device uses more than the maximum power allocation on the port, the switch can either turn off power to the port, or the switch can generate a syslog message and update the LEDs (the port LED is now blinking amber) while still providing power to the device based on the switch configuration. By default, power-usage policing is disabled on all PoE ports.

If error recovery from the PoE error-disabled state is enabled, the switch automatically takes the PoE port out of the error-disabled state after the specified amount of time.

If error recovery is disabled, you can manually re-enable the PoE port by using the shutdown and no shutdown interface configuration commands.

4If policing is disabled, no action occurs when the powered device consumes more than the maximum power allocation on the PoE port, which could adversely affect the switch.

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

OL-29034-01

79

Image 91
Contents First Published July 10 Americas HeadquartersPage 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 Related Documentation Obtaining Documentation and Submitting a Service RequestXii Command Modes Information About Using the Command-Line InterfaceThis chapter contains the following topics Ctrl-Z Mode Access Method Prompt Exit Method About This ModeConfigure QuitHelp Using the Help SystemCommand or Action Purpose Step ModeNo and default Forms of Commands Understanding Abbreviated CommandsCLI Error Messages Error Message Meaning How to Use the CLI to Configure FeaturesConfiguration Logging Configuring the Command HistoryRecalling Commands Changing the Command History Buffer SizeCommand or Action Terminal no history Enabling and Disabling Editing FeaturesDisabling the Command History Feature Privileged Exec modeEditing Commands through Keystrokes Editing Command Lines That Wrap Show more command begin include exclude Searching and Filtering Output of show and more CommandsAccess-list Show more command begin include exclude regular-expressionCommand or Action Example OL-29034-01 This module contains the following topics Finding Feature InformationInformation About Configuring Interface Characteristics Interface TypesPort-Based VLANs Switch PortsTrunk Ports Switch Virtual InterfacesEtherChannel Port Groups Power over Ethernet PortsUSB Mini-Type B Console Port Using the Switch USB PortsUSB Type a Ports Interface ConnectionsConnecting VLANs with the Switch Interface Configuration ModeLayer 2 or switching mode switchport command VLANs 1 Default Ethernet Interface ConfigurationFeature Default SettingSpeed and Duplex Configuration Guidelines Interface Speed and Duplex ModeIeee 802.3x Flow Control Either gigabitethernet 1/0/1 How to Configure Interface CharacteristicsConfiguring Interfaces Procedure Gigabit Ethernet port 1 on switch 1 is selectedShow interfaces interface-id description Configure terminalAdding a Description for an Interface Description stringConfigure 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 Nonegotiate Speed 10 100 1000 auto 10Command or Action Purpose Configuring Ieee 802.3x Flow ControlEnd Returns to privileged Exec mode Configuring SVI Autostate ExcludeEnter interface configuration mode Interface vlan vlan-id gigabitethernet interface-id Switchport autostate excludeShutting Down and Restarting the Interface An SVI line state up or downShutdown Shuts down an interface Configuring the Console Media TypeThis configuration applies to all switches in a stack Configure terminal Line console Media-type rj45 EndConfigure terminal Enters the global configuration mode Configuring the USB Inactivity TimeoutShow interfaces interface-id switchport Monitoring Interface CharacteristicsCommand Purpose Show interfaces interface-id status err-disabledClearing and Resetting Interfaces and Counters Adding a Description to an Interface Example Configuration Examples for Interface CharacteristicsIdentifying Interfaces on a Stack-Capable Switch Examples Configuring a Range of Interfaces ExamplesSetting Interface Speed and Duplex Mode Example Configuring and Using Interface Range Macros ExamplesConfiguring the Console Media Type Example None Configuring the USB Inactivity Timeout ExampleTo disable the configuration, use these commands Standards and RFCs Standard/RFCTechnical 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 Auto-MDIX on an Interface Information about Configuring Auto-MDIXHow to Configure Auto-MDIX Configuring Auto-MDIX on an InterfaceMonitoring Auto-MDIX This example shows how to enable auto-MDIX on a port Example for Configuring Auto-MDIXInformation about the Ethernet Management Port Prerequisites for Ethernet Management PortsSupported Features on the Ethernet Management Port Ethernet Management Port Direct Connection to a SwitchDisabling and Enabling the Ethernet Management Port How to Configure the Ethernet Management PortWhat to Do Next Additional ReferencesDocument Title Bootloader commandsRelated Topic MIBsOL-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 Configuration Guidelines Default Lldp ConfigurationEnabling Lldp Configure terminal Lldp runLldp run Enables Lldp globally on the switch LLDP, and enter interface configuration modeShow lldp Verifies the configuration Configuring Lldp CharacteristicsLldp transmit Enables the interface to send Lldp packets Lldp receive Enables the interface to receive Lldp packetsSwitchconfig# lldp holdtime Command or Action Purpose Step Configuring LLDP-MED TLVsLldp med-tlv-select Specifies the TLV to enable Lldp med-tlv-select End Copy running-config startup-configConfiguration mode. The range is 1 to Configuring Network-Policy TLVDscp dvalue none untagged Voice voice-signalingvlan vlan-idcosShow network-policy profile Verifies the configuration Configuring Location TLV and Wired Location ServiceWay Use one of the followingEnters location information for an interface Exit Returns to global configuration modeInformation, and enter interface configuration mode Use one of the following Verifies the configurationCommand or Action Purpose Example Enabling Wired Location Service on the SwitchNmsp enable Enables the Nmsp features on the switch Configuring Network-Policy TLV ExamplesNmsp notification interval attachment location Command Description Civic location OL-29034-01 System MTU Guidelines Information about the MTUConfiguring the System MTU How to Configure MTU SizesShow system mtu Verifies your settings Configuration Examples for System MTUReload Reloads the operating system Additional References for System MTU Restrictions for PoE Configuring PoEInformation about PoE Power over Ethernet PortsSupported Protocols and Standards Class Powered-Device Detection and Initial Power AllocationPower Management Modes Power Monitoring and Power Policing Maximum Power Allocation Cutoff Power on a PoE Port Configuring a Power Management Mode on a PoE Port How to Configure PoEShow power inline Budgeting Power for Devices Connected to a PoE PortNever static max max-wattage No cdp run Optional Disables CDP Budgeting Power to All PoE portsConfigure terminal No cdp run Budgeting Power to a Specific PoE PortSpecifies the physical port to be configured, and enter Configuring Power PolicingPower inline consumption wattage Power inline police actionlog errdisable Power inline police actionlog errdisable ExitShow power inline police Show errdisable recovery Configuration modeWhile 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 EEE Overview Information About EEERestrictions for EEE How to Configure EEEDefault EEE Configuration EEE is disabled by defaultMonitoring EEE Specifies the interface to be configured, and enterPower efficient-ethernet auto CommandThis 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