configure terminal interface range fastEthernet 0/1-2 channel-group 1 mode active channel-protocol lacp exit interface port-channel 1 switchport mode trunk end
interface fastEthernet 0/0.10 encapsulation dot1Q 10 ip address 192.168.10.2 255.255.255.0 standby 10 ip 192.168.10.254 standby 10 priority 100
router ospf 1 network 192.168.1.0 0.0.0.255 area 0 network 10.1.1.0 0.0.0.3 area 0