TSCF Management/Monitoring

A series of show commands provides data on:
  • TSCF global statistics
  • address pool usage
  • tunnel creation and state

TSCF Global Statistics

The show tscf statistics brief command displays summary TSCF global data.

ORACLE# show tscf statistics brief
22:08:16-133
Tunnel Capacity=200000
                            -- Period --  ----- Lifetime ------
                     Active High   Total  Total   PerMax   High
Established Tunnels       0    0       0      0        0      0

22:08:16-133
TSCF Statistics       ----- Lifetime ------
                  Recent     Total   PerMax
Tunnel Adds            0         0        0
Tunnel Rejects         0         0        0
Tunnel Deletes         0         0        0
Tunnel Errors          0         0        0
ORACLE#

The show tscf statistics command displays verbose TSCF global data.

ORACLE# show tscf statistics
22:08:02-119
Tunnel Capacity=200000
                                -- Period --  ----- Lifetime ------
                        Active  High   Total  Total  PerMax    High
Established Tunnels          0     0       0      0       0       0

22:08:02-119
TSCF Statistics      ------ Lifetime -------
                     Recent  Total    PerMax
Tunnel Adds               0      0         0
Tunnel Rejects            0      0         0
Tunnel De1etes            0      0         0
Tunnel Errors             0      0         0

Active Tunnels                              : 1500
Established Tunnels                         : 1500
Finished Tunnels                            : 0
Released Tunnels                            : 1500
Max Active Tunnels                          : 0
Failed Tunnels - Malformed Request          : 0
Fai1ed Tunnels - Non Existing Tunnel Id     : 0
Fai1ed Tunnels - Out of Resources           : 0
Fai1ed Tunnels - Server Failure             : 0
Fai1ed Tunnels - Version Not Supported      : 0
ORACLE#

Address Pool Statistics

The show tscf address-pool all command displays address pool data for all configured address pools.
ORACLE# show tscf address-pool all

=======================================================================
#  |Addr Pool Name            |Total    |In Use   |Free     |Invalid  |
=======================================================================
1  |pool1                     |65279    |1500     |63779    |0        |
=======================================================================
ORACLE#

The show tscf address-pool <addressPoolName> command displays data for a single specified address pool.

ORACLE# show tscf address-pool pool1

=======================================================================
#  |Addr Pool Name            |Total    |In Use   |Free     |Invalid  |
=======================================================================
1  |pool1                     |65279    |1500     |63779    |0        |
=======================================================================
ORACLE#

Tunnel Statistics

The show tscf tunnel all command displays basic summary information for each tunnel.

ORACLE# show tscf tunnel all

==================================================================
#      |    Tunnel Id    |    Inner IP    |    Outer IP    |St   |
==================================================================
      1| 0000000100000042|      10.10.0.66|   192.168.50.77|  A  |
      2| 0000000100000043|      10.10.0.67|   192.168.50.77|  A  |
==================================================================
ORACLE#

The show tscf tunnel all detailed command displays verbose information for each tunnel.

ORACLE# show tscf tunnel all detailed

Prot = Protocol
Att = Attributes. [6 Attributes]
      [R = Redundancy # = RedundacyFactor, P = Primary, D = DDT, S = Server Initiated Keepalive/C= client Initiated Keepalive, T/F = Nagle On(T)/Off(F)
       H = Created on Standby]
Creation time and date (mm/dd/yy)
T1 = Time (seconds) since last data packet received from TSC
T2 = Time (seconds) since last data packet sent on TSC
T3 = Time (seconds) since last control message received from TSC
T4 = Time (seconds) since last control message sent on TSC
T5 = Time (seconds) in current state (Active or Persistent)
St = State [S=Start  No=NoSession  I=Init  Ne=Negotiating A=Active P=Persistent R=Released]
RC = Reconnect count
======================================================================
   #   |    Tunnel Id    |    Inner IP    |    Outer IP    : Port |...
======================================================================
      1| 0000000100000042|      10.10.0.66|   192.168.50.77: 43354|...
      2| 0000000100000043|      10.10.0.67|   192.168.50.77: 54458|...
======================================================================
ORACLE#

The show tscf tunnel peer-inner-ip <ipAddress> command displays summary information for a specific tunnel identified by its IP address as assigned from an address pool.

ORACLE# show tscf tunnel peer-inner-ip 10.10.0.66

...

======================================================================
   #   |    Tunnel Id    |    Inner IP    |    Outer IP    : Port |...
======================================================================
      1| 0000000100000042|      10.10.0.66|   192.168.50.77: 43354|...
======================================================================
ORACLE#

The show tscf tunnel peer-outer-ip <ipAddress> command displays summary information for a set of tunnels emanating from the specified client interface address.

ORACLE# show tscf tunnel peer-outer-ip 192.168.50.77

...

======================================================================
   #   |    Tunnel Id    |    Inner IP    |    Outer IP    : Port |...
======================================================================
      1| 0000000100000042|      10.10.0.66|   192.168.50.77: 43354|...
      2| 0000000100000043|      10.10.0.67|   192.168.50.77: 54458|...
======================================================================
ORACLE#

The show tscf tunnel state <state> command displays basic tunnel data for all tunnels in the specified state.

<state> can take one of the following values: Established, Finished, Negotiating, NoSession, Released, Start, Unassigned.

ORACLE# show tscf tunnel state Active

...

======================================================================
   #   |    Tunnel Id    |    Inner IP    |    Outer IP    : Port |...
======================================================================
      1| 0000000100000042|      10.10.0.66|   192.168.50.77: 43354|...
      2| 0000000100000043|      10.10.0.67|   192.168.50.77: 54458|...
======================================================================
ORACLE#

The show tscf tunnel tscf-interface <realmID> command displays basic tunnel data for all tunnels supported by a TSCF port. The TSCF port is identified by the name of its supporting realm.

ORACLE# show tscf tunnel tscf-interface access

...

======================================================================
   #   |    Tunnel Id    |    Inner IP    |    Outer IP    : Port |...
======================================================================
      1| 0000000100000042|      10.10.0.66|   192.168.50.77: 43354|...
      2| 0000000100000043|      10.10.0.67|   192.168.50.77: 54458|...
======================================================================
ORACLE#

The show tscf tunnel tunnel-id <tunnelID> command displays basic tunnel data for a specific tunnel identified by its tunnel ID.

A tunnel ID is assigned by the TSC server during the configuration exchange, and can be most easily obtained with the show tscf tunnel all command.

ORACLE# show tscf tunnel tunnel-id 0000000100000042

...

======================================================================
   #   |    Tunnel Id    |    Inner IP    |    Outer IP    : Port |...
======================================================================
      1| 0000000100000042|      10.10.0.66|   192.168.50.77: 43354|...
======================================================================
ORACLE#

Tunnel Deletion

ACLI CLI commands provide the ability to delete an individual tunnel, a group of tunnels, or all tunnels.

Use the clear-tunnel tscf all command to delete all tunnels.

ORACLE# clear-tunnel tscf all
WARNING: This will clear all tunnels and may cause service outage!!
Clear all TSCF tunnels ? [y/n]?: y
Command was successful. Deleted 1502 TSCF tunnels.
ORACLE#

Use the clear-tunnel tscf interface ... command to delete a group of tunnels.

This command deletes all tunnels on a specified interface

ORACLE# clear-tunnel tscf M1:1
WARNING: This will clear all tunnels and may cause service outage!!
Clear all TSCF tunnels ? [y/n]?: y
Command was successful. Deleted 753 TSCF tunnels.
ORACLE#

This command deletes all TLS tunnels on a specified TSCF port

ORACLE# clear-tunnel tscf M1:1 tls 192.168.11.22:5060
WARNING: This will clear all tunnels on this port and may cause
service outage!!
Clear all TSCF tunnels ? [y/n]?: y
Command was successful. Deleted 753 TSCF tunnels.
ORACLE#

This command deletes all DTLS tunnels on a specified TSCF port

ORACLE# clear-tunnel tscf M1:1 dtls 192.168.11.22:5060
WARNING: This will clear all tunnels on this port and may cause
service outage!!
Clear all TSCF tunnels ? [y/n]?: y
Command was successful. Deleted 226 TSCF tunnels.
ORACLE#

This command deletes all TCP tunnels on a specified TSCF port

ORACLE# clear-tunnel tscf M1:1 tcp 192.168.11.22:5060
WARNING: This will clear all tunnels on this port and may cause
service outage!!
Clear all TSCF tunnels ? [y/n]?: y
Command was successful. Deleted 10 TSCF tunnels.
ORACLE#

This command deletes all UDP tunnels on a specified TSCF port

ORACLE# clear-tunnel tscf M1:1 udp 192.168.11.22:5060
WARNING: This will clear all tunnels on this port and may cause
service outage!!
Clear all TSCF tunnels ? [y/n]?: y
Command was successful. Deleted 10 TSCF tunnels.
ORACLE#

Use the clear-tunnel tscf tunnel-id ... command to delete a single tunnel.

ORACLE# clear-tunnel tscf tunnel-id feed3eef000000cf
WARNING: This will clear this tunnel and may cause service outage!!
Clear this TSCF tunnels ? [y/n]?: y
Command was successful. Deleted 1 TSCF tunnels.
ORACLE#