Command
|
Description
|
Examples
|
debug iox config level error
|
Debugs IOx
configuration errors.
|
Router#debug iox config level error
*Oct 7 08:30:27.951 PDT:
if_c800_iox_infra_cli_handler.c ::
debug_iox_configuration_command_han
dler() : 242 - Changed
configuration debug level to 3
iox_819_2#
iox_819_2#
iox_819_2#conf t
Enter configuration commands, one
per line. End with CNTL/Z.
iox_819_2(config)#iox
iox_819_2(config-iox)#host ip add
192.168.100.2 255.255.255.0
iox_819_2(config-iox)#
*Oct 7 08:30:44.043 PDT:
if_c800_iox_trans_mgr.c ::
iox_create_transaction() : 50 -
Created transaction: tid=14,
pid=155
*Oct 7 08:30:44.043 PDT:
if_c800_iox_cli_handler.c ::
cfg_iox_host_ip_address_cmd_handler
() : 387 - host ip address entered
address: 192.168.100.2 mask:
255.255.255.0
*Oct 7 08:30:44.043 PDT:
if_c800_iox_cli_handler.c ::
iox_validate_host_ip_address() :
309 - All checks passed
....................
|
debug iox config level debug
|
Debugs IOx
configuration.
|
Router#debug iox config level debug
iox_819_2#conf t
Enter configuration commands, one
per line. End with CNTL/Z.
iox_819_2(config)#iox
iox_819_2(config-iox)#host ip
default-gateway 192.168.100.1
% configuration failure: host ip
default-gateway
iox_819_2(config-iox)#
*Oct 7 08:35:10.231 PDT:
SCORE_ERR:
score_ipc_send_msg_socket 394 Send
failed, socket down
*Oct 7 08:35:10.231 PDT:
if_c800_iox_cli_handler.c ::
cfg_iox_host_default_gateway_cmd_ha
ndler() : 645 - Sending host ip
message unsuccessful
|
debug iox config level warning
|
Debugs IOx
configuration warnings.
|
Router#debug iox config level
warning
iox_819_2#conf t
Enter configuration commands, one
per line. End with CNTL/Z.
iox_819_2(config)#iox
iox_819_2(config-iox)#host ip
default-gateway 192.168.100.1
% configuration failure: host ip
default-gateway
iox_819_2(config-iox)#
*Oct 7 08:37:06.067 PDT:
SCORE_ERR:
score_ipc_send_msg_socket 394 Send
failed, socket down
*Oct 7 08:37:06.067 PDT:
if_c800_iox_cli_handler.c ::
cfg_iox_host_default_gateway_cmd_ha
ndler() : 645 - Sending host ip
message unsuccessful
|
debug iox host-agent level error
|
Use this
command if you face any IOx configuration issue from the IOS side. This allows
you to monitor messaging between IOS and IOX framework. Note that this is for
debugging IOS config/messaging and does not alter the debugging levels of IOx
platform in general.
|
Router#debug iox host-agent level
error
Oct 23 22:37:40.598:
if_c800_iox_trans_mgr.c ::
iox_create_transaction() : 50 -
Created transaction: tid=2, pid=103
*Oct 23 22:37:40.598:
if_c800_iox_infra_cli_handler.c ::
set_debug_level() : 151 -
***************[IOS-DUMP]**********
*****
*Oct 23 22:37:40.598:
if_c800_iox_infra_cli_handler.c ::
set_debug_level() : 151 - 00 0F 00
06 00 00 00 02 07 01 00 08 01 03
*Oct 23 22:37:40.598:
if_c800_iox_infra_cli_handler.c ::
set_debug_level() : 151 -
***********************************
*****
*Oct 23 22:37:40.598:
if_c800_iox_ipc_utils.c ::
iox_msg_send() : 137 - Pid: 103
Sending iox message to Score
*Oct 23 22:37:40.598:
if_c800_iox_cli_handler.c ::
iox_cli_wait_for_response() : 207 -
CLI is waiting for response - pid:
103
*Oct 23 22:37:40.810:
if_c800_iox_ipc_main.c ::
iox_recv_msg_from_ioxhad() : 35 -
***************[IOS-DUMP]**********
*****
*Oct 23 22:37:40.810:
if_c800_iox_ipc_main.c ::
iox_recv_msg_from_ioxhad() : 35 -
00 10 00 03 00 00 00 02 00 01 00
*Oct 23 22:37:40.810:
if_c800_iox_ipc_main.c ::
iox_recv_msg_from_ioxhad() : 35 -
***********************************
*****
|
debug iox host-agent level debug
|
Debugs IOx
host agent.
|
Router#debug iox host-agent level
debug
*Oct 7 08:43:04.727 PDT:
if_c800_iox_infra_cli_handler.c ::
set_debug_level() : 151 -
***************[IOS-DUMP]**********
*****
*Oct 7 08:43:04.727 PDT:
if_c800_iox_infra_cli_handler.c ::
set_debug_level() : 151 - 00 0F 00
06 00 00 00 14 07 01 00 08 01 03
*Oct 7 08:43:04.727 PDT:
if_c800_iox_infra_cli_handler.c ::
set_debug_level() : 151 -
***********************************
*****
|
debug iox host-agent level warning
|
Debugs IOx
host agent warnings.
|
Router#debug iox host-agent level
warning
|
reset iox
|
Resets the
IOx framework.
|
Router#reset iox
*Oct 23 22:41:05.406:
if_c800_iox_trans_mgr.c ::
iox_create_transaction() : 50 -
Created transaction: tid=4, pid=103
*Oct 23 22:41:05.406:
if_c800_iox_infra_cli_handler.c ::
exec_iox_infra_command_handler() :
298 -
***************[IOS-DUMP]**********
*****
*Oct 23 22:41:05.406:
if_c800_iox_infra_cli_handler.c ::
exec_iox_infra_command_handler() :
298 - 00 11 00 03 00 00 00 04 07 01
01
*Oct 23 22:41:05.406:
if_c800_iox_infra_cli_handler.c ::
exec_iox_infra_command_handler() :
298 -
***********************************
*****
*Oct 23 22:41:05.406:
if_c800_iox_ipc_utils.c ::
iox_msg_send() : 137 - Pid: 103
Sending iox message to Score
% Couldn't process IOx
Infrastructure response
|
show raw-socket tcp sessions
|
Displays the
status of the raw socket session.
|
Router#show raw-socket tcp sessions
-----------------------------------
--------------- TCP Sessions
-----------------------------------
-------------------
interface tty socket mode
local_ip_addr local_port
dest_ip_addr dest_port up_time
idle_time/timeout vrf_name
Se0 7 0 client
10.10.10.1 34383
10.10.10.2 32000
00:00:10 00:00:10 /5 min
internal-score-vrf
|
show raw-socket tcp statistic
|
Displays the statistics of the raw sockets.
|
Router# show raw-socket tcp
statistic
-----------------------------------
---------- Network-Serial
Statistics
-----------------------------------
-------------------
Interface tty sessions
network_in_bytes
network_out_bytes
network_to_tty_frames
tty_to_network_frames vrf_name
Se0 7 1 6
6 1
1
internal-score-vrf
--------------------------------
CEF Connections Statistics
-----------------------
tty_id network_in_frames
network_in_bytes
network_out_frames
network_out_bytes
0 0 0
0 0
0 0 0
0 0
|
show virtual-service detail
|
Displays application specific information.
|
Router# show virtual-service detail
name APP
Virtual service APP detail
State : Activated
Package information
Name : APP
Path :
flash:/iox/tmp/APP.ova
Application
Name :
KVM1_Application
Installed version : 2.0
Description : KVM1
Linux Test Distro
Signing
Key type : Unsigned
Method : SHA-1
Licensing
Name :
kvm1_license
Version : 3.3
Activated profile name:
Resource reservation
Disk : 16 MB
Memory : 256 MB
CPU : 55%
system CPU
VCPUs : 1
(sockets:1 cores:1 threads:1)
Attached devices
Type Name
Alias
-----------------------------------
----------
NIC dp_1_0
net1
Serial/shell
serial0
Disk shared_moun
Network interfaces
MAC address
Attached to interface
-----------------------------------
-------------------
52:54:11:11:00:FE
VirtualPortGroup0
Resource admission (without
profile) : passed
Disk space : 16MB
Memory : 256MB
CPU : 55% system CPU
VCPUs : 1 (sockets:1
cores:1 threads:1)
|
show virtual-service global
|
Displays virtual service global information.
|
Router# show virtual-service global
Virtual Service Global State and
Virtualization Limits:
Infrastructure version : 1.7
Total virtual service installed : 1
Total virtual service activated : 1
Maximum VCPUs per virtual service :
1
Machine types supported : KVM
Machine types disabled : LXC
Resource virtualization limits:
Name Quota
Committed Available
-----------------------------------
---------------------------
system CPU (%) 80
55 25
memory (MB) 256
256 0
flash (MB) 1024
11 625
|
show virtual-service list
|
Lists the applications.
|
Router# show virtual-service list
Virtual Service List:
Name Status
Package Name
-----------------------------------
-----------------------------------
--------
APP Activated
APP.ova
|
show virtual-service profile
|
Displays information about the appliance profile.
|
Router# show virtual-service
profile
|
show virtual-service utilization
|
Displays information about the utilization of appliances.
|
Router# show virtual-service
utilization name APP
Virtual-Service Utilization:
CPU Utilization:
Requested Application
Utilization: 55 %
Actual Application Utilization: 1
% (30 second average)
CPU State: R : Running
Memory Utilization:
Memory Allocation: 262144 Kb
Memory Used: 262144 Kb
Network Utilization:
Name: dp_1_0, Alias: net1
RX Packets: 16
TX Packets: 24
RX Bytes: 2416
TX Bytes: 6624
RX Errors: 0
TX Errors: 0
Storage Utilization:
Name: shared_mount, Alias:
Capacity(1K blocks): 16384
Used(1K blocks): 20
Available(1K blocks): 16364
Usage: 1 %
|
virtual-service connect name
appname
console
|
Connects to the console of the VM environment that the IOx
application is running.
|
Router# virtual-service connect
name sensorbot console
|