/
IPv6 Static Routing Configuration
IPv6 Static Routing Configuration
NOTE:
Enable IP routing function before using this feature, for details please refer to Configuring IP Routing.
In L2/L3, IPv6 static routing is supported. The IPv6 for OSPFv3 and RIPng will be supported soon.
In P-3290 and P-3780, configure the link-local IPv6 address, otherwise all the IPv6 interfaces will share the same link-local address. This problem will be fixed in future versions.
Configuring a Static Route for IPv6
Configure the link-local address and global address for a VLAN interface.
admin@XorPlus# set vlans vlan-id 2 admin@XorPlus# set vlans vlan-id 3 admin@XorPlus# set interface gigabit-ethernet ge-1/1/3 family ethernet-switching native-vlan-id 2 admin@XorPlus# set interface gigabit-ethernet ge-1/1/4 family ethernet-switching native-vlan-id 3 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 vlan-interface interface vlan-2vif vlan-2 address 2001:db8:3c4d:5:60:ff:73:87 prefix-length 64 admin@XorPlus# set vlan-interface interface vlan-2vif vlan-2 address fe80::ca0a:a9ff:fe04:4931 prefix-length 64 admin@XorPlus# set vlan-interface interface vlan-3vif vlan-3 address 2001:db8:3c4d:6:0:ff:73:87 prefix-length 64 admin@XorPlus# set vlan-interface interface vlan-3vif vlan-3 address fe80::ca0a:a9ff:4:4932 prefix-length 64 admin@XorPlus# commit Waiting for merging configuration. Commit OK. Save done. admin@XorPlus# set protocols static route 2001:db8:3c4d:7::/64 next-hop 2001:db8:3c4d:5:60:d6ff:73:89 admin@XorPlus# commit Waiting for merging configuration. Commit OK. Save done. admin@XorPlus#
Then, verify the IPv6 static route in the RIB:
admin@XorPlus# run show route table ipv6 unicast final 2001:db8:3c4d:5::/64[connected(0)/0] > via vlan-2/vlan-2 2001:db8:3c4d:6::/64[connected(0)/0] > via vlan-3/vlan-3 fe80::/64 [connected(0)/0] > via vlan-3/vlan-3 fe80::/64 [connected(0)/0] > via vlan-2/vlan-2
Copyright © 2025 Pica8 Inc. All Rights Reserved.