Chapter 2 Setting Up The NAM Traffic Analyzer

Traffic

Step 13 Type exit to come out of the subcommand mode and create the data source:

root@172-20-104-107.cisco.com(sub-data-source-netflow)# exit Data source created successfully, ID = 3

The data source is now created, and NDE records from the device will be received and accepted by the NAM as they arrive.

Deleting NetFlow Data Sources Using the Web GUI

To delete an existing NetFlow data source, use the following steps. Note that if the auto-creation feature is turned on, and the device continues to send NDE packets to the NAM, the data source will be re-created again automatically as soon as the next NDE packet arrives. Therefore, if you wish to delete an existing NetFlow data source, it is usually advisable to first turn the NetFlow auto-create feature off, as described earlier.

Step 1 Click Setup > Traffic > NAM Data Sources.

Step 2 Click on the data source you would like to delete.

Step 3 Click the Delete button along the bottom of the window.

Deleting NetFlow Data Sources Using the CLI

To delete a NetFlow data source using the CLI, use the following steps. Note that when using the CLI, there are generally two separate phases involved. First you should delete the data source, then delete the device if you have no other data sources using the same device (for example with a different Engine ID value). As a shortcut, if you simply delete the device, then all data sources using that device will also be deleted.

Step 1 Show all data sources so you can find the ID of the one you want to delete:

root@172-20-104-107.cisco.com# show data-source

 

DATA SOURCE

ID

: 1

 

 

 

 

DATA SOURCE

NAME : DATA PORT 1

 

TYPE

 

: Data Port

 

PORT NUMBER

 

: 1

 

 

 

-----------

 

 

 

 

 

 

DATA SOURCE

ID

: 2

 

 

 

 

DATA SOURCE

NAME : DATA PORT 2

 

TYPE

 

: Data Port

 

PORT NUMBER

 

: 2

 

 

 

-----------

 

 

 

 

 

 

DATA SOURCE

ID

: 3

 

 

 

 

DATA SOURCE

NAME : MyFirstNdeDataSource

 

TYPE

 

: NDE (Netflow Data Export)

 

DEVICE ID

 

: 2

 

 

 

 

DEVICE ADDRESS

: 192.168.0.1

 

 

 

 

ENGINE ID

 

: 123

 

 

 

-----------

 

 

 

 

 

 

 

 

User Guide for the Cisco Network Analysis Module (NAM) Traffic Analyzer, 5.0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

OL-22617-01

 

 

 

2-27

 

 

 

 

 

 

Page 61
Image 61
Cisco Systems NAM, 5 manual Deleting NetFlow Data Sources Using the Web GUI, Deleting NetFlow Data Sources Using the CLI