You can monitor IPv4 traffic from another router if you have the following components installed in an M40e, M160, M320, or T-series routing platform:
On SONET/SDH interfaces, you enable passive flow monitoring by including the passive-monitor-mode statement at the [edit interfaces so-fpc/pic/port unit logical-unit-number] hierarchy level:
- [edit interfaces so-fpc/pic/port unit logical-unit-number]
-
passive-monitor-mode;
On Asynchronous Transfer Mode (ATM), Fast Ethernet, or Gigabit Ethernet interfaces, you enable passive 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:
On monitoring services interfaces, you enable passive flow monitoring by including the family statement at the [edit interfaces interface-name unit logical-unit-number] hierarchy level, specifying the inet option:
- [edit interfaces interface-name unit logical-unit-number]
-
family inet;
For the monitoring services interface, you can configure multiservice physical interface properties. For more information, see Configuring the Flow-Monitoring Interface.
For conformity with cflowd record structure, you must include the receive-options-packets and receive-ttl-exceeded statements at the [edit interfaces interface-name unit logical-unit-number family inet] hierarchy level:
- [edit interfaces interface-name unit logical-unit-number family inet]
-
receive-options-packets;
-
receive-ttl-exceeded;
For more information, see the following sections: