en
conf ter
host SW1
int port-channel 1
switch trunk encapsulation dot1q
switch mode trunk
exit
int ran f0/1-2
switch trunk encapsulation dot1q
switch mode trunk
channel-group 1 mode active
exit
port-channel load-balance src-dst-ip
end
SW2
en
conf ter
host SW2
int port-channel 1
switch trunk encapsulation dot1q
switch mode trunk
exit
int ran f0/1-2
switch trunk encapsulation dot1q
switch mode trunk
channel-group 1 mode passive
exit
port-channel load-balance src-dst-ip
end