Advertisement
Guest User

Untitled

a guest
Jan 2nd, 2012
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.62 KB | None | 0 0
  1. Case one
  2.  
  3. [ 4.070000] eth0: Atheros AG71xx at 0xb9000000, irq 4
  4. [ 4.590000] eth1: Atheros AG71xx at 0xba000000, irq 5
  5. [ 5.110000] eth1: AR8316 switch driver attached.
  6. [ 5.130000] ar8316: Using port 4 as PHY
  7.  
  8. swconfig dev eth1 show
  9. Global attributes:
  10. enable_vlan: 1
  11. Port 0:
  12. link: port:0 link:down
  13. pvid: 0
  14. Port 1:
  15. link: port:1 link:down
  16. pvid: 0
  17. Port 2:
  18. link: port:2 link:up speed:1000baseT half-duplex <---- This should be 100baseT
  19. pvid: 2
  20. Port 3:
  21. link: port:3 link:down
  22. pvid: 2
  23. Port 4:
  24. link: port:4 link:up speed:100baseT full-duplex auto
  25. pvid: 3
  26. VLAN 2:
  27. vid: 2
  28. ports: 0t 2 3
  29. VLAN 3:
  30. vid: 3
  31. ports: 0t 4
  32.  
  33. swconfig dev eth1 help
  34. switch0: eth1(Atheros AR8316), ports: 5 (cpu @ 0), vlans: 128
  35. --switch
  36. Attribute 1 (int): enable_vlan (Enable VLAN mode)
  37. Attribute 2 (none): apply (Activate changes in the hardware)
  38. Attribute 3 (none): reset (Reset the switch)
  39. --vlan
  40. Attribute 1 (int): vid (VLAN ID (0-4094))
  41. Attribute 2 (ports): ports (VLAN port mapping)
  42. --port
  43. Attribute 1 (string): link (Get port link information)
  44. Attribute 2 (int): pvid (Primary VLAN ID)
  45.  
  46. Case two
  47.  
  48. [ 3.850000] eth0: Atheros AG71xx at 0xb9000000, irq 4
  49. [ 4.150000] eth1: Atheros AG71xx at 0xba000000, irq 5
  50. [ 4.680000] eth1: AR8316 switch driver attached.
  51. [ 4.700000] ar8316: Using port 4 as switch port
  52.  
  53. swconfig dev eth1 show
  54. Global attributes:
  55. enable_vlan: 1
  56. Port 0:
  57. link: port:0 link:down
  58. pvid: 0
  59. Port 1:
  60. link: port:1 link:down
  61. pvid: 0
  62. Port 2:
  63. link: port:2 link:up speed:100baseT full-duplex auto
  64. pvid: 2
  65. Port 3:
  66. link: port:3 link:down
  67. pvid: 2
  68. Port 4:
  69. link: port:4 link:up speed:100baseT full-duplex auto
  70. pvid: 3
  71. Port 5:
  72. link: port:5 link:up speed:unknown full-duplex txflow rxflow auto
  73. pvid: 0
  74. VLAN 2:
  75. vid: 2
  76. ports: 0t 2 3
  77. VLAN 3:
  78. vid: 3
  79. ports: 0t 4
  80.  
  81. swconfig dev eth1 help
  82. switch0: eth1(Atheros AR8316), ports: 6 (cpu @ 0), vlans: 128
  83. --switch
  84. Attribute 1 (int): enable_vlan (Enable VLAN mode)
  85. Attribute 2 (none): apply (Activate changes in the hardware)
  86. Attribute 3 (none): reset (Reset the switch)
  87. --vlan
  88. Attribute 1 (int): vid (VLAN ID (0-4094))
  89. Attribute 2 (ports): ports (VLAN port mapping)
  90. --port
  91. Attribute 1 (string): link (Get port link information)
  92. Attribute 2 (int): pvid (Primary VLAN ID)
  93.  
  94. Normal case
  95.  
  96. [ 4.150000] eth0: Atheros AG71xx at 0xb9000000, irq 4
  97. [ 4.670000] eth1: Atheros AG71xx at 0xba000000, irq 5
  98. [ 5.190000] eth1: AR8316 switch driver attached.
  99. [ 5.210000] ar8316: Using port 4 as PHY
  100.  
  101. swconfig dev eth1 show
  102. Global attributes:
  103. enable_vlan: 1
  104. Port 0:
  105. link: port:0 link:down
  106. pvid: 0
  107. Port 1:
  108. link: port:1 link:down
  109. pvid: 0
  110. Port 2:
  111. link: port:2 link:up speed:100baseT full-duplex auto
  112. pvid: 2
  113. Port 3:
  114. link: port:3 link:down
  115. pvid: 2
  116. Port 4:
  117. link: port:4 link:up speed:100baseT full-duplex auto
  118. pvid: 3
  119. VLAN 2:
  120. vid: 2
  121. ports: 0t 2 3
  122. VLAN 3:
  123. vid: 3
  124. ports: 0t 4
  125.  
  126. swconfig dev eth1 help
  127. switch0: eth1(Atheros AR8316), ports: 5 (cpu @ 0), vlans: 128
  128. --switch
  129. Attribute 1 (int): enable_vlan (Enable VLAN mode)
  130. Attribute 2 (none): apply (Activate changes in the hardware)
  131. Attribute 3 (none): reset (Reset the switch)
  132. --vlan
  133. Attribute 1 (int): vid (VLAN ID (0-4094))
  134. Attribute 2 (ports): ports (VLAN port mapping)
  135. --port
  136. Attribute 1 (string): link (Get port link information)
  137. Attribute 2 (int): pvid (Primary VLAN ID)
  138.  
  139.  
  140. eth0 nop
  141.  
  142. [ 4.030000] eth0: Atheros AG71xx at 0xb9000000, irq 4
  143. [ 4.410000] eth0: connected to PHY at ag71xx-mdio.0:04 [uid=004dd041, driver=Atheros AR8216/AR8316/AR8326]
  144. [ 4.410000] eth1: Atheros AG71xx at 0xba000000, irq 5
  145. [ 4.930000] eth1: AR8316 switch driver attached.
  146. [ 4.950000] ar8316: Using port 4 as switch port
  147. [ 11.000000] eth1: connected to PHY at ag71xx-mdio.0:00 [uid=004dd041, driver=Atheros AR8216/AR8316/AR8326]
  148.  
  149. swconfig dev eth1 show
  150. Global attributes:
  151. enable_vlan: 1
  152. Port 0:
  153. link: port:0 link:down
  154. pvid: 0
  155. Port 1:
  156. link: port:1 link:down
  157. pvid: 0
  158. Port 2:
  159. link: port:2 link:up speed:100baseT full-duplex auto
  160. pvid: 2
  161. Port 3:
  162. link: port:3 link:down
  163. pvid: 2
  164. Port 4:
  165. link: port:4 link:up speed:100baseT full-duplex auto
  166. pvid: 3
  167. Port 5:
  168. link: port:5 link:up speed:1000baseT full-duplex auto
  169. pvid: 0
  170. VLAN 2:
  171. vid: 2
  172. ports: 0t 2 3
  173. VLAN 3:
  174. vid: 3
  175. ports: 0t 4
  176.  
  177. swconfig dev eth1 help
  178. switch0: eth1(Atheros AR8316), ports: 6 (cpu @ 0), vlans: 128
  179. --switch
  180. Attribute 1 (int): enable_vlan (Enable VLAN mode)
  181. Attribute 2 (none): apply (Activate changes in the hardware)
  182. Attribute 3 (none): reset (Reset the switch)
  183. --vlan
  184. Attribute 1 (int): vid (VLAN ID (0-4094))
  185. Attribute 2 (ports): ports (VLAN port mapping)
  186. --port
  187. Attribute 1 (string): link (Get port link information)
  188. Attribute 2 (int): pvid (Primary VLAN ID)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement