Configuring 2-event Classification

Restrictions for 2-Event Classification

The following restrictions apply to 2-event classification:

  • Configuration of 2-event classification has to be done before physically connecting any endpoint. Alternatively, do a manual shut and unshut of the ports drawing power.

  • Power to the ports is interrupted in case of microcontroller unit firmware upgrade and ports will be back up immediately after the upgrade.

Information About 2-Event Classification

When a class 4 device gets detected, Cisco IOS allocates 15.4 W without any CDP or LLDP negotiation.

After the 2-event configuration is enabled on a port, you must manually shut and unshut the port or connect the powered device again to start IEEE detection again. Power budget allocation for a class-4 device will be 30W if 2-event classification is enabled on the port; otherwise it will be 15.4W. This implies that even before the link comes up, the class-4 powered device will get 30W.

When 2-event classification is enabled on a port, at the hardware level, the power-sourcing equipment (PSE) does a 2-event classification, which allows a class-4 powered device to detect the PSE capability of providing 30W through the hardware register. The powered device can then move up to the PoE+ level without waiting for any CDP or LLDP packet exchange.

You can also enable 2-event configuration globally on all the available ports, by using the power inline 2-event global configuration command. After executing this command, manually shut and unshut all ports.


Note


If any port has interface configuration, the port will be given precedence over global configuration.


How to Configure 2-event Classification

The following tasks describe how you can configure 2-event classification.

Configuring 2-Event Classification

To configure a device for a 2-event classification, perform the steps given below.

Procedure

  Command or Action Purpose

Step 1

enable

Example:


Device> enable

Enables privileged EXEC mode.

Enter your password, if prompted.

Step 2

configure terminal

Example:


Device# configure terminal

Enters global configuration mode.

Step 3

interface interface-id

Example:


Device(config)# interface gigabitethernet2/0/1

Specifies the physical port to be configured, and enters interface configuration mode.

Step 4

power inline port 2-event

Example:


Device(config-if)# power inline port 2-event

Configures 2-event classification on the device.

Step 5

end

Example:


Device(config-if)# end

Returns to privileged EXEC mode.

Configuring 2-Event Classification Globally

To configure a 2-event classification on all the ports of a device, perform the steps given below.

Procedure

  Command or Action Purpose

Step 1

enable

Example:


Device> enable

Enables privileged EXEC mode.

Enter your password, if prompted.

Step 2

configure terminal

Example:


Device# configure terminal

Enters global configuration mode.

Step 3

power inline 2-event

Example:


Device(config)# power inline 2-event

Configures 2-event classification on all the ports of the device.

Step 4

end

Example:


Device(config)# end

Returns to privileged EXEC mode.

Example: Configuring 2-Event Classification

This example shows how you can configure 2-event classification:

Device> enable
Device# configure terminal
Device(config)# interface gigabitethernet2/0/1 
Device(config-if)# power inline port 2-event
Device(config-if)# end

Feature History for 2-Event Classification

This table provides release and related information for the features explained in this module.

These features are available in all the releases subsequent to the one they were introduced in, unless noted otherwise.

Release

Feature

Feature Information

Cisco IOS XE Everest 16.6.1

2-Event Classification

When a class-4 device gets detected, Cisco IOS allocates 30W without any CDP or LLDP negotiation. This means that even before the link comes up, the class-4 power device gets 30W.

Cisco IOS XE Gibraltar 16.12.1

Change in Allocated Power

When a class-4 device is detected, Cisco IOS allocates 15.4W without any CDP or LLDP negotiation.

Cisco IOS XE Cupertino 17.7.1

2-event Classification

This feature was implemented on supervisor modules C9400X-SUP-2 and C9400X-SUP-2XL, which were introduced in this release.

Cisco IOS XE Cupertino 17.8.1

Global 2-Event Classification

2-event configuration can be enabled globally by using the power inline 2-event global configuration command.

Use the Cisco Feature Navigator to find information about platform and software image support. To access Cisco Feature Navigator, go to Cisco Feature Navigator.