本来想用show interface status查一交换机的端口状态,输入show interface stat加个tab竟然没出来,所以忍不住打了个"?"号,结果还有一个show interface stats,呵呵,忍不住运行一下,才发现是个好东东.
 
        show interface stats stats     Show interface packets & octets, in & out, by switching  path
        C2950SX-48-SI-57IP11-GE1/1# show interfaces stats
Vlan1
          Switching path    Pkts In   Chars In   Pkts Out  Chars Out
               Processor    9068825  633904251   19974770 2645909179
             Route cache          0          0          0          0
                   Total    9068825  633904251   19974770 2645909179
Interface Vlan2 is disabled
FastEthernet0/1
          Switching path    Pkts In   Chars In   Pkts Out  Chars Out
               Processor    1761942  330263965    6027117  703011989
             Route cache          0          0          0          0
                   Total    1761942  330263965    6027117  703011989
FastEthernet0/2
          Switching path    Pkts In   Chars In   Pkts Out  Chars Out
               Processor    5372337 2555474919   11880877 3271439358
             Route cache          0          0          0          0
                   Total    5372337 2555474919   11880877 3271439358
FastEthernet0/3
          Switching path    Pkts In   Chars In   Pkts Out  Chars Out
               Processor  196177472 4086658337  189158426 1686732624
             Route cache          0          0          0          0
                   Total  196177472 4086658337  189158426 1686732624
 --More--