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>

...

                  To enable DHCP relay in a VRF, the configuration method is to bind the DHCP client side VLAN interface to a user-defined VRF by using the following command.

  set set l3-interface vlan-interface interfaceinterface <interface-name> vrf <vrf-name>                 

...

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-2interface vif 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

...