This page is based on the notes I took when managing Alcatel Omniswitchs 6600, 6800 in 2007 and later 6850. The full documentation can be found on Alcatel-Lucent website.
Managing the configuration files
Alcatel Omniswitchs can operate in two modes: working and certified (show running-directory to know in which mode the switch is). In working mode, the configuration can be modified, while it is no possible in certified mode (well, actually, it is). When booting, if working and certified configuration files are different, the switch will boot in certified mode. Configuration files are stored in certifed/boot.cfg and working/boot.cfg (they can be directly edited with “vi”).
route-map routetoISP1 permit 10 match ip address 10 set ip next-hop 10.0.0.1 ! route-map routetoISP2 permit 20 match ip address 20 set ip next-hop 10.0.0.2 !
and now for here put the MAGIC!
! interface Vlan2 ip address 10.2.0.1 255.255.0.0 ip policy route-map routetoISP1 ! interface Vlan4 ip address 10.4.0.1 255.255.0.0 ip policy route-map routetoISP1 ! interface Vlan3 ip address 10.5.0.1 255.255.0.0 ip helper-address 10.0.0.4 ip policy route-map routetoISP2 ! interface Vlan5 ip address 10.5.0.1 255.255.0.0 ip policy route-map routetoISP2 !
Here is the final config.
! interface Vlan2 ip address 10.2.0.1 255.255.0.0 ip policy route-map routetoISP1 ! interface Vlan4 ip address 10.4.0.1 255.255.0.0 ip policy route-map routetoISP1 ! interface Vlan3 ip address 10.5.0.1 255.255.0.0 ip helper-address 10.0.0.4 ip policy route-map routetoISP2 ! interface Vlan5 ip address 10.5.0.1 255.255.0.0 ip policy route-map routetoISP2 ! ip route 0.0.0.0 0.0.0.0 10.0.0.1 ! access-list 10 permit 10.2.0.0 0.0.255.255 access-list 10 permit 10.4.0.0 0.0.255.255 access-list 20 permit 10.3.0.0 0.0.255.255 access-list 20 permit 10.5.0.0 0.0.255.255 route-map routetoISP1 permit 10 match ip address 10 set ip next-hop 10.0.0.1 ! route-map routetoISP2 permit 20 match ip address 20 set ip next-hop 10.0.0.2 !