Skip to content

Instantly share code, notes, and snippets.

@korjavin
Last active December 14, 2015 06:58
Show Gist options
  • Select an option

  • Save korjavin/5046357 to your computer and use it in GitHub Desktop.

Select an option

Save korjavin/5046357 to your computer and use it in GitHub Desktop.
freebsd_em_error
# ifconfig em1
em1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=4219b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC,VLAN_HWTSO>
ether 00:1e:67:48:94:44
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
# netstat -i
input (em1) output
packets errs idrops bytes packets errs bytes colls
940440 1003 0 1036385833 691977 0 247501877 0
944387 0 0 1040258198 702768 0 252004357 0
936466 1006 0 1034117668 690006 0 241508630 0
942486 0 0 1040153103 685296 0 233885153 0
935227 0 0 1042822948 675314 0 219810045 0
935948 0 0 1043794460 684207 0 227819243 0
917982 0 0 1045352374 657744 0 205038294 0
913924 0 0 1044237310 652442 0 192464229 0
917194 0 0 1044497384 652807 0 189160837 0
901875 1075 0 1035287820 628203 0 183634818 0
906418 0 0 1037269256 643322 0 183252525 0
888510 0 0 1012094829 618527 0 175383091 0
880052 455 0 1003784789 613697 0 179410035 0
882941 0 0 1008755255 630725 0 179748095 0
861909 0 0 978592752 616038 0 186723800 0
854585 0 0 973505667 612982 0 185236690 0
880860 568 0 1004170137 632882 0 198871643 0
868920 987 0 985445861 620164 0 192204717 0
879142 0 0 1008305348 617644 0 194258724 0
877225 791 0 994176495 611282 0 199710945 0
888030 902 0 1009601758 629225 0 197490614 0
# pciconf -lvb
em1@pci0:2:0:0: class=0x020000 card=0x35788086 chip=0x10d38086 rev=0x00 hdr=0x00
vendor = 'Intel Corporation'
device = '82574L Gigabit Network Connection'
class = network
subclass = ethernet
bar [10] = type Memory, range 32, base 0xc2300000, size 131072, enabled
bar [18] = type I/O Port, range 32, base 0x2000, size 32, enabled
bar [1c] = type Memory, range 32, base 0xc2320000, size 16384, enabled
GS2200# show interfaces 5
Port Info Port NO. :5
Link :1000M/F
Status :FORWARDING
LACP :Disabled
TxPkts :222115498
RxPkts :3807925935
Errors :0
Tx KBs/s :35303.852
Rx KBs/s :7146.690
Up Time :489:25:39
TX Packet Tx Packets :222115498
Multicast :2113678
Broadcast :1690235
Pause :0
RX Packet Rx Packets :3807925935
Multicast :0
Broadcast :1365
Pause :0
TX Collison Single :0
Multiple :0
Excessive :0
Late :0
Error Packet RX CRC :0
Runt :0
Distribution 64 :1266309451
65 to 127 :3647342571
128 to 255 :1680976901
256 to 511 :796928154
512 to 1023 :1012443560
1024 to 1518 :3994047904
Giant :0
#snmpwalk ...
IF-MIB::ifInErrors.3 = Counter32: 13698827
net.inet.ip.forwarding=1
net.inet.ip.fastforwarding=0
net.inet.ip.check_interface=1
net.inet.ip.fw.one_pass=0
net.inet.icmp.icmplim=50
kern.ipc.maxsockbuf=20485760
kern.maxfiles=32768
kern.maxfilesperproc=14644
net.graph.recvspace=323840
net.graph.maxdgram=163840
#net.inet.flowtable.enable=0
net.inet.ip.dummynet.hash_size=1024
net.inet.ip.fw.dyn_buckets=1024
net.inet.ip.intr_queue_maxlen=1024
net.inet6.ip6.v6only=0
kern.ipc.nmbclusters=50000
# uname -ro
FreeBSD 9.1-STABLE
> show int em1
Interface em1 is up, line protocol detection is disabled
index 3 metric 1 mtu 1500
flags: <UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST>
HWaddr: 00:1e:67:48:94:44
input packets 43183374448, bytes 43953933625541, dropped 0, multicast packets 1690059
input errors 13701764
output packets 33891726409, bytes 14626043919685, multicast packets 0
output errors 0
collisions 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment