...
Code Block |
---|
admin@XorPlus# set vlans vlan-id 100 l3-interface vlan100 admin@XorPlus# set vlans vlan-id 200 l3-interface vlan200 admin@XorPlus# set vlans vlan-id 300 l3-interface vlan300 admin@XorPlus# set vlans vlan-id 400 l3-interface vlan400 admin@XorPlus# set interface gigabit-ethernet te-1/1/1 family ethernet-switching native-vlan-id 100 admin@XorPlus# set interface gigabit-ethernet te-1/1/2 family ethernet-switching native-vlan-id 200 admin@XorPlus# set interface gigabit-ethernet te-1/1/3 family ethernet-switching native-vlan-id 300 admin@XorPlus# set interface gigabit-ethernet xe-1/1/1 family ethernet-switching native-vlan-id 400 admin@XorPlus# commit Waiting for merging configuration. Commit OK. Save done. admin@XorPlus# set vlanl3-interface vlan-interface vlan100 vif vlan100 address 172.16.1.1 prefix-length 24 admin@XorPlus# set vlanl3-interface vlan-interface vlan200 vif vlan200 address 172.16.2.1 prefix-length 24 admin@XorPlus# set vlanl3-interface vlan-interface vlan300 vif vlan300 address 172.16.3.1 prefix-length 24 admin@XorPlus# set vlanl3-interface vlan-interface vlan400 vif vlan400 address 172.16.4.1 prefix-length 24 admin@XorPlus# commit Waiting for merging configuration. Commit OK. Save done. admin@XorPlus# set interface stm firewall-table ingress 400 admin@XorPlus# set interface stm ipv4-route 6000 XorPlus#admin@XorPlus# commit Waiting for merging configuration. Commit OK. Save done. admin@XorPlus# XorPlus# set interface gigabit-ethernet te-1/1/1 crossflow enable true admin@XorPlus# set interface gigabit-ethernet te-1/1/2 crossflow enable true admin@XorPlus# set interface gigabit-ethernet te-1/1/3 crossflow enable true admin@XorPlus# set interface gigabit-ethernet xe-1/1/1 crossflow enable true admin@XorPlus# commit Waiting for merging configuration. Commit OK. Save done. |
Be sure to configure the OSPF interface to work with the OSPF Layer 3 network.
Code Block |
---|
admin@XorPlus#admin@Xorplus# set protocols ospf4ospf interface vlan400 area 0.0.0.0 interface vlan400 vif vlan400 address 172.16.4.1 admin@XorPlus# set protocols ospf4ospf router-id 1.1.1.1 admin@XorPlus# set policy policy-statement static-to-ospf term t1 from protocolprotocols ospf redistribute connected admin@XorPlus# set protocols ospf4 export static-to-ospf admin@XorPlus# commit Waiting for merging configuration. Commit OK. Save done. admin@XorPlus# |
...