c2960-169-sed-stack#enable
c2960-169-sed-stack#configure terminal
c2960-169-sed-stack(config)#interface range gigabitEthernet 1/0/1-24, gigabitEthernet 2/0/1-24
c2960-169-sed-stack(config-if-range)#no shutdown
c2960-169-sed-stack(config-if-range)#exit
c2960-169-sed-stack(config)#interface range gigabitEthernet 1/0/1-22, gigabitEthernet 2/0/1-22
c2960-169-sed-stack(config-if-range)#switchport mode access
c2960-169-sed-stack(config-if-range)#switchport access vlan 98
c2960-169-sed-stack(config-if-range)#exit
c2960-169-sed-stack(config)#interface range gigabitEthernet 1/0/23-24, gigabitEthernet 2/0/23-24
c2960-169-sed-stack(config-if-range)#switchport mode trunk
c2960-169-sed-stack(config-if-range)#exit
c2960-169-sed-stack(config)#exit
c2960-169-sed-stack#write
c2960-169-sed-stack#enable
c2960-169-sed-stack#configure terminal
c2960-169-sed-stack(config)#interface Port-Channel 2
c2960-169-sed-stack(config)#switchport access vlan 98
c2960-169-sed-stack(config)#exit
c2960-169-sed-stack(config)#interface Port-Channel 3
c2960-169-sed-stack(config)#switchport access vlan 98
c2960-169-sed-stack(config)#exit
c2960-169-sed-stack(config)#interface gigabitEthernet 1/0/1
c2960-169-sed-stack(config-if)#channel-group 2 mode on
c2960-169-sed-stack(config-if)#exit
c2960-169-sed-stack(config)#interface gigabitEthernet 1/0/3
c2960-169-sed-stack(config-if)#channel-group 2 mode on
c2960-169-sed-stack(config-if)#exit
c2960-169-sed-stack(config)#interface gigabitEthernet 2/0/1
c2960-169-sed-stack(config-if)#channel-group 2 mode on
c2960-169-sed-stack(config-if)#exit
c2960-169-sed-stack(config)#interface gigabitEthernet 2/0/3
c2960-169-sed-stack(config-if)#channel-group 2 mode on
c2960-169-sed-stack(config-if)#exit
c2960-169-sed-stack(config)#interface gigabitEthernet 1/0/2
c2960-169-sed-stack(config-if)#channel-group 3 mode on
c2960-169-sed-stack(config-if)#exit
c2960-169-sed-stack(config)#interface gigabitEthernet 1/0/4
c2960-169-sed-stack(config-if)#channel-group 3 mode on
c2960-169-sed-stack(config-if)#exit
c2960-169-sed-stack(config)#interface gigabitEthernet 2/0/2
c2960-169-sed-stack(config-if)#channel-group 3 mode on
c2960-169-sed-stack(config-if)#exit
c2960-169-sed-stack(config)#interface gigabitEthernet 2/0/4
c2960-169-sed-stack(config-if)#channel-group 3 mode on
c2960-169-sed-stack(config-if)#exit
c2960-169-sed-stack(config)#exit
c2960-169-sed-stack#write
14.12.2014, 21:19, "Jiří Sléžka" <jiri.slezka@slu.cz>:
oVirt generate ifcfg-* config files automaticaly. Can I edit it? I think by default it uses "layer3+4"