Check Your Work
To verify that your configuration is correct, use the following commands on the monitoring station that is configured for passive flow monitoring:
show route 0/0show passive-monitoring errorshow passive-monitoring flowshow passive-monitoring memoryshow passive-monitoring statusshow passive-monitoring usageYou can also view passive flow monitoring status with Simple Network Management Protocol (SNMP). The following Management Information Base (MIB) tables are supported:
jnxPMonErrorTable—Corresponds to theshow passive-monitoring errorcommand.jnxPMonFlowTable—Corresponds to theshow passive-monitoring flowcommand.jnxPMonMemoryTable—Corresponds to theshow passive-monitoring memorycommand.The following section shows the output of the
showcommands used with the configuration example:user@mon-station>show route 0/0<skip inet.0>
# We are only concerned with the routing-instance route.bc-vrf.inet.0:1 destinations, 1 routes (1 active, 0 holddown, 0 hidden)+ = Active Route, - = Last Active, * = Both0.0.0.0/0 *[Static/5] 5d 17:34:57via mo-4/0/0.1> via mo-4/1/0.1via mo-4/2/0.1via mo-4/3/0.1tcp-rt.inet.0: 13 destinations, 13 routes (12 active, 0 holddown, 1hidden)+ = Active Route, - = Last Active, * = Both0.0.0.0/0 *[Static/5] 19:24:39> via es-3/1/0.0: <other interface routes>udp-rt.inet.0: 13 destinations, 13 routes (12 active, 0 holddown, 1hidden)+ = Active Route, - = Last Active, * = Both0.0.0.0/0 *[Static/5] 19:24:39> to 10.9.1.2 via fe-3/2/0.0: <other interface routes>
user@mon-station>show passive-monitoring error allPassive monitoring interface: mo-4/0/0, Local interface index: 44Error informationPackets dropped (no memory): 0, Packets dropped (not IP): 0Packets dropped (not IPv4): 0, Packets dropped (header too small): 0Memory allocation failures: 0, Memory free failures: 0Memory free list failures: 0Memory warning: No, Memory overload: No, PPS overload: No, BPS overload: NoPassive monitoring interface: mo-4/1/0, Local interface index: 45Error informationPackets dropped (no memory): 0, Packets dropped (not IP): 0Packets dropped (not IPv4): 0, Packets dropped (header too small): 0Memory allocation failures: 0, Memory free failures: 0Memory free list failures: 0Memory warning: No, Memory overload: No, PPS overload: No, BPS overload: NoPassive monitoring interface: mo-4/2/0, Local interface index: 46Error informationPackets dropped (no memory): 0, Packets dropped (not IP): 0Packets dropped (not IPv4): 0, Packets dropped (header too small): 0Memory allocation failures: 0, Memory free failures: 0Memory free list failures: 0Memory warning: No, Memory overload: No, PPS overload: No, BPS overload: NoPassive monitoring interface: mo-4/3/0, Local interface index: 47Error informationPackets dropped (no memory): 0, Packets dropped (not IP): 0Packets dropped (not IPv4): 0, Packets dropped (header too small): 0Memory allocation failures: 0, Memory free failures: 0Memory free list failures: 0Memory warning: No, Memory overload: No, PPS overload: No, BPS overload: No
user@mon-station>show passive-monitoring flow allPassive monitoring interface: mo-4/0/0, Local interface index: 44Flow informationFlow packets: 6533434, Flow bytes: 653343400Flow packets 10-second rate: 0, Flow bytes 10-second rate: 0Active flows: 0, Total flows: 1599Flows exported: 1599, Flows packets exported: 55Flows inactive timed out: 1599, Flows active timed out: 0Passive monitoring interface: mo-4/1/0, Local interface index: 45Flow informationFlow packets: 6537780, Flow bytes: 653778000Flow packets 10-second rate: 0, Flow bytes 10-second rate: 0Active flows: 0, Total flows: 1601Flows exported: 1601, Flows packets exported: 55Flows inactive timed out: 1601, Flows active timed out: 0Passive monitoring interface: mo-4/2/0, Local interface index: 46Flow informationFlow packets: 6529259, Flow bytes: 652925900Flow packets 10-second rate: 0, Flow bytes 10-second rate: 0Active flows: 0, Total flows: 1599Flows exported: 1599, Flows packets exported: 55Flows inactive timed out: 1599, Flows active timed out: 0Passive monitoring interface: mo-4/3/0, Local interface index: 47Flow informationFlow packets: 6560741, Flow bytes: 656074100Flow packets 10-second rate: 0, Flow bytes 10-second rate: 0Active flows: 0, Total flows: 1598Flows exported: 1598, Flows packets exported: 55Flows inactive timed out: 1598, Flows active timed out: 0
user@mon-station> show passive-monitoring memory allPassive monitoring interface: mo-4/0/0, Local interface index: 44Memory utilizationAllocation count: 1600, Free count: 1599, Maximum allocated: 1600Allocations per second: 3200, Frees per second: 1438Total memory used (in bytes): 103579176, Total memory free (in bytes): 163914184Passive monitoring interface: mo-4/1/0, Local interface index: 45Memory utilizationAllocation count: 1602, Free count: 1601, Maximum allocated: 1602Allocations per second: 3204, Frees per second: 1472Total memory used (in bytes): 103579176, Total memory free (in bytes): 163914184Passive monitoring interface: mo-4/2/0, Local interface index: 46Memory utilizationAllocation count: 1600, Free count: 1599, Maximum allocated: 1600Allocations per second: 3200, Frees per second: 1440Total memory used (in bytes): 103579176, Total memory free (in bytes): 163914184Passive monitoring interface: mo-4/3/0, Local interface index: 47Memory utilizationAllocation count: 1599, Free count: 1598, Maximum allocated: 1599Allocations per second: 3198, Frees per second: 1468Total memory used (in bytes): 103579176, Total memory free (in bytes): 163914184
Table 12: Output Fields for the show passive-monitoring status Command
Group index is a mapping from the group name to an index. It is not related to the number of monitoring groups.user@mon-station>show passive-monitoring status allPassive monitoring interface: mo-4/0/0, Local interface index: 44Interface state: MonitoringGroup index: 0Export interval: 15 secs, Export format: cflowd v5Protocol: IPv4, Engine type: 1, Engine ID: 1Route record count: 13, IFL to SNMP index count: 30, AS count: 1Time set: Yes, Configuration set: YesRoute record set: Yes, IFL SNMP map set: YesPassive monitoring interface: mo-4/1/0, Local interface index: 45Interface state: MonitoringGroup index: 0Export interval: 15 secs, Export format: cflowd v5Protocol: IPv4, Engine type: 1, Engine ID: 2Route record count: 13, IFL to SNMP index count: 30, AS count: 1Time set: Yes, Configuration set: YesRoute record set: Yes, IFL SNMP map set: YesPassive monitoring interface: mo-4/2/0, Local interface index: 46Interface state: MonitoringGroup index: 0Export interval: 15 secs, Export format: cflowd v5Protocol: IPv4, Engine type: 1, Engine ID: 3Route record count: 13, IFL to SNMP index count: 30, AS count: 1Time set: Yes, Configuration set: YesRoute record set: Yes, IFL SNMP map set: YesPassive monitoring interface: mo-4/3/0, Local interface index: 47Interface state: MonitoringGroup index: 0Export interval: 15 secs, Export format: cflowd v5Protocol: IPv4, Engine type: 1, Engine ID: 4Route record count: 13, IFL to SNMP index count: 30, AS count: 1Time set: Yes, Configuration set: YesRoute record set: Yes, IFL SNMP map set: Yes
user@mon-station>show passive-monitoring usage *Passive monitoring interface: mo-4/0/0, Local interface index: 44CPU utilizationUptime: 653155 milliseconds, Interrupt time: 40213754 microsecondsLoad (5 second): 20%, Load (1 minute): 17%Passive monitoring interface: mo-4/1/0, Local interface index: 45CPU utilizationUptime: 652292 milliseconds, Interrupt time: 40223178 microsecondsLoad (5 second): 22%, Load (1 minute): 15%Passive monitoring interface: mo-4/2/0, Local interface index: 46CPU utilizationUptime: 649491 milliseconds, Interrupt time: 40173645 microsecondsLoad (5 second): 22%, Load (1 minute): 10098862%Passive monitoring interface: mo-4/3/0, Local interface index: 47CPU utilizationUptime: 657328 milliseconds, Interrupt time: 40368704 microsecondsLoad (5 second): 1%, Load (1 minute): 15%