gugus

bridge link status

Jan 13th, 2016
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.36 KB | None | 0 0
  1. root@fbsd-router:~ # ifconfig re1
  2. re1: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
  3. options=82099<RXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE>
  4. ether 00:0d:b9:3c:ae:25
  5. nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
  6. media: Ethernet autoselect (none)
  7. status: no carrier
  8. root@fbsd-router:~ # ifconfig bridge0
  9. bridge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
  10. ether 02:6b:c0:de:b8:00
  11. inet 1.1.1.1 netmask 0xffffff00 broadcast 1.1.1.255
  12. nd6 options=9<PERFORMNUD,IFDISABLED>
  13. groups: bridge
  14. id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
  15. maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200
  16. root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0
  17. member: re1 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
  18. ifmaxaddr 0 port 2 priority 128 path cost 55
  19. member: wlan0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
  20. ifmaxaddr 0 port 5 priority 128 path cost 33333
  21.  
  22. root@fbsd-router:~ # netstat -iWW | grep Link#
  23. re0 1500 <Link#1> 00:0d:b9:3c:ae:24 16 0 0 29 0 0
  24. re1 1500 <Link#2> 00:0d:b9:3c:ae:25 0 0 0 21 0 0
  25. re2* 1500 <Link#3> 00:0d:b9:3c:ae:26 0 0 0 0 0 0
  26. lo0 16384 <Link#4> lo0 0 0 0 0 0 0
  27. wlan0 1500 <Link#5> 04:f0:21:17:3b:d7 235 24 0 197 52 0
  28. bridge0 1500 <Link#6> 02:6b:c0:de:b8:00 235 0 0 102 0 0
  29. root@fbsd-router:~ # kgdb /boot/kernel/kernel /dev/mem
  30. GNU gdb 6.1.1 [FreeBSD]
  31. Copyright 2004 Free Software Foundation, Inc.
  32. GDB is free software, covered by the GNU General Public License, and you are
  33. welcome to change it and/or distribute copies of it under certain conditions.
  34. Type "show copying" to see the conditions.
  35. There is absolutely no warranty for GDB. Type "show warranty" for details.
  36. (...)
  37.  
  38. (kgdb) p ifindex_table[6].if_link_state
  39. $1 = 1 '\001'
  40. Current language: auto; currently minimal
Advertisement
Add Comment
Please, Sign In to add comment