Cisco Cisco SM-X Layer 2 3 EtherSwitch Service Module

Page of 34
Cisco SM-X Layer 2/3 EtherSwitch Service Module Configuration Guide for Cisco 4451-X ISR
  How to Configure the Cisco SM-X Layer 2/3 ESM on the Router
19
Cisco SM-X Layer 2/3 EtherSwitch Service Module Configuration Guide for Cisco 4451-X ISR
DETAILED STEPS
Example 
The following example displays the maximum power configured:
Router# show power inline
Available:500.0(w)  Used:24.0(w)  Remaining:476.0(w)
Interface Admin  Oper       Power   Device              Class Max
                            (Watts)
--------- ------ ---------- ------- ------------------- ----- ----
Et1/0/0   auto   off        24.0    n/a                 n/a   750.0
Et2/0/0   auto   off        0.0     n/a                 n/a   750.0
Command or Action
Purpose
Step 1
enable
Example:
Router> enable
Enters privileged EXEC mode.
Step 2
configure terminal
Example:
Router# configure terminal
Enters global configuration mode.
Step 3
interface gigabitethernet 
slot/port
Example:
Router(config)# interface gigabitethernet 0/24
Enter interface configuration mode and places you at 
the GigabitEthernet 0/24 interface.
Step 4
power inline max 
max-wattage 
Example:
Router(config-if)# power inline max 4000
Specifies the cut off power value for a port.
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.
Step 5
power inline police action
 action 
Example:
Router(config-if)# power inline police action log
Enables the ESM to generate a syslog message while 
still providing power to the device.
action action— Specifies an action. For 
example, a log message or a warning message to 
avoid flooding of event log or even shutting 
down the port.
Step 6
exit
Example:
Router(config-if)# exit
Exits the interface configuration mode.