power inline
To configure the inline power administrative mode on an interface, use the power inline Interface Configuration mode command.
Syntax
power inline auto [time-range NAME]
power inline never
Parameters
auto—Turns on the device discovery protocol and applies power to the device.
NAME—Specify the name of time-range settings. When the time range is not in effect the power is not supplied the attached device. If a time range is not specified, there is no time range bounded to the port. (Range: 1–32 characters.)
never—Turns off the device discovery protocol and stops supplying power to the device.
Default Configuration
The default is auto.
Command Mode
Interface Configuration (Ethernet) mode
Example
The following example turns on the device discovery protocol on port 1:
switch(config)# interface gi1
switch(config-if)# power inline auto
The example shows how to apply workhour time-range to an interface.
Switch(config)# interface gi1
Switch(config-if)# power inline auto time-range workhour
Use the following command to verify your configuration.
Switch(config-if)# do show power inline interface gi1
Port State Status Priority Class Max.Power (Admin) Device
(mW)
---- ----- ---------- -------- ------- ----------------- --------
gi1 Auto off low class0 30000 (30000) N/A
Port Overload Short Current Power Denied MPS Absent Invalid Sig.
---- ------------- ------------- ------------- ------------- ---
gi1 0 0 0 0 0
Port Time Range Status
---- -------------------------------- --------
gi1 workhour Active