Module EXEC Commands

cusp

To enter CCCSP Management mode, use the cusp command in System EXEC mode. To exit CCCSP Management mode, use the exit command.

cusp

Syntax Description

This command has no arguments or keywords.

Command Default

None

Command Modes

System EXEC (#)

Command History

Version Modification

CCCSP-15.0(1)

This command was introduced.

Examples

The following example accesses the CCCSP application and enters CCCSP Management mode:


Hostname# cusp
Hostname(cusp)# 

ip route

To establish static routes to CCCSP virtual interfaces and other routers, use the ip route command in System configuration mode.

ip route destination prefix destination prefix mask { fastethernet subinterface | ip-address }

Syntax Description

destination-ip

Destination network address.

destination prefix

Destination network IP address.

destination prefix mask

Destination network IP address mask.

fastethernet

Virtual interface to route.

subinterface number

Virtual subinterface

ip-address

Forwarding router's IP address.

Command Default

No static routes are established.

Command Modes

System configuration (config)

Command History

Release Modification

CCCSP-15.0(1)

This command was introduced.

Usage Guidelines

The last argument specifies the forwarding address which is either the virtual interface to route to or the forwarding router’s address.

Examples

The following example establishes a static route to CCCSP’s FastEthernet interface 0.2:

Hostname(config)# ip route 10.10.10.2 255.255.255.0 FastEthernet0.2
  

The following example establishes a static route to the router whose IP address is 10.10.20.2:

Hostname(config)# ip route 10.10.10.2 255.255.255.0 10.10.20.2

license smart activate cusp

To enable smart agent licensing in CCCSP, use the license smart activate cusp command in System EXEC mode.

license smart activate cusp count

Syntax Description

count

Specifies the maximum calls per second to be activated. The value should be a multiple of 5.

Command Default

None

Command Modes

System EXEC (#)

Command History

Release Modification

CCCSP-15.0(1)

This command was introduced.

Usage Guidelines

Set license smart destinationAddr before running this command. If HTTP proxy is required, execute license smart httpProxyAddr before you execute this command.

To enable call routing through CCCSP, this command must be enabled. Else, the calls will drop.

Examples

The following example sets the maximum calls per second:


Hostname# license smart activate cusp 100

agent initialized

license smart destinationAddr

To specify the smart manager URL, use the license smart destinationAddr command in System EXEC mode.

license smart destinationAddr url

Syntax Description

url

Connects to the central licensing server.

Command Default

None

Command Modes

System EXEC (#)

Command History

Release Modification

CCCSP-15.0(1)

This command was introduced.

Usage Guidelines

Use the license smart destinationAddr command to configure the central license URL.


Note


Starting from CCCSP-15.0(1) release, the following are not supported:

  • The https://tools.cisco.com/ destination URL

  • The Call home Cisco proprietary secure protocol

  • Transport mode selection protocol used to communicate with Smart Software Manager


Examples

The following example configures the smart manager URL:


Hostname# license smart destinationAddr
https://smartreceiver.cisco.com/licservice/license 

License addr set

license smart httpProxyAddr

To set the HTTP(S) proxy server address for smart licensing, use the license smart httpProxyAddr command in System EXEC mode.

license smart httpProxyAddr url / ipaddr

Syntax Description

url / ipaddr

Specifies the HTTP proxy address.

Command Default

None

Command Modes

System EXEC (#)

Command History

Release Modification

CCCSP-15.0(1)

This command was introduced.

Usage Guidelines

If HTTP Proxy is required to connect to the smart manager, use the license smart httpProxyAddr command to set the proxy address through which the request will be sent.

Examples

The following example specifies the HTTP(S) proxy server address for smart licensing:


Hostname# license smart httpProxyAddr 10.1.1.1

license smart register token_id

To register the device instance with the Cisco licensing cloud, use license smart register token_id in System EXEC mode. Execute license smart activate cusp before you execute this command.

license smart register token_id TOKEN_ID

Syntax Description

TOKEN_ID

Specifies the token generated from central license server.

Command Default

None

Command Modes

System EXEC (#)

Command History

Release Modification

CCCSP-15.0(1)

This command was introduced.

Usage Guidelines

Use the license smart register token-id command to register the device instance with the Cisco licensing cloud.

Examples

The following example registers and sets the token ID required for registration of smart agent on CCCSP:


Hostname# license smart register token_id MjgxZjdkY2RtMWY5Ny00YTk4LOI2N2MtNjcxNmYaMTkzZGFhLHE0MjA3MjY0%0AMjI5N34Z8OVAOdmNzSjdIeG4MMHIzTmZubNFzMHhK
OTYyeHlUZWQzQzVIM3Jk%0AHVk3MD0A3D%0N 

Sending Register request

show license smart agent-version

To display the version of the Smart Agent running on CCCSP, use the show license smart agent-version command in System EXEC mode.

show license smart agent-version

Syntax Description

This command has no arguments or keywords.

Command Modes

System EXEC (#)

Command History

Release Modification

CCCSP-15.0(1)

This command was introduced.

Examples

The following example shows the version of the Smart Agent running on CCCSP:


Hostname# show license smart agent-version
SmartAgent Version: 3.1.23 

show license smart status application cusp

To capture the current state of the licensing agent, use the show license smart status application cusp command in System EXEC mode.

show license smart status application cusp

Syntax Description

This command has no arguments or keywords.

Command History

Release Modification

CCCSP-15.0(1)

This command was introduced.

Examples

The following example shows current state of the licensing agent:


Hostname# show license smart status application cusp
Smart Agent is Enabled: true
 
Smart Agent current state: UNIDENTIFIED

show license smart summary

To show current state of the CCCSP Smart Licensing application, entitlement count, time left in evaluation mode (if applicable), product specific details, authorization and registration related timers, and to capture recent failures with communication related to licensing server, use the show license smart summary command in System EXEC mode.

show license smart summary

Syntax Description

This command has no arguments or keywords.

Command Modes

System EXEC (>)

Command History

Release Modification

CCCSP-15.0(1)

This command was introduced.

Examples

The following example shows current state of the CCCSP Smart Licensing application:


Hostname# show license smart summary

Smart Agent is Enabled: true
Current State of the Agent: OUT_OF_COMPLIANCE
Evaluation Mode: NO
Registration Successful: YES
Authorization Successful: YES

CPS Count Requested: 5
Configured destination address: https://smartreceiver.cisco.com/licservice/license
HTTP Proxy Address: aaa::3128
License UDI: UC_CUSP:5BJgeZguacK
Product Serial Number: 5BJgeZguacK
Product ID: CCCSP
Product License Version: 10.0
Licensing State: Eval

Evaluation period: 2116
Registration expiry period: XXXX
Latest Failure Reason String Notification: Successful.
Auth period: XXXX 

show license smart udi

To display the Unique Device Identifier (UDI) of CCCSP, use the show license smart udi command in System EXEC mode.

show license smart udi

Syntax Description

This command has no arguments or keywords.

Command Modes

System EXEC (#)

Command History

Release Modification

CCCSP-15.0(1)

This command was introduced.

Examples

The following example shows the CCCSP software UDI:


Hostname# show license smart udi
License UDI: CCCSP:VJQ6q77nQod
Product Serial Number: VJQ6q77nQod
Product ID: CCCSP

show tcp connections

To display the status of Transmission Control Protocol (TCP) connections, use the show tcp connections command in System EXEC mode.

show tcp connections [summary]

Syntax Description

summary

(Optional) Displays the summary statement for all the TCP connections for the CCCSP application.

Command History

Release Modification

CCCSP-15.0(1)

This command was introduced.

Usage Guidelines

The show tcp connections command displays detailed connection information at the operating system level. To obtain information at the application level, use the show sip tcp connections detail command.

Examples

The following example shows the current active tcp connections available on the operating system:


Hostname# show tcp connections

Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:389 0.0.0.0:* LISTEN 1634/slapd
tcp 0 0 0.0.0.0:911 0.0.0.0:* LISTEN 1106/tclsh
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 2637/vsftpd
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1108/sshd
tcp 0 0 127.0.0.1:5432 0.0.0.0:* LISTEN 1824/postmaster
tcp 0 96 10.10.10.198:22 10.10.10.64:62609 ESTABLISHED 2693/sshd: cuspdt [
tcp 0 0 127.0.0.1:389 127.0.0.1:49865 ESTABLISHED 1634/slapd
tcp 0 0 127.0.0.1:58065 127.0.0.1:12345 ESTABLISHED 2751/cli_xconn
tcp 0 0 127.0.0.1:5432 127.0.0.1:45198 ESTABLISHED 2782/postgres: post
tcp 0 0 127.0.0.1:5432 127.0.0.1:56925 ESTABLISHED 2286/postgres: post
tcp 0 0 127.0.0.1:58064 127.0.0.1:12345 ESTABLISHED 2687/cli_xconn
tcp 0 0 10.10.10.198:22 10.10.10.64:62608 ESTABLISHED 2306/sshd: cuspdt [