Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Case one
- [ 4.070000] eth0: Atheros AG71xx at 0xb9000000, irq 4
- [ 4.590000] eth1: Atheros AG71xx at 0xba000000, irq 5
- [ 5.110000] eth1: AR8316 switch driver attached.
- [ 5.130000] ar8316: Using port 4 as PHY
- swconfig dev eth1 show
- Global attributes:
- enable_vlan: 1
- Port 0:
- link: port:0 link:down
- pvid: 0
- Port 1:
- link: port:1 link:down
- pvid: 0
- Port 2:
- link: port:2 link:up speed:1000baseT half-duplex <---- This should be 100baseT
- pvid: 2
- Port 3:
- link: port:3 link:down
- pvid: 2
- Port 4:
- link: port:4 link:up speed:100baseT full-duplex auto
- pvid: 3
- VLAN 2:
- vid: 2
- ports: 0t 2 3
- VLAN 3:
- vid: 3
- ports: 0t 4
- swconfig dev eth1 help
- switch0: eth1(Atheros AR8316), ports: 5 (cpu @ 0), vlans: 128
- --switch
- Attribute 1 (int): enable_vlan (Enable VLAN mode)
- Attribute 2 (none): apply (Activate changes in the hardware)
- Attribute 3 (none): reset (Reset the switch)
- --vlan
- Attribute 1 (int): vid (VLAN ID (0-4094))
- Attribute 2 (ports): ports (VLAN port mapping)
- --port
- Attribute 1 (string): link (Get port link information)
- Attribute 2 (int): pvid (Primary VLAN ID)
- Case two
- [ 3.850000] eth0: Atheros AG71xx at 0xb9000000, irq 4
- [ 4.150000] eth1: Atheros AG71xx at 0xba000000, irq 5
- [ 4.680000] eth1: AR8316 switch driver attached.
- [ 4.700000] ar8316: Using port 4 as switch port
- swconfig dev eth1 show
- Global attributes:
- enable_vlan: 1
- Port 0:
- link: port:0 link:down
- pvid: 0
- Port 1:
- link: port:1 link:down
- pvid: 0
- Port 2:
- link: port:2 link:up speed:100baseT full-duplex auto
- pvid: 2
- Port 3:
- link: port:3 link:down
- pvid: 2
- Port 4:
- link: port:4 link:up speed:100baseT full-duplex auto
- pvid: 3
- Port 5:
- link: port:5 link:up speed:unknown full-duplex txflow rxflow auto
- pvid: 0
- VLAN 2:
- vid: 2
- ports: 0t 2 3
- VLAN 3:
- vid: 3
- ports: 0t 4
- swconfig dev eth1 help
- switch0: eth1(Atheros AR8316), ports: 6 (cpu @ 0), vlans: 128
- --switch
- Attribute 1 (int): enable_vlan (Enable VLAN mode)
- Attribute 2 (none): apply (Activate changes in the hardware)
- Attribute 3 (none): reset (Reset the switch)
- --vlan
- Attribute 1 (int): vid (VLAN ID (0-4094))
- Attribute 2 (ports): ports (VLAN port mapping)
- --port
- Attribute 1 (string): link (Get port link information)
- Attribute 2 (int): pvid (Primary VLAN ID)
- Normal case
- [ 4.150000] eth0: Atheros AG71xx at 0xb9000000, irq 4
- [ 4.670000] eth1: Atheros AG71xx at 0xba000000, irq 5
- [ 5.190000] eth1: AR8316 switch driver attached.
- [ 5.210000] ar8316: Using port 4 as PHY
- swconfig dev eth1 show
- Global attributes:
- enable_vlan: 1
- Port 0:
- link: port:0 link:down
- pvid: 0
- Port 1:
- link: port:1 link:down
- pvid: 0
- Port 2:
- link: port:2 link:up speed:100baseT full-duplex auto
- pvid: 2
- Port 3:
- link: port:3 link:down
- pvid: 2
- Port 4:
- link: port:4 link:up speed:100baseT full-duplex auto
- pvid: 3
- VLAN 2:
- vid: 2
- ports: 0t 2 3
- VLAN 3:
- vid: 3
- ports: 0t 4
- swconfig dev eth1 help
- switch0: eth1(Atheros AR8316), ports: 5 (cpu @ 0), vlans: 128
- --switch
- Attribute 1 (int): enable_vlan (Enable VLAN mode)
- Attribute 2 (none): apply (Activate changes in the hardware)
- Attribute 3 (none): reset (Reset the switch)
- --vlan
- Attribute 1 (int): vid (VLAN ID (0-4094))
- Attribute 2 (ports): ports (VLAN port mapping)
- --port
- Attribute 1 (string): link (Get port link information)
- Attribute 2 (int): pvid (Primary VLAN ID)
- eth0 nop
- [ 4.030000] eth0: Atheros AG71xx at 0xb9000000, irq 4
- [ 4.410000] eth0: connected to PHY at ag71xx-mdio.0:04 [uid=004dd041, driver=Atheros AR8216/AR8316/AR8326]
- [ 4.410000] eth1: Atheros AG71xx at 0xba000000, irq 5
- [ 4.930000] eth1: AR8316 switch driver attached.
- [ 4.950000] ar8316: Using port 4 as switch port
- [ 11.000000] eth1: connected to PHY at ag71xx-mdio.0:00 [uid=004dd041, driver=Atheros AR8216/AR8316/AR8326]
- swconfig dev eth1 show
- Global attributes:
- enable_vlan: 1
- Port 0:
- link: port:0 link:down
- pvid: 0
- Port 1:
- link: port:1 link:down
- pvid: 0
- Port 2:
- link: port:2 link:up speed:100baseT full-duplex auto
- pvid: 2
- Port 3:
- link: port:3 link:down
- pvid: 2
- Port 4:
- link: port:4 link:up speed:100baseT full-duplex auto
- pvid: 3
- Port 5:
- link: port:5 link:up speed:1000baseT full-duplex auto
- pvid: 0
- VLAN 2:
- vid: 2
- ports: 0t 2 3
- VLAN 3:
- vid: 3
- ports: 0t 4
- swconfig dev eth1 help
- switch0: eth1(Atheros AR8316), ports: 6 (cpu @ 0), vlans: 128
- --switch
- Attribute 1 (int): enable_vlan (Enable VLAN mode)
- Attribute 2 (none): apply (Activate changes in the hardware)
- Attribute 3 (none): reset (Reset the switch)
- --vlan
- Attribute 1 (int): vid (VLAN ID (0-4094))
- Attribute 2 (ports): ports (VLAN port mapping)
- --port
- Attribute 1 (string): link (Get port link information)
- Attribute 2 (int): pvid (Primary VLAN ID)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement