Hello Yan Linn,
Sample config for vrrp. In the configuration I am creating two vlans , vlan9 and vlan10 and then going to run VRRP between them
Core1
create vlan vlan9 tag 9
conf vlan vlan9 ipaddress 192.168.9.11/24
conf vlan vlan9 add ports XXX
create vlan vlan10 tag 10
conf vlan vlan10 ipaddress 192.168.10.11/24
conf vlan vlan10 add ports XXX
create vrrp vlan vlan10 vrid 1
create vrrp vlan vlan9 vrid 1
configure vrrp vlan vlan10 vrid 1 add 192.168.10.10
configure vrrp vlan vlan9 vrid 1 add 192.168.9.10
enable vrrp vlan vlan10 vrid 1
enable vrrp vlan vlan9 vrid 1
Core 2
create vlan vlan9 tag 9
conf vlan vlan9 ipaddress 192.168.9.10/24
conf vlan vlan9 add ports XXX
create vlan vlan10 tag 10
conf vlan vlan10 ipaddress 192.168.10.10/24
conf vlan vlan10 add ports XXX
create vrrp vlan vlan10 vrid 1
configure vrrp vlan vlan10 vrid 1 priority 255
create vrrp vlan vlan9 vrid 1
configure vrrp vlan vlan9 vrid 1 priority 255
configure vrrp vlan vlan10 vrid 1 add 192.168.10.10
configure vrrp vlan vlan9 vrid 1 add 192.168.9.10
enable vrrp vlan vlan10 vrid 1
enable vrrp vlan vlan9 vrid 1
From this configuration core 2 act as default gateway for both vlans since priority in core 2 is set higher than core 1. If you want to load balance for vlan 9 you can configure higher priority in core1 and leave the priority to the default value(100). Below is the output from show commands
core1
sh vrrp
Virtual Master
VLAN Name VRID Pri IP Address State MAC Address TP/TR/TV/P/T
vlan10(En) 0001 100 192.168.10.10 BKUP 00:00:5e:00:01:01 0 0 0 Y 1
vlan9(En) 0001 100 192.168.9.10 BKUP 00:00:5e:00:01:01 0 0 0 Y 1
En-Enabled, Ds-Disabled, Pri-Priority, T-Advert Timer, P-Preempt
TP-Tracked Pings, TR-Tracked Routes, TV-Tracked VLANs
Core2
sh vrrp
Virtual Master
VLAN Name VRID Pri IP Address State MAC Address TP/TR/TV/P/T
vlan10(En) 0001 255 192.168.10.10 MSTR 00:00:5e:00:01:01 0 0 0 Y 1
vlan9(En) 0001 255 192.168.9.10 MSTR 00:00:5e:00:01:01 0 0 0 Y 1