[Contents] [Prev] [Next] [Index] [Report an Error]

Monitoring IP

This section explains how to set a statistics baseline and use the show commands to view your IP configuration and monitor IP interfaces and statistics.

System Event Logs

To troubleshoot and monitor IP, use the following system event logs:

For more information about using event logs, see the JUNOSe System Event Logging Reference Guide.

Establishing a Baseline

IP statistics are stored in system counters. The only way to reset the system counters is to reboot the router. You can, however, establish a baseline for IP statistics by setting a group of reference counters to zero.

baseline ip

baseline ip udp

baseline tcp

IP show Commands

You can monitor the following aspects of IP using show ip commands:

To Display

Command

Access lists

 show access-list

 show ip as-path-access-list

ARP

 show arp

General IP information

 show ip

IP addresses

 show ip address

Community lists

 show ip community-list

Routing table

 show ip forwarding-table slot

show forwarding-table route-holddown

Interfaces

 show ip interface

Shared IP interfaces

 show ip interface shares

Protocols

 show ip protocols

Redistribution policies

 show ip redistribute

Routes

 show ip route

Interfaces and next hops

 show ip route slot

Socket statistics

 show ip socket statistics

Static routes

 show ip static

TCP ACK, RST, and SYN protection status

 show tcp ack-rst-and-syn

Black hole threshold information

 show tcp path-mtu-discovery

TCP statistics

 show tcp statistics

Traffic

 show ip traffic

UDP statistics

 show ip udp statistics

Profiles

 show ip profile

Route maps

 show route-map

To set a statistics baseline for IP interfaces, use the baseline tcp and baseline ip udp commands. Use the delta keyword with IP show commands to specify that baselined statistics are to be shown.

You can use the output filtering feature of the show command to include or exclude lines of output based on a text string that you specify. See Command-Line Interface in the JUNOSe System Basics Configuration Guide, for details.

show access-list

show arp

show forwarding-table route-holddown

show ip

show ip address

show ip as-path-access-list

show ip community-list

show ip forwarding-table slot

show ip interface

If you are losing packets because of fabric congestion, you can use the In Fabric Dropped Packets and Out Fabric Dropped Packets statistics to help determine the location of the bottleneck. Both statistics count the same thing—the same packets dropped because of fabric congestion—but in different directions.

At any given time, the total number of packets dropped in the fabric for all interfaces in the chassis is equal to the sum of all In Fabric Dropped Packets for all interfaces in the chassis, which equals the sum of all Out Fabric Dropped Packets for all interfaces in the chassis.

Packets not dropped for another listed reason are considered to have been dropped in the fabric. The router calculates In Fabric Dropped Packets by subtracting the total number of inbound packets dropped for all other reasons from the In Total Dropped Packets number. The router calculates Out Fabric Dropped Packets by subtracting the total number of outbound packets dropped for all other reasons from the Out Total Dropped Packets number.

The router calculates In Total Dropped Packets by subtracting In Forwarded Packets from In Received Packets. The router calculates Out Total Dropped Packets by subtracting Out Forwarded Packets from Out Received Packets. These statistics are reported while traffic is moving through the router. The router can get false statistics based on packets being forwarded or received after polling and based on which of the statistics is reported first. For example, In Forwarded Packets can be reported as greater than In Received Packets. Rather than displaying In Total Dropped Packets as a negative value, the command displays it as the sum of all drop reasons other than fabric drops; fabric drops are reported as 0, but might actually be nonzero. If you halt traffic, the In Total Dropped Packets and Out Total Dropped Packets values are always correct.

show ip interface shares

show ip profile

show ip protocols

show ip redistribute

show ip route

show ip route slot

show ip socket statistics

show ip static

show tcp ack-rst-and-syn

show tcp resequence-buffers

show tcp path-mtu-discovery

show tcp paws

show tcp statistics

show ip traffic

show ip udp statistics

show profile brief

show route-map

 


[Contents] [Prev] [Next] [Index] [Report an Error]