Versions Compared

Key

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

...

       d). Configure the IP address for the VLAN interface to implement Layer 3 connectivity.

    set l3-interface vlan-interface <interface interface <interface-name> vif <vif-nameaddress <addressprefix-length <number>

...

Code Block
admin@XorPlus# set vlans vlan-id 2
admin@XorPlus# set vlans vlan-id 3
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/1 family ethernet-switching port-mode trunk
admin@XorPlus# set interface gigabit-ethernet ge-1/1/2 family ethernet-switching port-mode trunk
admin@XorPlus# set vlanl3-interface interface vlan-2 vifinterface vlan-2 address 192.168.1.1 prefix-length 24
admin@XorPlus# set vlanl3-interface interface vlan-3 vifinterface vlan-3 address 192.168.2.1 prefix-length 24
admin@XorPlus# set vlans vlan-id 2 l3-interface vlan-2
admin@XorPlus# set vlans vlan-id 3 l3-interface vlan-3

...