Skip to content

Instantly share code, notes, and snippets.

@neocturne
Created August 6, 2015 14:59
Show Gist options
  • Save neocturne/fee6797e1c0e7db9b575 to your computer and use it in GitHub Desktop.
Save neocturne/fee6797e1c0e7db9b575 to your computer and use it in GitHub Desktop.
config switch
option name 'eth0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'eth0'
option vlan '1'
option ports '0t 2 3 4 5'
config switch_vlan
option device 'eth0'
option vlan '2'
option ports '0t 1'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment