Chapter 13 Displaying and Capturing Live Traffic on an Interface

Capturing Live Traffic on an Interface

The packet capture command captures the libpcap output into a local file. Use the packet display packet-file[verbose] [expression expression] command to view the local file. Use the packet display file-infoto display information about the local file, if any.

The following options apply:

interface_name—Specifies the logical interface name. You can only use an interface name that exists in the system.

snaplen—Specifies the maximum number of bytes captured for each packet (optional). The valid range is 68 to 1600. The default is 0.

count—Specifies the maximum number of packets to capture (optional). The valid range is 1 to 10000.

Note If you do not specify this option, the capture terminates after the maximum file size is captured.

expression—Specifies the packet-capture filter expression. This expression is passed directly to TCPDUMP and must meet the TCPDUMP expression syntax.

file-info—Displays information about the stored packet file.

File-infodisplays the following information:

Captured by: user:id, Cmd: cliCmd

Start: yyyy/mm/dd hh:mm:ss zone, End: yyyy/mm/dd hh:mm:ss zone or in-progress

Where user = username of user initiating capture, id = CLI ID of the user, and cliCmd = command entered to perform the capture.

verbose—Displays the protocol tree for each packet rather than a one-line summary. This parameter is optional.

Capturing Live Traffic on an Interface

To configure the sensor to capture live traffic on an interface, follow these steps:

Step 1 Log in to the sensor using an account with administrator or operator privileges.

Step 2 Capture the live traffic on the interface you are interested in, for example, GigabitEthernet0/1.

sensor# packet capture GigabitEthernet0/1

Warning: This command will cause significant performance degradation

tcpdump: WARNING: ge0_1: no IPv4 address assigned

tcpdump: listening on ge0_1, link-type EN10MB (Ethernet), capture size 65535 bytes 125 packets captured

126 packets received by filter

0 packets dropped by kernel

Step 3 View the captured packet file.

sensor# packet display packet-file

reading from file /usr/cids/idsRoot/var/packet-file, link-type EN10MB (Ethernet)

03:03:13.216768 802.1d config TOP_CHANGE

8000.00:04:9a:66:35:01.8025 root 8000.0

0:04:6d:f9:e8:82 pathcost 8 age 2 max 20

hello 2 fdelay 15

03:03:13.232881 IP 64.101.182.244.1978 >

10.89.130.108.23: . ack 3266153791 win

 

 

64328

 

 

 

 

 

03:03:13.232895 IP 10.89.130.108.23 > 64.101.182.244.1978: P 1:157(156) ack 0 wi

 

 

n 5840

 

 

03:03:13.433136 IP 64.101.182.244.1978 > 10.89.130.108.23: . ack 157 win 65535

 

 

03:03:13.518335 IP 10.89.130.134.42342 > 255.255.255.255.42342: UDP, length: 76

 

 

Cisco Intrusion Prevention System Sensor CLI Configuration Guide for IPS 7.2

 

 

 

 

 

 

OL-29168-01

 

 

13-5

 

 

 

 

 

Page 371
Image 371
Cisco Systems IPS4510K9 manual Capturing Live Traffic on an Interface, View the captured packet file, 13-5

IPS4510K9 specifications

Cisco Systems has long been a leading player in network security, and its IPS (Intrusion Prevention System) series is a testament to its commitment to safeguarding digital environments. Among its notable offerings are the IPS4510K9 and IPS4520K9 models, both designed to provide advanced threat protection for mid-sized to large enterprise networks.

The Cisco IPS4510K9 and IPS4520K9 are distinguished by their cutting-edge features that help organizations defend against a myriad of cyber threats. These systems utilize a multi-layered approach to security, integrating intrusion prevention, advanced malware protection, and comprehensive visibility across the network.

One of the primary characteristics of the IPS4510K9 is its high performance. It boasts a throughput of up to 1 Gbps, making it suitable for environments that demand rapid data processing and real-time responses to threats. The IPS4520K9, on the other hand, enhances that capability with improved throughput of up to 2 Gbps, accommodating larger enterprises with heavier network traffic. These models are equipped with powerful processors that support complex signature matching and can intelligently distinguish between legitimate traffic and potential threats.

In addition to performance, both models are designed with scalability in mind. They can be easily integrated into existing Cisco infrastructures. This facilitates a seamless enhancement of security without causing significant interruptions to ongoing operations. Moreover, they offer flexible deployment options, allowing organizations to operate them inline or out of band depending on their specific needs.

The Cisco IPS4510K9 and IPS4520K9 leverage advanced detection technologies, utilizing a variety of signature types and heuristic analysis to detect known and unknown threats effectively. They are equipped with real-time alerting and reporting capabilities, giving security teams immediate visibility into potential breaches and enabling them to respond swiftly.

Furthermore, both models support a range of management options through the Cisco Security Manager, allowing for centralized administration, streamlined policy management, and enhanced monitoring capabilities. Automated updates ensure the systems remain current with the latest threat intelligence, vital for staying ahead of evolving cyber threats.

In summary, the Cisco Systems IPS4510K9 and IPS4520K9 represent powerful solutions for organizations seeking robust intrusion prevention capabilities. With their high performance, scalability, and advanced detection technologies, these systems are essential tools in the ever-changing landscape of cybersecurity, providing enterprises with the peace of mind needed to operate securely in today's digital world.