Technical Documentation

Enabling Passive Monitoring on Ethernet Interfaces

On Ethernet interfaces, enable packet flow monitoring by including the passive-monitor-mode statement at the [edit interfaces interface-name ] hierarchy level:

[edit interfaces interface-name]passive-monitor-mode;

When you configure an interface in passive monitoring mode, the Packet Forwarding Engine silently drops packets coming from that interface and destined to the router itself. Passive monitoring mode also stops the Routing Engine from transmitting any packet from that interface. Packets received from the monitored interface can be forwarded to monitoring interfaces. If you include the passive-monitor-mode statement in the configuration:

  • Gigabit and Fast Ethernet interfaces can support both per-port passive monitoring and per-VLAN passive monitoring. The destination MAC filter on the receive port of the Ethernet interfaces is disabled.
  • Ethernet encapsulation options are not allowed.

On monitoring services interfaces, enable packet flow monitoring by including the family statement at the [edit interfaces mo-fpc/pic/port unit logical-unit-number] hierarchy level, specifying the inet option:

[edit interfaces mo-fpc/pic/port unit logical-unit-number]family inet;

For conformity with cflowd record structure, you must include the receive-options-packets and receive-ttl-exceeded statements at the [edit interfaces mo-fpc/pic/port unit logical-unit-number family inet] hierarchy level:

[edit interfaces mo-fpc/pic/port unit logical-unit-number family inet]receive-options-packets;receive-ttl-exceeded;

For the monitoring services interface, you can configure multiservice physical interface properties. For more information, see Configuring Multiservice Physical Interface Properties and the Junos Services Interfaces Configuration Guide.

Related Topics


Published: 2010-07-14

Help
|
My Account
|
Log Out