Advertisement
Guest User

Untitled

a guest
Mar 15th, 2017
102
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. root@bananapi:~# swconfig dev eth0 set reset 1
  2. root@bananapi:~# swconfig dev eth0 set enable_vlan 1
  3. root@bananapi:~# swconfig dev eth0 vlan 101 set ports '3 8t'
  4. root@bananapi:~# swconfig dev eth0 vlan 102 set ports '4 0 1 2 8t'
  5. root@bananapi:~# swconfig dev eth0 set apply 1
  6. root@bananapi:~# swconfig dev eth0 vlan 102 show
  7. VLAN 102:
  8. ports: 0 1 2 4 8t
  9. root@bananapi:~# ip link show eth0.102
  10. Device "eth0.102" does not exist.
  11. root@bananapi:~#
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement