Ethernet Switching
Highlighted
Ethernet Switching

sh int ext | find xxxx

[ Edited ]
‎08-30-2019 12:56 AM

Hi all,

From >sh int extens | match "errors"  I found a high number of errors in the very long output. One of them is highest number -Errors: 4146789, . I then used the following cli to see associated interface or logical interface etc. But I couldn't get which actual Physical or logical interface...

Any cli to see associated interface? Or is there a any cli bringing before not after?

>show interfaces extensive |find "Errors: 4146789,"
Errors: 4146789, Drops: 0, Framing errors: 0, Runts: 0, Giants: 0, Policed discards: 0, Resource errors: 0
Output errors:
Carrier transitions: 0, Errors: 0, Drops: 0, MTU errors: 0, Resource errors: 0

Logical interface vlan.10 (Index 68) (SNMP ifIndex 601) (HW Token 10) (Generation

....

.......

..............

1 REPLY 1
Highlighted
Ethernet Switching

Re: sh int ext | find xxxx

‎08-30-2019 02:10 AM

To my knowledge there is no optimal way but you can do something similar to this where you match both on interface and errors.

In this case I match both on "cal interface" and "errors:" in the same command. That way you can see the interface above which relates to the error counter.

 

user@ex3400> show interfaces extensive | match "errors:|cal interface"
Physical interface: ge-0/0/0, Enabled, Physical link is Up
  Input errors:
    Errors: 0, Drops: 0, Framing errors: 0, Runts: 0, Policed discards: 0,
    L3 incompletes: 0, L2 channel errors: 0, L2 mismatch timeouts: 0, FIFO errors: 0
    Resource errors: 0
  Output errors:
    Carrier transitions: 1, Errors: 0, Drops: 0, Collisions: 0, Aged packets: 0,
    FIFO errors: 0, HS link CRC errors: 0, MTU errors: 0, Resource errors: 0
  Logical interface ge-0/0/0.0 (Index 563) (SNMP ifIndex 537) (HW Token 2147483649)
Physical interface: pfe-0/0/0, Enabled, Physical link is Up
  Input errors:
    Errors: 0, Drops: 0, Framing errors: 0, Runts: 0, Giants: 0, Policed discards: 0
    Resource errors: 0
  Output errors:
    Carrier transitions: 0, Errors: 0, Drops: 0, MTU errors: 0, Resource errors: 0
  Logical interface pfe-0/0/0.16383 (Index 560) (SNMP ifIndex 511) (Generation 145)
Physical interface: pfh-0/0/0, Enabled, Physical link is Up
  Input errors:
    Errors: 0, Drops: 0, Framing errors: 0, Runts: 0, Giants: 0, Policed discards: 0
    Resource errors: 0
  Output errors:
    Carrier transitions: 0, Errors: 0, Drops: 0, MTU errors: 0, Resource errors: 0
  Logical interface pfh-0/0/0.16383 (Index 561) (SNMP ifIndex 512) (Generation 146)

--
Best regards,

Jonas Hauge Klingenberg
Juniper Ambassador & Technology Architect, SEC DATACOM A/S (Denmark)