Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- eth0: Atheros AG71xx at 0xb9000000, irq 4
- eth1: Atheros AG71xx at 0xba000000, irq 5
- eth1: AR8316 switch driver attached.
- Atheros AR71xx hardware watchdog driver version 0.1.0
- root@OpenWrt:/# ifconfig
- br-lan Link encap:Ethernet HWaddr 00:15:6D:C1:C8:BA
- inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:1489 errors:0 dropped:0 overruns:0 frame:0
- TX packets:1356 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:0
- RX bytes:136342 (133.1 KiB) TX bytes:197599 (192.9 KiB)
- eth0 Link encap:Ethernet HWaddr 00:15:6D:C1:C8:B9
- inet addr:46.162.196.150 Bcast:46.162.199.255 Mask:255.255.252.0
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:860 errors:0 dropped:0 overruns:0 frame:0
- TX packets:942 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:189616 (185.1 KiB) TX bytes:132784 (129.6 KiB)
- Interrupt:4
- eth1 Link encap:Ethernet HWaddr 00:15:6D:C1:C8:BA
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:1489 errors:0 dropped:0 overruns:0 frame:0
- TX packets:1356 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:157188 (153.5 KiB) TX bytes:197599 (192.9 KiB)
- Interrupt:5
- lo Link encap:Local Loopback
- inet addr:127.0.0.1 Mask:255.0.0.0
- UP LOOPBACK RUNNING MTU:16436 Metric:1
- RX packets:16 errors:0 dropped:0 overruns:0 frame:0
- TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:0
- RX bytes:1428 (1.3 KiB) TX bytes:1428 (1.3 KiB)
- root@OpenWrt:/# swconfig dev eth1 show
- Global attributes:
- enable_vlan: 1
- Port 0:
- pvid: 1
- Port 1:
- pvid: 1
- Port 2:
- pvid: 1
- Port 3:
- pvid: 1
- Port 4:
- pvid: 1
- VLAN 1:
- vid: 1
- ports: 0 1 2 3 4
- root@OpenWrt:/# 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 (int): pvid (Primary VLAN ID)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement