Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Monitoring the Current State of IP Interfaces

    Purpose

    Display the current state of all IP interfaces or the IP interfaces you specify. The default is all interface types and all interfaces. The show-virtual-router-keyword displays virtual router information.

    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.

    The In Total Dropped Packets and Out Total Dropped Packets 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.

    Action

    To display detailed current state information for a specific IP interface:

    host1#show ip interface detail fastEthernet 0/0
    fastEthernet0/0 is up, line protocol is up
      Description: boston00 fast ethernet interface
      Link up/down trap is disabled
      Internet address is 1.1.1.2/255.255.255.0
    IP statistics:
      Rcvd:  0 local destination
             0 hdr errors, 0 addr errors
             0 unkn proto, 0 discards
      Frags: 0 reasm ok, 0 reasm req, 0 reasm fails
             0 frag ok, 0 frag creates, 0 frag fails
      Sent:  31656835 generated, 0 no routes, 0 discards
    ICMP statistics:
      Rcvd:  0 errors, 0 dst unreach, 0 time exceed
             0 param probs, 0 src quench, 0 redirect,
             0 echo req, 31656816 echo rpy
             0 timestamp req, 0 timestamp rpy
             0 addr mask req, 0 addr mask rpy
      Sent:  0 errors, 0 dst unreach, 0 time excd
             0 param probs, 0 src qnch, 0 redirect
             0 timestamp req, 0 timestamp rpy
             0 addr mask req, 0 addr mask rpy
    In Received Packets 246220, Bytes 344624800
        Unicast Packets 246162, Bytes 344621410
        Multicast Packets 58, Bytes 3390
    In Forwarded Packets 245464, Bytes 343566400
    In Total Dropped Packets 756, Bytes 1058400
        In Policed Packets 756
        In Invalid Source Address Packets 0
        In Error Packets 0
        In Discarded Packets 0
        In Fabric Dropped Packets 0
      Out Forwarded Packets 117, Bytes 87297
        Unicast Packets 117, Bytes 87297
        Multicast Routed Packets 0, Bytes 0
      Out Requested Packets 117, Bytes 87297
      Out Total Dropped Packets 0, Bytes 0
        Out Scheduler Drops Committed Packets 0, Bytes 0
        Out Scheduler Drops Conformed Packets 0, Bytes 0
        Out Scheduler Drops Exceeded  Packets 0, Bytes 0
        Out Policed Packets 0
        Out Discarded Packets 0
        Out Fabric Dropped Packets 0

    To display the current state information for a specific IP interface:

    host1#show ip interface gigabitEthernet 1/1.200
    GigabitEthernet1/1 line protocol Ethernet is up, ip is not present
      Network Protocols: IP
      Multipath mode = hashed
      Auto Configure = disabled
      Auto Detect = disabled
      Inactivity Timer = disabled
      Use Framed Routes = disabled
      ARP spoof checking = disabled
      Warm-restart initial-sequence-preference: Operational = 0 Administrative = 0
    
      In Received Packets 0, Bytes 0
        Unicast Packets 0, Bytes 0
        Multicast Packets 0, Bytes 0
      In Policed Packets 0, Bytes 0
      In Error Packets 0
      In Invalid Source Address Packets 0
      In Discarded Packets 0
      Out Forwarded Packets 0, Bytes 0
        Unicast Packets 0, Bytes 0
        Multicast Routed Packets 0, Bytes 0
      Out Scheduler Dropped Packets 0, Bytes 0
      Out Policed Packets 0, Bytes 0
      Out Discarded Packets 0
    
      queue 0: traffic class best-effort, bound to ip GigabitEthernet1/1
        Queue length 0 bytes 
        Forwarded packets 0, bytes 0
        Dropped committed packets 0, bytes 0
        Dropped conformed packets 0, bytes 0
        Dropped exceeded packets 0, bytes 0
    
    Http Redirect Url: https://www.juniper.net
    

    Meaning

    Table 1 lists the show ip interface command output fields.

    Table 1: show ip interface Output Fields

    Field Name

    Field Description

    interface

    Interface type and interface specifier

    interface status

    Status of the interface

    HTTP Redirect Url

    URL to which a subscriber’s initial Web browser session is redirected

    line protocol

    Status of the line protocol

    Description

    Text description or alias if configured for the interface

    Link up/down trap

    Status of SNMP link up/down traps on the interface

    Internet address

    IP address of the interface

    IP Statistics Rcvd

    • local destination—Frames with this router as their destinations
    • hdr errors—Number of packets containing header errors
    • addr errors—Number of packets containing addressing errors
    • unkn proto—Number of packets received containing unknown protocols
    • discards—Number of discarded packets

    IP Statistics Frags

    • reasm ok—Number of reassembled packets
    • reasm req—Number of requests for reassembly
    • reasm fails—Number of reassembly failures
    • frag ok—Number of packets fragmented successfully
    • frag req—Number of frames requiring fragmentation
    • frag fails—Number of packets unsuccessfully fragmented

    IP Statistics Sent

    • generated—Number of packets generated
    • no routes—Number of packets that could not be routed
    • discards—Number of packets that could not be routed that were discarded

      Note: If you configure the router to discard packets for static routes with null 0 interfaces as the next-hop points using the reject keyword with the ip route command, the value displayed in this field also includes the packets that reached the null 0 interface and were dropped.

    ICMP Statistics Rcvd

    • errors—Error packets received
    • dst unreach—Packets received with destination unreachable
    • time exceed—Packets received with time-to-live exceeded
    • param probs—Packets received with parameter errors
    • src quench—Source quench packets received
    • redirect—Receive packet redirects
    • echo req—Echo request (ping) packets
    • echo rpy—Echo replies received
    • timestamp req—Requests for a timestamp
    • timestamp rpy—Replies of timestamp requests
    • addr mask req—Mask requests sent
    • addr mask rpy—Mask replies sent

    ICMP Statistics Sent

    • errors—Error packets sent
    • dst unreach—Packets sent with destination unreachable

      Note: If you configure the router to discard packets for static routes with null 0 interfaces as the next-hop points using the reject keyword with the ip route command, the value displayed in this field also includes the number of ICMP unreachable messages sent out for packets that reached null 0 interfaces with static routes.

    • time excd—Packets sent with time-to-live exceeded
    • param probs—Packets sent with parameter errors
    • src quench—Source quench packets sent
    • redirect—Send packet redirects
    • timestamp req—Requests for a timestamp
    • timestamp rpy—Replies to timestamp requests
    • addr mask req—Address mask requests
    • addr mask rpy—Address mask replies

    ARP spoof checking

    Status of the check for spoofed ARP packets received on an IP interface, enabled or disabled. This field is not displayed when you use the detail keyword.

    In Received Packets, Bytes

    Total number of packets and bytes received on the IP interface:

    • Unicast Packets, Bytes—Unicast packets and bytes received on the IP interface; link-local received multicast packets (non-multicast-routed frames) are counted as unicast packets
    • Multicast Packets, Bytes—Multicast packets and bytes received on the IP interface which are then multicast-routed are counted as multicast packets

    In Forwarded Packets, Bytes

    Packets and bytes forwarded into an output IP interface

    In Total Dropped Packets, Bytes

    Total number of packets and bytes that were dropped on the interface; sum of all the drop reasons indented below this field. The router calculates In Total Dropped Packets by subtracting In Forwarded Packets from In Received Packets.

    • In Policed Packets—Packets discarded on a receive IP interface for any of the following reasons: exceeding the token bucket limit, exceeding the rate limit, a drop action in a policy, discarded MAC validation packets, a destination address lookup failure, or when the destination address is an IP interface that has a route configured to the null 0 interface.
    • In Invalid Source Address Packets—Packets discarded on a receive IP interface due to invalid IP source address (sa-validate enabled)
    • In Error Packets—Packets discarded on a receive IP interface due to IP header errors
    • In Discarded Packets—Packets discarded on the ingress interface due to a configuration problem rather than a problem with the packet itself
    • In Fabric Dropped Packets—Packets discarded on a receive IP interface due to internal fabric congestion.

      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.

    Out Forwarded Packets, Bytes

    Total number of packets and bytes forwarded out the IP interface:

    • Unicast Packets, Bytes—Unicast packets and bytes forwarded out the IP interface
    • Multicast Routed Packets, Bytes—Multicast packets and bytes forwarded out the IP interface

    Out Requested Packets, Bytes

    Packets and bytes requested to be forwarded out an IP interface

    Out Total Dropped Packets, Bytes

    Total number of packets and bytes that were discarded on the egress interface; sum of all the drop reasons indented below this field. The router calculates Out Total Dropped Packets by subtracting Out Forwarded Packets from Out Received Packets.

    • Out Scheduler Drops Committed Packets, Bytes—Packets and bytes dropped by the scheduler even though they had a committed traffic contract
    • Out Scheduler Drops Conformed Packets, Bytes—Packets and bytes dropped by the scheduler even though they conformed to the traffic contract
    • Out Scheduler Drops Exceeded Packets, Bytes—Packets and bytes dropped by the scheduler because they exceeded the contract
    • Out Policed Packets—Packets discarded on the egress interface due to rate limiting
    • Out Discarded Packets—Packets discarded on the egress interface due to a configuration problem rather than a problem with the packet itself
    • Out Fabric Dropped Packets—Packets dropped due to internal fabric congestion

      Packets not dropped for another listed reason are considered to have been dropped in the fabric. 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.

    Published: 2014-08-13