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 20 lists the show ip interface command output fields.
Table 20: 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 |
|
IP Statistics Frags |
|
IP Statistics Sent |
|
ICMP Statistics Rcvd |
|
ICMP Statistics Sent |
|
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:
|
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.
|
Out Forwarded Packets, Bytes | Total number of 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.
|
Related Documentation
- Checking for Spoofed ARP Packets
- Enabling or Disabling the Transmission of ICMP Unreachable Messages for Static Routes on Null Interfaces
- Enabling IP Source Address Validation
- Managing IP Interfaces
- Specifying an IP Debounce Time
- Configuring ECMP Round-Robin Load Sharing
- Setting a Baseline for IP Interface Statistics
- show ip interface