beautypg.com

To check link partner settings, Codeexample41 output from kstat command – Sun Microsystems X1150A User Manual

Page 81

background image

Chapter 4

Configuring Driver Parameters

59

To Check Link Partner Settings

If you are running Solaris 2.6, 7 or 8 operating evironment, type the

netstat -k

command as superuser:

If you are running Solaris 9 operating environment, type the

kstat

command as

superuser:

# netstat -k ce:0

ce0:

ipackets 0 ipackets64 0 ierrors 0 opackets 0 opackets64 0

oerrors 0 collisions 0 rbytes 0 rbytes64 0 obytes 0 obytes64 0

multircv 0 multixmt 0 brdcstrcv 0 brdcstxmt 0 norcvbuf 0

noxmtbuf 0 first_collision 0 excessive_collisions 0 late_collisions 0

peak_attempts 0 length_err 0 alignment_err 0 crc_err 0 code_violations 0

ifspeed 0 rev_id 1 xcvr_inits 1 xcvr_inuse 3 xcvr_addr 0

xcvr_id 0 cap_autoneg 1 cap_1000fdx 1 cap_1000hdx 0 cap_100T4 0

cap_100fdx 0 cap_100hdx 0 cap_10fdx 0 cap_10hdx 0 cap_asmpause 0

cap_pause 1 lp_cap_autoneg 0 lp_cap_1000fdx 0 lp_cap_1000hdx 0

lp_cap_100T4 0 lp_cap_100fdx 0 lp_cap_100hdx 0 lp_cap_10fdx 0

lp_cap_10hdx 0 lp_cap_asmpause 0 lp_cap_pause 0 link_T4 0

link_speed 0 link_duplex 0 link_asmpause 0 link_pause 0

link_up 0 lb_mode 0 qos_mode 0 tx_inits 0 tx_starts 0 tx_nocanput 0

tx_msgdup_fail 0 tx_allocb_fail 0 tx_no_desc 0 tx_dma_bind_fail 0

tx_uflo 0 tx_queue0 0 tx_queue1 0 tx_queue2 0 tx_queue3 0

tx_max_pend 0 rx_inits 0 rx_hdr_pkts 0 rx_mtu_pkts 0 rx_split_pkts 0

rx_no_buf 0 rx_no_comp_wb 0 rx_ov_flow 0 rx_len_mm 0 rx_bad_descs 0

rx_nocanput 0 rx_msgdup_fail 0 rx_allocb_fail 0 rx_new_pages 0

rx_new_hdr_pgs 0 rx_new_mtu_pgs 0 rx_new_nxt_pgs 0 rx_hdr_drops 0

rx_mtu_drops 0 rx_nxt_drops 0 rx_rel_flow 0 rx_pkts_dropped 0

pci_err 0 pci_rta_err 0 pci_rma_err 0 pci_parity_err 0 pci_bad_ack_err 0

pci_drto_err 0 ipackets_cpu00 0 ipackets_cpu01 0 ipackets_cpu02 0

ipackets_cpu03 0

CODE EXAMPLE 4-1

Output from

kstat

Command

# kstat ce0

module: ce instance: 0

name:

ce0

class:

net

alignment_err 0

brdcstrcv 0

brdcstxmt 0

cap_1000fdx 1

cap_1000hdx 1

cap_100T4 0

cap_100fdx 1

cap_100hdx 1