设备:extreme blackdiamon 6808
基本情况:在这个设备上有2段地址:192.168.0.0/20和192.168.16.0/20;有2个出口,出口地址为:10.10.0.1及10.10.1.1.
config iproute add default 10.9.10.10
config iproute add default 10.10.10.10
create flow-redirect private1 any destination 10.0.0.0/8 source 10.2.0.0/16
create flow-redirect private2 any destination 10.0.0.0/8 source 10.3.0.0/16
create flow-redirect private3 any destination 10.0.0.0/8 source 10.8.0.0/16
create flow-redirect private4 any destination 192.0.0.0/8 source 10.2.0.0/16
create flow-redirect private5 any destination 192.0.0.0/8 source 10.3.0.0/16
create flow-redirect private6 any destination 192.0.0.0/8 source 10.8.0.0/16
create flow-redirect isp2-1 any destination any source 10.3.0.0/16
config flow-re isp2-1 add next-hop 10.10.10.10
create flow-redirect isp2-2 any destination any source 10.8.0.0/16
config flow-re isp2-2 add next-hop 10.10.10.10
create flow-redirect isp2-3 any destination any source 10.2.0.0/16
config flow-re isp2-3 add next-hop 10.10.10.10
create flow-redirect isp1-1 any destination any source 10.3.0.0/16
config flow-re isp1-1 add next-hop 10.9.10.10
create flow-redirect isp1-2 any destination any source 10.8.0.0/16
config flow-re isp1-2 add next-hop 10.9.10.10
create flow-redirect isp1-3 any destination any source 10.2.0.0/16
config flow-re isp1-3 add next-hop 10.9.10.10
enable flow-redirect private1
enable flow-redirect private2
enable flow-redirect private3
enable flow-redirect private4
enable flow-redirect private5
enable flow-redirect private6
enable flow-redirect isp1
enable flow-redirect isp2-1
enable flow-redirect isp2-2