Options

What cisco command will give me this output

mrblackmamba343mrblackmamba343 Inactive Imported Users Posts: 136
GigabitEthernet1/0/2 is up, line protocol is up (connected)
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 301429619
GigabitEthernet1/0/4 is up, line protocol is up (connected)
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 301428600
GigabitEthernet1/0/5 is up, line protocol is up (connected)
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 166983
GigabitEthernet1/0/7 is up, line protocol is up (connected)
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 170940
GigabitEthernet1/0/8 is up, line protocol is up (connected)
thanks............

Comments

  • Options
    MonkerzMonkerz Member Posts: 842
    Show Interfaces will give you the info, along with other info...
    MDCRTR01#sh int
    GigabitEthernet0/0 is up, line protocol is up
    Hardware is BCM1125 Internal MAC, address is 0019.5632.3f00 (bia 0019.5632.3f0
    Internet address is 10.35.12.3/24
    MTU 1500 bytes, BW 10000 Kbit, DLY 1000 usec,
    reliability 255/255, txload 1/255, rxload 1/255
    Encapsulation ARPA, loopback not set
    Keepalive set (10 sec)
    Full-duplex, 10Mb/s, media type is RJ45
    output flow-control is XON, input flow-control is XON
    ARP type: ARPA, ARP Timeout 04:00:00
    Last input 00:00:08, output 00:00:00, output hang never
    Last clearing of "show interface" counters never
    Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
    Queueing strategy: fifo
    Output queue: 0/40 (size/max)
    5 minute input rate 0 bits/sec, 0 packets/sec
    5 minute output rate 0 bits/sec, 0 packets/sec
    7917794 packets input, 1026137507 bytes, 0 no buffer
    Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
    0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
    0 watchdog, 6930970 multicast, 0 pause input
    0 input packets with dribble condition detected
    28576810 packets output, 2649233514 bytes, 0 underruns
    12 output errors, 0 collisions, 3 interface resets
    0 babbles, 0 late collision, 0 deferred
    12 lost carrier, 0 no carrier, 0 pause output
    0 output buffer failures, 0 output buffers swapped out
    GigabitEthernet0/1 is up, line protocol is up
    Hardware is BCM1125 Internal MAC, address is 0019.5632.3f01 (bia 0019.5632.3f0
    Internet address is 10.131.1.2/24
    MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec,
    reliability 255/255, txload 2/255, rxload 6/255
    Encapsulation ARPA, loopback not set
    Keepalive set (10 sec)
    Full-duplex, 1000Mb/s, media type is RJ45
    output flow-control is XON, input flow-control is XON
    ARP type: ARPA, ARP Timeout 04:00:00
    Last input 00:00:00, output 00:00:00, output hang never
    Last clearing of "show interface" counters never
    Input queue: 1/75/0/0 (size/max/drops/flushes); Total output drops: 2061
    Queueing strategy: fifo
    Output queue: 0/40 (size/max)
    5 minute input rate 26275000 bits/sec, 5371 packets/sec
    5 minute output rate 11442000 bits/sec, 5033 packets/sec
    1602038558 packets input, 3555873024 bytes, 0 no buffer
    Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
    1673 input errors, 0 CRC, 0 frame, 1673 overrun, 0 ignored
    0 watchdog, 292013847 multicast, 0 pause input
    0 input packets with dribble condition detected
    3226928178 packets output, 927128495 bytes, 0 underruns
    3 output errors, 0 collisions, 2 interface resets
    0 babbles, 0 late collision, 0 deferred
    3 lost carrier, 0 no carrier, 0 pause output
    0 output buffer failures, 0 output buffers swapped out
  • Options
    mrblackmamba343mrblackmamba343 Inactive Imported Users Posts: 136
    Monkerz wrote: »
    Show Interfaces will give you the info, along with other info...

    I know it would but I'm trying to put together some report and the report only needs that information not the entire output of the interface...
  • Options
    pitviperpitviper Member Posts: 1,376 ■■■■■■■□□□
    Ahh, the power of regular expressions...

    Try something like this:
    ISR#sh interfaces | inc (Fast|Input que) 
    FastEthernet0/0 is up, line protocol is up 
      Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
    FastEthernet0/0.10 is up, line protocol is up 
    FastEthernet0/0.20 is up, line protocol is up 
    FastEthernet0/1 is up, line protocol is up 
      Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
    

    PS that's a crapload of drops! :)
    CCNP:Collaboration, CCNP:R&S, CCNA:S, CCNA:V, CCNA, CCENT
  • Options
    MonkerzMonkerz Member Posts: 842
    pitviper wrote: »
    Ahh, the power of regular expressions...

    Try something like this:
    ISR#sh interfaces | inc (Fast|Input que) 
    FastEthernet0/0 is up, line protocol is up 
      Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
    FastEthernet0/0.10 is up, line protocol is up 
    FastEthernet0/0.20 is up, line protocol is up 
    FastEthernet0/1 is up, line protocol is up 
      Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
    

    PS that's a crapload of drops! :)

    You beat me to it. I was going to say:

    sh int | inc (line protocol|Input queue)
  • Options
    hiddenknight821hiddenknight821 Member Posts: 1,209 ■■■■■■□□□□
    You guys never cease to amaze me with the IOS command knowlege. I actually just learned something new. I guess I can relate what you just did to the pipe operator in linux. I tried to see if the ? would help me get the specific information I wanted to extract, but it only can give me this <cr>. I guess the pipe operator in IOS is a "secret" feature that was rarely discussed in my CCNA studies.
  • Options
    PristonPriston Member Posts: 999 ■■■■□□□□□□
    2621XM in packet tracer doesnt do |
    A.A.S. in Networking Technologies
    A+, Network+, CCNA
  • Options
    MonkerzMonkerz Member Posts: 842
    That is because packet tracer is subject to the laziness of it's programmers.
  • Options
    PristonPriston Member Posts: 999 ■■■■□□□□□□
    I need get GNS3 huh?

    Edit: I think my typing skills are just as bad as Packet tracer's IOSes
    A.A.S. in Networking Technologies
    A+, Network+, CCNA
  • Options
    hiddenknight821hiddenknight821 Member Posts: 1,209 ■■■■■■□□□□
    Monkerz wrote: »
    That is because packet tracer is subject to the laziness of it's programmers.

    I agreed. I wonder why is it that difficult to "plug in" the actual IOS in packet tracer. I mean they didn't have to create a pseudo-IOS in the first place. I know it would be pointless to have GNS3 if we have packet tracer with full-functional capability, but I always wonder if the memory is an issue.
  • Options
    hiddenknight821hiddenknight821 Member Posts: 1,209 ■■■■■■□□□□
    Priston wrote: »
    I need get GNS3 huh?

    Yes. GNS3 would simualtes the actual IOS as if it was running on a router, with a slight adjustment.
  • Options
    ZartanasaurusZartanasaurus Member Posts: 2,008 ■■■■■■■■■□
    Priston wrote: »
    I need get GNS3 huh?

    Edit: I think my typing skills are just as bad as Packet tracer's IOSes
    Yeah, Packet Tracer is a PITA when it comes to things like this. Same for not supporting config commands like switchport host.

    And Cisco exam sims are Packet Tracer based. icon_sad.gif
    Currently reading:
    IPSec VPN Design 44%
    Mastering VMWare vSphere 5​ 42.8%
  • Options
    MonkerzMonkerz Member Posts: 842
    Don't get me wrong, PT is great for CCENT, but once you get beyond that you need GNS3 or real gear.
  • Options
    mrblackmamba343mrblackmamba343 Inactive Imported Users Posts: 136
    If I clear counters on interfaces in production environment what will the impact be?
  • Options
    pitviperpitviper Member Posts: 1,376 ■■■■■■■□□□
    Should just zero out the counters with minimal impact. That being said, we had a site running a 2811 with 12.4 voice IOS that would completely crash when we tried to clear the counters after tons of serial errors. It appeared to be a hardware issue as the problem went away after we replaced the VWIC.
    CCNP:Collaboration, CCNP:R&S, CCNA:S, CCNA:V, CCNA, CCENT
Sign In or Register to comment.