You are on page 1of 3

SW1(config)#int range fastEthernet 0/1 - fastEthernet 1/1

SW1(config-if-range)#channel-group 1 mode active

SW1(config)#int port-channel 1
SW1(config-if)#switchport mode trunk
Remarque
SW1(config-if)#switchport trunk native vlan N°VLAN
SW1(config-if)#switchport trunk allowed vlan N°VLAN Pour
autoriser d’autres VLAN

De meme pour SW2


SW2(config)#interface range fa0/1 - fastEthernet 1/1
SW2(config-if-range)#channel-group 1 mode active
SW2(config)#interface port-channel 1
SW2(config-if)#switchport mode trunk

Commandes d’affichage
SW1#show etherchannel port-channel
Channel-group listing:
----------------------

Group: 1
----------
Port-channels in the group:
---------------------------

Port-channel: Po1 (Primary Aggregator)


------------

Age of the Port-channel = 00d:00h:22m:13s


Logical slot/port = 2/1 Number of ports = 1
GC = 0x00000000 HotStandBy port = null
Port state = Port-channel
Protocol = LACP
Port Security = Disabled

Ports in the Port-channel:

Index Load Port EC state No of bits


------+------+------+------------------+-----------
0 00 Fa0/1 Active 0
Time since last port bundled: 00d:00h:04m:14s Fa0/1

SW1#show etherchannel
Channel-group listing:
----------------------

Group: 1
----------
Group state = L2
Ports: 1 Maxports = 16
Port-channels: 1 Max Port-channels = 16
Protocol: LACP

You might also like