Show Commands for CUBE
This section provides examples of the following SBC show commands that can be used to verify SBC configurations:
Display Adjacency States
Display Active Calls
Display Call Details
Display Call Statistics
Display SIP Statistics
Display Overall Media Statistics
Display Collected Media Flow Statistics
Display Global List of Media Statistics
Display Platform Software Status Control Processor
Other Useful Show Commands
For descriptions of the various fields of the display outputs, see Cisco Unified Border Element (SP Edition) Command Reference: Unified Model, which is available at:
http://www.cisco.com/en/US/docs/ios/sbc/command/reference/sbcu_book.html
Display Adjacency States
The show sbc sbe adjacencies command displays the state of the adjacencies that are configured on SBEs, as shown in the following example:
Router# show sbc MY_SBC sbe adjacencies
Name Type State Description
-----------------------------------------------------------
Display Active Calls
The show sbc sbe calls command displays a list of active calls, as shown in the following example:
Router# show sbc MY_SBC sbe calls
Call State Type Src Adjacency Dest Adjacency
---------------------------------------------------------------------
78 Active Audio CUCM2 CUCM1
Display Call Details
The show sbc sbe call command displays various details about calls in process. In the following example, the details are for six branches of a call:
Router# show sbc MY_SBC sbe call 6 branches
Capabilities Calling Number Called Number Billing ID DTMF
1 22222 4C17E116202020203939383300000000000000000000009B Media(RFC2833)
2 003072211111 4C17E116202020203939383300000000000000000000009C Media(RFC2833)
Display Call Statistics
The show sbc sbe call-stats command displays a list of the statistics for all the calls for a specified duration, as shown in the following example:
Router# show sbc MY_SBC sbe call-stats
Successful call attempts = 0
Call resources failed = 0
Call signaling failed = 0
Total call setup failures = 8
Total call update failures = 0
Call setup failed due to NA = 0
Call setup failed due to rtg = 8
Call setup failed due to CAC = 0
CAC fails due to num call lim = 0
CAC fails due to call rate lim = 0
CAC fails due to num media channels lim = 0
CAC fails due to num media updates lim = 0
CAC fails due to bandwidth lim = 0
CAC fails due to in-call rate lim = 0
CAC fails due to out-call rate lim = 0
Display SIP Statistics
The show sbc sbe sip statistics command displays the aggregated SIP statistics handled by SBC, as shown in the following example:
Router# show sbc global sbe sip statistics
Total SIP Transactions: 6
SIP Client Errors (4xx) 0 0
SIP Server Errors (5xx) 0 0
SIP Global Errors (6xx) 0 0
Internally Generated SIP Response Classes:
SIP Client Errors (4xx) 0
SIP Server Errors (5xx) 0
SIP Global Errors (6xx) 0
Transaction Manager (TM) Internal Statistics:
Request/Response Congestion Failures = 0
Current Transactions awaiting response = 0
Free Buffers in TM inbound pool = 1200
Free Buffers in TM outbound pool = 20000
TM Congestion Level (uncongested = 0) = 0
Congestion Queue - Packets Accepted = 0
Congestion Queue - Packets Rejected = 0
Congestion Queue - Length = 0
Congestion Queue - Time Since Reset(ms)= 904270
Congestion Queue - Oldest Pkt Age (ms) = 0
Congestion Queue - Max Pkt Delay (ms) = 0
Control Block (CB) utilization:
Server Location NAPTR CBs = 0
Server Location SRV CBs = 0
Server Location address CBs = 2
Server Location Cache CBs = 0
Server Location Alias CBs = 0
Proxy Proto Dialog CBs = 0
Proxy Server Transaction CBs = 0
Proxy Client Transaction CBs = 0
Display Overall Media Statistics
The show sbc dbe media-stats command displays the statistics about media streams that have been processed, as shown in the following example:
Router# show sbc mySbc dbe media-stats
Max Term per Context = 68
Available Bandwidth = Unlimited
Available Packet Rate = 999800 (packets/second)
Active Signaling Flows = 0
Total Signaling Flows = 1
SBC Packets Discarded = 0
Display Collected Media Flow Statistics
The show sbc dbe media-flow-statsf command displays conformance and failure statistics for a media flow, as shown in the following example:
Router# show sbc global dbe media-flow-stats
State of Media Flow: Allocated
Call Established Time: 16:54:29 UTC Feb 20 2008
Flow Priority: Unspecified
Name mycompany/voice/gn/0/1/0/1/ac/3
Reserved Bandwidth: 12600 (bytes/second)
VLAN Tags(Priorities): 0(0), 0(0)
Local Address: 202.50.2.1
Remote Address: 10.10.127.22
Data Discarded: 0 (bytes)
Time To Recovery: Not known
RTCP Packets Sent: Not known
RTCP Packets Received: Not known
RTCP Packets Lost: Not known
Unexpected SrcAddr Packets: No
Billing ID: 000000000000000000000000000000000000000000000000
Media directions allowed: inactive
Max Burst size: 3250 (bytes) <===== additional fields for side A
Delay variation tolerance: 0 (ms)
SDP string: m=audio $ RTP/AVP 0
Graceful deactivation: No
Name mycompany/voice/gn/0/2/0/1/bb/4
Reserved Bandwidth: 12600 (bytes/second)
VLAN Tags(Priorities): 0(0), 0(0)
Local Address: 202.50.2.1
Remote Address: 200.0.0.1
Data Discarded: 0 (bytes)
Time To Recovery: Not known
RTCP Packets Sent: Not known
RTCP Packets Received: Not known
RTCP Packets Lost: Not known
Unexpected SrcAddr Packets: No
Billing ID: 000000000000000000000000000000000000000000000000
Media directions allowed: inactive
Max Burst size: 3250 (bytes) <===== additional fields for Side B
Delay variation tolerance: 0 (ms)
SDP string: m=audio $ RTP/AVP 0
Graceful deactivation: No
Display Global List of Media Statistics
The show sbc dbe forwarder-stats command displays global conformance and failure statistics, as shown in the following example:
Router# show sbc global dbe forwarder-stats
IOSd MPF Stub Message statistics
--------------------------------
Total global PMI messages received = 1
Total global PMI messages transmitted = 1
Total call PMI messages received = 0
Total call PMI messages transmitted = 0
Total global PMI message handling failures = 0
Total call PMI message handling failures = 0
Total global TDL messages received = 1
Total global TDL messages transmitted = 1
Total call TDL messages received = 0
Total call TDL messages transmitted = 0
Total global TDL message handling failures = 0
Total call TDL message handling failures = 0
Total packets injected = 0
Total injected packets dropped = 0
Total punted packets dropped = 0
Total global message timeouts = 0
Total call message timeouts = 0
Call ID database is NOT Initialised
IOSd MPF Stub Call statistics
-----------------------------
Number of currently in-use Calls = 0
High-water number of in-use Calls = 0
Maximum number of in-use Calls supported = 0
SBC Media Forwarder Statistics
------------------------------
Total packets received = 28416
Total packets forwarded = 14336
Total packets dropped = 14080
Incoming packets diverted to SBC subsystem = 0
Outgoing packets inserted by SBC subsystem = 0
Detailed breakdown of statistics:
Wrong source for flow = 0
Ingress flow receive disabled = 0
Egress flow send disabled = 0
Not conforming to flowspec = 14080
Excessive RTCP packet rate = 0
Borrowed for outgoing DTMF = 0
Unknown destination address = 0
Reprocess limit exceeded = 0
H.248 control packets = not implemented
Packets containing options = 0
Unexpected IP protocol = 0
Packets from invalid port range = 0
Punted packets dropped through rate limiting = 0
Packets colored with configured DSCP = 0
Diverted DTMF packets dropped:
Excessive DTMF packet rate = 0
Diverted packet queue full = not implemented
Inserted packets dropped:
Flow inactive or disabled = 0
No outgoing packet buffer available = 0
Generated event information:
Number of media UP events = 0
Number of media DOWN events = 0
Number of unexpected source events = 0
Platform specific statistics:
Packets learn source address = 0
Packets Learn source address timed out = 0
SBC Media Forwarder statistics can wrap after
approximately 18 quintillion packets. For more accurate
statistics on completed calls, please use
show sbc ... dbe media-stats
Display Platform Software Status Control Processor
The show platform software status control-processor brief command displays information about the usage of the route processor, as shown in the following example:
Router# show platform software status control-processor brief
Slot Status 1-Min 5-Min 15-Min
RP0 Healthy 0.02 0.10 0.08
RP1 Healthy 0.00 0.13 0.09
ESP0 Healthy 0.00 0.15 0.10
ESP1 Healthy 0.01 0.18 0.13
SIP0 Healthy 0.00 0.06 0.04
Memory (kB)
Slot Status Total Used (Pct) Free (Pct) Committed (Pct)
RP0 Healthy 8133924 1804132 (22%) 6329792 (77%) 5132856 (63%)
RP1 Healthy 8133924 1758800 (21%) 6375124 (78%) 5130308 (63%)
ESP0 Healthy 2022288 552424 (26%) 1469864 (70%) 2464260 (117%)
ESP1 Healthy 2022288 552616 (26%) 1469672 (70%) 2464680 (117%)
SIP0 Healthy 478904 331268 (63%) 147636 (28%) 271072 (51%)
CPU Utilization
Slot CPU User System Nice Idle IRQ SIRQ IOwait
RP0 0 0.19 0.29 0.00 99.40 0.00 0.09 0.00
1 0.00 0.00 0.00 100.00 0.00 0.00 0.00
RP1 0 0.20 0.60 0.00 99.19 0.00 0.00 0.00
1 0.10 1.20 0.00 98.70 0.00 0.00 0.00
ESP0 0 1.60 2.70 0.00 95.69 0.00 0.00 0.00
ESP1 0 0.20 0.10 0.00 99.69 0.00 0.00 0.00
SIP0 0 1.60 2.00 0.00 96.40 0.00 0.00 0.00
Other Useful Show Commands
General
show clock
show version
show running-config
DBE
show sbc dbe address
show sbc dbe controllers
show sbc dbe forwarder-stats
show sbc dbe media-flow-stats
show sbc dbe media-stats
show sbc dbe signaling-flow-stats
show sbc dbe history
SBE
show sbc sbe sip stats
show sbc sbe call-rate-stats
show sbc sbe calls
show sbc sbe adjacency
show sbc sbe call-stats-currenthour
show sbc sbe policy-failure-stats currenthour