Specifies the physical port to be configured, and enters interface configuration mode.
Step 4
power 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 5
end
Example:Switch(config-if)# end
Returns to privileged EXEC mode.
Step 6
show 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 moduleswitch-number keywords are supported only on stacking-capable switches.