First of all, the Embedded Service Engine has minimum memory requirement.
1GB for Cisco 2911 and 2921
1.5GB for Cisco 2951
2GB for Cisco 3925 and 3945
Ref. http://www.cisco.com/c/en/us/td/docs/interfaces_modules/services_modules/cimce/1-0/configuration/guide/CIMCe.html#wp1113975
To configure the Embedded Service Engine Interface
1. Enter the configuration command "Service-module enable" under the embedded-service-engine 0/0 interface
2. Save the configuration to NVRAM
3. Reboot (Must reboot)
* If you got an error "Memory size does not meet the requirements of Embedded-Service-Engine0/0", check memory size.
CME_Router(config-if)#service-module enable
Memory size does not meet the requirements of Embedded-Service-Engine0/0
From the Host-Router CLI
1. enable
2. configure terminal
3. interface Embedded-Service-Engine 0/0
4. service-module enable
5. ip address module-side-ip-address subnet-mask
or
ip unnumbered type number
6. service-module ip address module-side-ip-address subnet-mask
7. service-module ip default-gateway gateway-ip-address
8. no shutdown
9. exit
10. ip route prefix mask ip-address
11. end
12. copy running-config startup-config
13. show running-config
14. reload