- 论坛徽章:
- 1
|
last
其实真实文件类似这样:
Ethernet0/1 current state : DOWN
IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is 000f-e21a-317f
The Maximum Transmit Unit is 1500
Media type is twisted pair, loopback not set
Port hardware type is 100_BASE_TX
Unknown-speed mode, unknown-duplex mode
Link speed type is autonegotiation, link duplex type is autonegotiation
Flow-control is not enabled
Port-flow-constrain has not been configured completely
The Maximum Frame Length is 1536
Broadcast MAX-ratio: 100%
PVID: 101
Mdi type: auto
Port link-type: access
Tagged VLAN ID : none
Untagged VLAN ID : 101
Last 300 seconds input: 0 packets/sec 0 bytes/sec
Last 300 seconds output: 0 packets/sec 0 bytes/sec
Input(total): 196171 packets, 24648090 bytes
3685 broadcasts, 166 multicasts
Input(normal): - packets, - bytes
- broadcasts, - multicasts
Input: 16 input errors, 0 runts, 0 giants, - throttles, 0 CRC
0 frame, - overruns, 16 aborts, 0 ignored, - parity errors
Output(total): 280675 packets, 292064772 bytes
12333 broadcasts, 2906 multicasts, 0 pauses
Output(normal): - packets, - bytes
- broadcasts, - multicasts, - pauses
Output: 14 output errors, - underruns, - buffer failures
0 aborts, 0 deferred, 0 collisions, 0 late collisions
14 lost carrier, - no carrier
Ethernet0/2 current state : UP
IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is 000f-e21a-317f
The Maximum Transmit Unit is 1500
Media type is twisted pair, loopback not set
Port hardware type is 100_BASE_TX
Unknown-speed mode, unknown-duplex mode
Link speed type is autonegotiation, link duplex type is autonegotiation
Flow-control is not enabled
Port-flow-constrain has not been configured completely
The Maximum Frame Length is 1536
Broadcast MAX-ratio: 100%
PVID: 101
Mdi type: auto
Port link-type: access
Tagged VLAN ID : none
Untagged VLAN ID : 101
Last 300 seconds input: 0 packets/sec 0 bytes/sec
Last 300 seconds output: 0 packets/sec 0 bytes/sec
Input(total): 196171 packets, 24648090 bytes
3685 broadcasts, 166 multicasts
Input(normal): - packets, - bytes
- broadcasts, - multicasts
Input: 16 input errors, 0 runts, 0 giants, - throttles, 0 CRC
0 frame, - overruns, 16 aborts, 0 ignored, - parity errors
Output(total): 280675 packets, 292064772 bytes
12333 broadcasts, 2906 multicasts, 0 pauses
Output(normal): - packets, - bytes
- broadcasts, - multicasts, - pauses
Output: 14 output errors, - underruns, - buffer failures
0 aborts, 0 deferred, 0 collisions, 0 late collisions
14 lost carrier, - no carrier
Ethernet0/3 current state : DOWN
IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is 000f-e21a-317f
The Maximum Transmit Unit is 1500
Media type is twisted pair, loopback not set
Port hardware type is 100_BASE_TX
Unknown-speed mode, unknown-duplex mode
Link speed type is autonegotiation, link duplex type is autonegotiation
Flow-control is not enabled
Port-flow-constrain has not been configured completely
The Maximum Frame Length is 1536
Broadcast MAX-ratio: 100%
PVID: 101
Mdi type: auto
Port link-type: access
Tagged VLAN ID : none
Untagged VLAN ID : 101
Last 300 seconds input: 0 packets/sec 0 bytes/sec
Last 300 seconds output: 0 packets/sec 0 bytes/sec
Input(total): 196171 packets, 24648090 bytes
3685 broadcasts, 166 multicasts
Input(normal): - packets, - bytes
- broadcasts, - multicasts
Input: 16 input errors, 0 runts, 0 giants, - throttles, 0 CRC
0 frame, - overruns, 16 aborts, 0 ignored, - parity errors
Output(total): 280675 packets, 292064772 bytes
12333 broadcasts, 2906 multicasts, 0 pauses
Output(normal): - packets, - bytes
- broadcasts, - multicasts, - pauses
Output: 14 output errors, - underruns, - buffer failures
0 aborts, 0 deferred, 0 collisions, 0 late collisions
14 lost carrier, - no carrier
Ethernet0/1 current state : DOWN
IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is 000f-e21a-317f
The Maximum Transmit Unit is 1500
Media type is twisted pair, loopback not set
Port hardware type is 100_BASE_TX
Unknown-speed mode, unknown-duplex mode
Link speed type is autonegotiation, link duplex type is autonegotiation
Flow-control is not enabled
Port-flow-constrain has not been configured completely
The Maximum Frame Length is 1536
Broadcast MAX-ratio: 100%
PVID: 101
Mdi type: auto
Port link-type: access
Tagged VLAN ID : none
Untagged VLAN ID : 101
Last 300 seconds input: 0 packets/sec 0 bytes/sec
Last 300 seconds output: 0 packets/sec 0 bytes/sec
Input(total): 196171 packets, 24648090 bytes
3685 broadcasts, 166 multicasts
Input(normal): - packets, - bytes
- broadcasts, - multicasts
Input: 16 input errors, 0 runts, 0 giants, - throttles, 0 CRC
0 frame, - overruns, 16 aborts, 0 ignored, - parity errors
Output(total): 280675 packets, 292064772 bytes
12333 broadcasts, 2906 multicasts, 0 pauses
Output(normal): - packets, - bytes
- broadcasts, - multicasts, - pauses
Output: 14 output errors, - underruns, - buffer failures
0 aborts, 0 deferred, 0 collisions, 0 late collisions
14 lost carrier, - no carrier
现在需要出的结果是:
id:Ethernet0/1
state OWN
type:100_BASE_TX
Input(total):196171 packets
以此类推 |
|