Skip to content

Instantly share code, notes, and snippets.

@jatkins
Created January 28, 2020 00:50
Show Gist options
  • Save jatkins/3045504c82c3ba0a6fa6a2c9f26f99ca to your computer and use it in GitHub Desktop.
Save jatkins/3045504c82c3ba0a6fa6a2c9f26f99ca to your computer and use it in GitHub Desktop.
switch switch0 {
mtu 1500
switch-port {
interface eth1 {
vlan {
pvid 1
vid 999
}
}
interface eth2 {
vlan {
pvid 1
}
}
interface eth3 {
vlan {
pvid 1
}
}
interface eth4 {
vlan {
pvid 1
}
}
interface eth5 {
vlan {
pvid 1
}
}
vlan-aware enable
}
vif 1 {
address 10.2.2.1/24
mtu 1500
}
vif 999 {
address 10.2.3.1/24
mtu 1500
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment