Cisco Cisco Email Security Appliance C160 Références techniques

Page de 316
164
C I S C O   I R O N P O R T   A S Y N C O S   7 . 3   C L I   R E F E R E N C E   G U I D E
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
SOA
the domain's “start-of-authority” information
TXT
the text information
Code Example 3-107 
netstat
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     -
-    -
Table 3-6
nslookup
 Command Query Types
Query Type
Description