Ethernet Media Independent Interface Kernel Statistics

The Ethernet Media Independent Interface (MII) Kernel Statistics help keep the state of the link. They are very useful statistics for Ethernet interfaces, as they can be used for troubleshooting physical layer problems with a network connection. These statistics cover MII and GMII. Note that in some cases with the Fast Ethernet or Fiber-only devices some of the statistics might not apply.

Table 5-71. General Network Interface Statistics
kstat nameTypeDescription
xcvr_addrstateProvides the MII address of the transceiver currently in use.
xcvr_idstateProvides the specific Vendor/Device ID of the transceiver currently in use.
xcvr_inusestateIndicates the type of transceiver currently in use.
cap_1000fdxstateIndicates the device is 1 Gbit/sec full-duplex capable.
cap_1000hdxstateIndicates the device is 1 Gbit/sec half-duplex capable.
cap_100fdxstateIndicates the device is 100 Mbit/sec full-duplex capable.
cap_100hdxstateIndicates the device is 100 Mbit/sec half-duplex capable.
cap_10fdxstateIndicates the device is 10 Mbit/sec full-duplex capable.
cap_10hdxstateIndicates the device is 10 Mbit/sec full-duplex capable.
cap_asmpausestateIndicates the device is capable of asymmetric pause Ethernet flow control.
cap_pausestateIndicates the device is capable of symmetric pause Ethernet flow control when set to 1 and cap_asmpause is 0.

If cap_asmpause = 1 while cap_pause = 0, transmit pauses based on receive congestion.

cap_pause = 1, receive pauses and slows down transmit to avoid congestion.
cap_rem_faultstateIndicates the device is capable of remote fault indication.
cap_autonegstateIndicates the device is capable of auto-negotiation.
adv_cap_1000fdxstateIndicates the device is advertising 1 Gbit/sec Full duplex capability.
adv_cap_1000hdxstateIndicates the device is advertising 1 Gbit/sec Half duplex capability.
adv_cap_100fdxstateIndicates the device is advertising 100M bits/s Full duplex capability.
adv_cap_100hdxstateIndicates the device is advertising 100 Mbit/sec half-duplex capability.
adv_cap_10fdxstateIndicates the device is advertising 10 Mbit/sec full-duplex capability.
adv_cap_10hdxstateIndicates the device is advertising 10 Mbit/sec full-duplex capability.
adv_cap_asmpausestateIndicates the device is advertising the capability of asymmetric pause Ethernet flow control.
adv_cap_pausestateIndicates the device is advertising the capability of symmetric pause Ethernet flow control when adv_cap_pause = 1 and adv_cap_asmpause = 0.

If adv_cap_asmpause = 1 while adv_cap_pause = 0, transmit pauses based on receive congestion.

If adv_cap_pause = 1, receive pauses and slows down transmit to avoid congestion.
adv_cap_rem_faultstateIndicates the device is experiencing a fault that it is going to forward to the link partner.
adv_cap_autonegstateIndicates the device is advertising the capability of auto-negotiation.
lp_cap_1000fdxstateIndicates the link partner device is 1 Gbit/sec full-duplex capable.
lp_cap_1000hdxstateIndicates the link partner device is 1 Gbit/sec half-duplex capable.
lp_cap_100fdxstateIndicates the link partner device is 100 Mbit/sec full-duplex capable.
lp_cap_100hdxstateIndicates the link partner device is 100 Mbit/sec half-duplex capable.
lp_cap_10fdxstateIndicates the link partner device is 10 Mbit/sec full-duplex capable.
lp_cap_10hdxstateIndicates the link partner device is 10 Mbit/sec half-duplex capable.
lp_cap_asmpausestateIndicates the device is advertising the capability of asymmetric pause Ethernet flow control.
lp_cap_pausestateIndicates the link partner device is capable of symmetric pause Ethernet flow control when set to 1 and lp_cap_asmpause is 0. If lp_cap_asmpause = 1 while lp_cap_pause = 0, transmit pauses based on receive congestion. If lp_cap_pause = 1, receive pauses and slows down transmit to avoid congestion.
lp_cap_rem_faultstateIndicates the link partner is experiencing a fault with the link.
lp_cap_autonegstateIndicates the link partner device is capable of auto-negotiation.
link_asmpausestateIndicates the shared link asymmetric pause setting the value is based on local resolution column of Table 37-4 IEEE 802.3 spec.

link_asmpause = 0 Link is symmetric Pause

link_asmpause = 1 Link is asymmetric Pause
link_pausestateIndicates the shared link pause setting. The value is based on local resolution shown above.

If link_asmpause = 0 while link_pause = 0, the link has no flow control.

If link_pause = 1, link can flow control in both directions.

If link_asmpause = 1 while link_pause = 0,

local flow control setting can limit link partner.

If link_pause = 1, link will flow control local Tx.
link_speedstateThe current speed of the network connection in megabits per second.
link_duplexstateIndicates the link duplex.

link_duplex = 0, indicates link is down and duplex will be unknown.

link_duplex = 1, indicates link is up and in half duplex mode.

link_duplex = 2, indicates link is up and in full duplex mode.
link_upstateIndicates whether the link is up or down.

link_up = 1, indicates link is up.

link_up = 0, indicates link is down.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset