beautypg.com

To check link partner settings – Sun Microsystems GigaSwift Ethernet Adapter User Manual

Page 80

background image

58

Sun GigaSwift Ethernet Adapter Installation and User’s Guide • August 2004

To Check Link Partner Settings

If you are running the Solaris 8 Operating System, type the

netstat -k

command as superuser:

If you are running the Solaris 9 Operating System, type the

kstat

command as

superuser:

# netstat -k ce0

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 1000000000 promisc off rev_id 48 xcvr_inits 1 xcvr_inuse 1

xcvr_addr 1 xcvr_id 536894584 cap_autoneg 1 cap_1000fdx 1 cap_1000hdx 1

cap_100T4 0 cap_100fdx 1 cap_100hdx 1 cap_10fdx 1 cap_10hdx 1

cap_asmpause 0 cap_pause 0 lp_cap_autoneg 1 lp_cap_1000fdx 1

lp_cap_1000hdx 1 lp_cap_100T4 0 lp_cap_100fdx 1 lp_cap_100hdx 1

lp_cap_10fdx 1 lp_cap_10hdx 1 lp_cap_asmpause 0 lp_cap_pause 1

link_T4 0 link_speed 1000 link_duplex 2 link_asmpause 0 link_pause 0

link_up 1 mac_mtu 0 lb_mode 0 qos_mode 0 trunk_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_hdr_pkts 0 tx_ddi_pkts 0 tx_dvma_pkts 0

mdt_reqs 0 mdt_hdr_bufs 0 mdt_pld_bufs 0 mdt_pkts 0 mdt_hdrs 0

mdt_plds 0 mdt_hdr_bind_fail 0 mdt_pld_bind_fail 0 tx_jumbo_pkts 0

tx_max_pend 0 rx_inits 0 rx_jumbo_pkts 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_tag_err 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_rel_bit 0 rx_pkts_dropped 0 pci_bus_speed 66

pci_err 0 pci_rta_err 0 pci_rma_err 0 pci_parity_err 0 pci_bad_ack_err 0

pci_drto_err 0 pci_dmawz_err 0 pci_dmarz_err 0 rx_taskq_waits 0

ipackets_cpu00 0 ipackets_cpu01 0 ipackets_cpu02 0 ipackets_cpu03 0

CODE EXAMPLE 4-1

Output from the

kstat

Command

# kstat ce:0

module: ce instance: 0

name:

ce0

class:

net

alignment_err 0

brdcstrcv 0

brdcstxmt 0

cap_1000fdx 1