Cisco Cisco Email Security Appliance C190 Technical References

Page of 314
 
164
Cisco AsyncOS 9.1 for Email CLI Reference Guide
 
Chapter 3      The Commands: Reference Examples
  Networking Configuration / Network Tools
netstat
Description
Use the 
netstat
 command to displays network connections (both incoming and outgoing), routing 
tables, and a number of network interface statistics. Note that this version will not support all arguments. 
Specifically, you cannot use -a, -A, -g, -m, -M, -N, -s. The command was designed to be run in interactive 
mode, so that you may enter netstat, then choose from five options to report on. You can also specify the 
interface to listen on and the interval for display. 
Usage
Commit: This command does not require a ‘commit’.
Cluster Management: This command is restricted to machine mode.
Batch Command: This command does not support a batch format
Example
example.com> netstat
Choose the information you want to display:
1. List of active sockets.
2. State of network interfaces.
3. Contents of routing tables.
4. Size of the listen queues.
5. Packet traffic information.
[1]> 2
Select the ethernet interface whose state you wish to display:
1. Data 1
2. Data 2
3. Management
4. ALL
[]> 1
Show the number of bytes in and out? [N]>
Show the number of dropped packets? [N]> y
Name    Mtu Network       Address              Ipkts Ierrs    Opkts
Oerrs  Coll Drop
Data 1 1500 197.19.1/24   example.com       30536     -        5     -
-    -
example.com>
packetcapture
Description
Use the 
netstat
 command to displays network connections (both incoming and outgoing), routing 
tables, and a number of network interface statistics. Note that this version will not support all arguments. 
Specifically, you cannot use -a, -A, -g, -m, -M, -N, -s. The command was designed to be run in interactive 
mode, so that you may enter netstat, then choose from five options to report on. You can also specify the 
interface to listen on and the interval for display.