Пример настройки

Рисунок


В данном сценарии приводится настройка сенсора на интерфейсе e3 устройства ECO-2.

Шаг 1. Настройка осуществляется в режиме глобальной конфигурации.

ecorouter>en
ecorouter#configure terminal

Шаг 2. Настройка интерфейсов и портов устройства.

interface e1
 ip add 172.16.0.1/16
interface e2
 ip add 192.168.2.1/24
interface e3
 ip add 192.168.3.1/24
port te0
 service-instance te0/e1
  encapsulation untagged
  connect ip int e1
port te1
 service-instance te1/e2
  encapsulation untagged
  connect ip int e2
port te2
 service-instance te2/e3
  encapsulation untagged
  connect ip int e3

Шаг 3. Создание профиля сенсора.

flow-export-profile 1
 description Netflow
 destination 172.16.0.2
 packet-sampling 100
 timeout active 30
 timeout inactive 30

Шаг 4. Назначение профиля сенсора на интерфейс.

interface e3
 flow-export-profile 1