Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
admin@XorPlus# set vlans vlan-id 2
admin@XorPlus# set vlans vlan-id 3
admin@XorPlus# set vlans vlan-id 4
admin@XorPlus# set interface gigabit-ethernet ge-1/1/1 family ethernet-switching native-vlan-id 2
admin@XorPlus# set interface gigabit-ethernet ge-1/1/2 family ethernet-switching native-vlan-id 3
admin@XorPlus# set interface gigabit-ethernet ge-1/1/3 family ethernet-switching native-vlan-id 4
admin@XorPlus# set vlans vlan-id 2 l3-interface vlan-2
admin@XorPlus# set vlans vlan-id 3 l3-interface vlan-3
admin@XorPlus# set vlans vlan-id 4 l3-interface vlan-4
admin@XorPlus# commit
Commit OK.
Save done.
admin@XorPlus# set l3-interface vlan-interface vlan-2 address 10.10.2.1 prefix-length 24
admin@XorPlus# set l3-interface vlan-interface vlan-3 address 10.10.4.1 prefix-length 24
admin@XorPlus# set l3-interface vlan-interface vlan-4 address 10.10.6.12 prefix-length 24
admin@XorPlus# set ip routing enable true
admin@XorPlus# set protocols static route 10.10.1.0/24 next-hop 10.10.6.1
admin@XorPlus# set protocols static route 0.0.0.0/0 next-hop 10.10.4.2
admin@XorPlus# commit
Commit OK.
Save done.
admin@XorPlus# 

...