CONFIGURE A POWER MANAGERMENT MODE ON CISCO POE SWITCH

CONFIGURE A POWER MANAGERMENT MODE ON CISCO POE SWITCH

SUMMARY STEPS:

  1. enable
  2. configure terminal
  3. interface interface-id
  4. power inline {auto [max max-wattage] | never | static [max max-wattage]}
  5. end
  6. show power inline [interface-id | module switch-number]
  7. copy running-config startup-config

DETAILED STEPS:

 Command or ActionPurpose
Step 1enable


Example:Switch> enable  
Enables privileged EXEC mode. Enter your password if prompted. 
Step 2configure terminal


Example:Switch# configure terminal  
Enters global configuration mode. 
Step 3interface interface-id


Example:Switch(config)# interface gigabitethernet2/0/1  
Specifies the physical port to be configured, and enters interface configuration mode. 
Step 4power inline {auto [max max-wattage] | never | static [max max-wattage]}


Example:Switch(config-if)# power inline auto  
Configures the PoE mode on the port. The keywords have these meanings:auto—Enables powered-device detection. If enough power is available, automatically allocates power to the PoE port after device detection. This is the default setting.max max-wattage—Limits the power allowed on the port. If no value is specified, the maximum is allowed.max max-wattage—Limits the power allowed on the port. The range is 4000 to 30000 mW. If no value is specified, the maximum is allowed.never —Disables device detection, and disable power to the port.Note   If a port has a Cisco powered device connected to it, do not use the power inline never command to configure the port. A false link-up can occur, placing the port into the error-disabled state.static—Enables powered-device detection. Pre-allocate (reserve) power for a port before the switch discovers the powered device. The switch reserves power for this port even when no device is connected and guarantees that power will be provided upon device detection.The switch allocates power to a port configured in static mode before it allocates power to a port configured in auto mode. 
Step 5end


Example:Switch(config-if)# end 
Returns to privileged EXEC mode. 
Step 6show power inline [interface-id | module switch-number]


Example:Switch# show power inline  
Displays PoE status for a switch or a switch stack, for the specified interface, or for a specified stack member.The module switch-number keywords are supported only on stacking-capable switches. 
Step 7copy running-config startup-config


Example:Switch# copy running-config startup-config  
(Optional) Saves your entries in the configuration file. 

Source :

https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst2960x/software/15-0_2_EX/int_hw_components/configuration_guide/b_int_152ex_2960-x_cg/b_int_152ex_2960-x_cg_chapter_0111.html

https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst2960x/software/15-0_2_EX/int_hw_components/configuration_guide/b_int_152ex_2960-x_cg/b_int_152ex_2960-x_cg_chapter_0111.html

https://www.thinlabs.com/faq/configure-cisco-switch-for-powering-poe-client

Leave a Reply