Running Packet Trace
There are four steps you take when you use the packet-trace remote feature. For packet-trace local, there are only two.
- Configuring the Oracle® Enterprise Session Border Controller with the trace server information so that the Oracle® Enterprise Session Border Controller knows where to send replicated data. (packet-trace remote only)
- Setting up the capture filter ip proto 4 in your software protocol analyzer if you only want to see the results of the Oracle® Enterprise Session Border Controller packet trace(s). (packet-trace remote only)
- Starting a packet trace.
- Stopping a packet trace.
This section provides information about how to perform all tasks.
Configuring a Trace Server
Trace servers only apply to packet-trace remote. You need to configure a trace server on the Oracle® Enterprise Session Border Controller; this is the device to which the Oracle® Enterprise Session Border Controller sends replicated data. The Oracle® Enterprise Session Border Controller supports one trace server.
To configure a trace server on your Oracle® Enterprise Session Border Controller:
Starting a Remote Packet Trace
You start a remote packet trace on all platforms by entering the appropriate ACLI command with these pieces of information:
- Network interface (name:subport ID combination)
- IP address to be traced; if you do not enter local and/or remote ports when you start the trace, the Oracle® Enterprise Session Border Controller will trace all ports
- (Optional) Local UDP/TCP port on which the Oracle® Enterprise Session Border Controller sends and receives traffic to be traced
- (Optional) Remote UDP/TCP port to which the
Oracle® Enterprise Session Border Controller sends traffic, and from which it receives traffic to be traced; you cannot enter the remote port without specifying a local port
To start a packet trace with local and remote ports specified:
Stopping a Remote Packet Trace
You stop a remote packet trace on all platforms by entering the appropriate ACLI command with these pieces of information:
- Network interface (name:subport ID combination)
- IP address to be traced
- (Optional) Local UDP/TCP port on which the Oracle® Enterprise Session Border Controller sends and receives traffic to be traced
- (Optional) Remote UDP/TCP port to which the Oracle® Enterprise Session Border Controller sends traffic, and from which it receives traffic to be traced
If the packet trace you want to stop has no entries for local and/or remote ports, then you do not have to specify them.
Starting a Local Packet Trace on Non-DPDK Platforms
You use the start a local packet trace by entering the appropriate ACLI command with these pieces of information:
- Network interface (name:subport ID combination)
- (Optional) Enter a tcpdump command line within quotes
Note that the system supports local packet trace on all platforms.
Stopping a Local Packet Trace on Non-DPDK Platforms
Type Ctrl-C to stop a local packet trace. This also re-enables the command line session.
Starting a Local Packet Trace on DPDK Systems
Local packet-trace syntax differs on the platforms using the DPDK datapath. The primary differences include using the start argument and the ability to continue to use the ACLI while running packet-capture. Additional considerations include:
- You can run only a single capture on a given interface. However, you can run multiple captures simultaneously, as long as they are on separate interfaces.
- You must manually stop a local packet capture prior to restarting it. The command syntax does not notify you of this requirement prior to capture re-start. Running the command to either "stop all" or "stop the specific capture" allows you to successfully restart your capture.
You use the start a local packet trace by entering the appropriate ACLI command with these pieces of information:
- Network interface (name:subport ID combination)
- (Optional) Enter a tcpdump command line within quotes
Note:
When operating on a VNF, The Oracle® Enterprise Session Border Controller requires that you prepend the VLAN key to a capture filter to run packet-trace on VLAN interface. These commands take the following form.ORACLE# packet-trace local start <network interface> < vlan [vlan_id]&& capture filter>
Examples include:
ORACLE# packet-trace local start M00:100 "vlan && port 5060"
or
ORACLE# packet-trace local start M00:100 "vlan 100 && port 5060"
Stopping a Local Packet Trace on DPDK Systems
You stop a specific local packet trace by entering the appropriate ACLI command with these pieces of information:
- Network interface (name:subport ID combination)
- (Optional) Enter a tcpdump command line within quotes
If the packet trace you want to stop has no entries for local and/or remote ports, then you do not have to specify them.