Documente Academic
Documente Profesional
Documente Cultură
Thomas Moegli
Ing. HES Tlcommunications - Rseaux et Scurit IT
Port Channeling
Technologie permettant de regrouper plusieurs liens
Sans EtherChannel
Thomas Moegli
Port Channeling
Technologie permettant de regrouper plusieurs liens
Avec EtherChannel
Thomas Moegli
Etherchannel
Utilis pour agrger la bande passante sur plusieurs
interfaces L2/L3
Permet daugmenter la bande passante et la
Switch Cisco
Etherchannel
LACP uniquement
Standard IEEE
Etherchannel
LACP ou PAgP
Switch Cisco
Thomas Moegli
Etherchannel
Switch Cisco
Switch Cisco
Po1
Fa0/4
Fa0/3
Fa0/2
Fa0/1
Thomas Moegli
Po1
Fa0/4
Fa0/3
Fa0/2
Fa0/1
Switch Cisco
Switch Cisco
Etherchannel
Protocoles
Protocoles :
Propritaire Cisco
Thomas Moegli
Etherchannel
PAgP
Etablissement dun canal EtherChannel selon les ports configurs :
Modes PAgP
SW1
SW2
On
Pas de ngociation / Force le canal sur PAgP
SW2
Desirable
On
On
Auto
SW1
Desirable
Auto
Thomas Moegli
Desirable
Auto
Etherchannel
LACP
Etablissement dun canal EtherChannel selon les ports configurs :
Modes LACP
SW1
SW2
On
Pas de ngociation / Force le canal sur LACP
SW2
Active
On
On
Passive
SW1
Active
Passive
Thomas Moegli
Active
Passive
Etherchannel
Configuration : Couche 2
Etapes
Configurer les ports pour quils aient des paramtres identiques (Configuration dinterface)
Thomas Moegli
Etherchannel
Configuration : Couche 2
Ce lien logique sera configur comme lien de trunk entre SW1 et SW2
SW1
Po1
Po1
Fa0/4
Fa0/3
Fa0/2
Fa0/1
Switch Cisco
Fa0/4
Fa0/3
Fa0/2
Fa0/1
SW1
Switch
Cisco
SW2
Switch
Cisco
SW2
Thomas Moegli
10
Switch Cisco
Etherchannel
Commandes de vrification
Commande
Description
Thomas Moegli
11
Etherchannel
brief
IP-Address
unassigned
unassigned
unassigned
unassigned
unassigned
unassigned
unassigned
unassigned
OK?
YES
YES
YES
YES
YES
YES
YES
YES
Method
unset
unset
unset
unset
unset
unset
unset
unset
Status
up
up
up
up
up
up
up
up
Thomas Moegli
12
Protocol
up
up
up
up
up
up
up
up
Etherchannel
Switch# show
show interface
interface-id
La commande Switch#
ip interface
br
Thomas Moegli
13
Etherchannel
La commande :
Switch# show etherchannel ?
donne les informations sur le lien
M
u
w
d
etherchannel summary
- down
P - bundled in port-channel
- stand-alone s - suspended
- Hot-standby (LACP only)
- Layer3
S - Layer2
- in use
f - failed to allocate aggregator
-
EthernetChannel
Number of channel-groups in use: 1
Number of aggregators:
1
Group Port-channel Protocol
Ports
------+-------------+-----------+----------------------------------------------1
Po1(SU)
PAgP
Et1/0(P)
Et1/1(P)
Et1/2(P)
Et1/3(P)
Thomas Moegli
14
Etherchannel
La commande :
Thomas Moegli
15
0d:00h:35m:48s
Et1/2
Etherchannel
Misconfiguration Guard
Pas de configuration EtherChannel
SW1
interface range Fa0/1 - 3
switchport mode on
Fa0/1
Fa0/2
Fa0/3
Fa0/1
Fa0/2
Fa0/3
F
Root Bridge
F
F
F
SW2
F
SW2 est configur pour tre Root Bridge, ses ports sont ltat Forwarding car ils sont DP
SW1 est configur avec EtherChannel pour regrouper les trois interfaces en une interface logique.
Linterface logique tant considr comme Root Port dans STP, les interfaces physiques sont donc Root Port
Si SW1 envoie une trame broadcast SW2 via son interface virtuelle et que celle-ci utilise linterface physique Fa0/1, SW2 va ensuite
proposer cette trame sur les interfaces Fa0/2 et Fa0/3 puisquils ne sont pas configurs en EtherChannel. SW1 reoit la trame double
Thomas Moegli
16
Etherchannel
Misconfiguration Guard
Lorsque les ports sont regroups dans un lien EtherChannel, ils partagent une adresse MAC unique
Tous les BPDUs qui sont transmis sur les interfaces physiques dun mme lien EtherChannel utilisent le mme Sending-PortID
En reprenant la topologie ci-dessus, lorsque SW1 reoit les trames BPDUs de SW2, il sattend recevoir des trames sur toutes
les interfaces physiques relies SW2
Toutefois, il vrifie que les trames reues sur chaque interface physique connecte SW2 possde le mme STP Port-ID.
Si ce nest pas le cas, il dtecte que EtherChannel nest pas configur sur le switch voisin et place les ports dans ltat errdisable.
Thomas Moegli
17
Etherchannel
Misconfiguration Guard
Configuration
Extended system ID
PortFast Default
Loopguard Default
is
is
is
is
is
is
enabled
disabled
disabled
disabled
disabled
enabled
Thomas Moegli
18
Etherchannel
Options Load-Balancing
PC A
IP : 1.1.1.1
PC B
IP Src : 2.2.2.2
IP Dst : 30.0.0.3
IP : 2.2.2.2
PC A
IP : 1.1.1.1
IP Src : 1.1.1.1
IP Dst : 20.0.0.2
PC B
PC C
IP : 2.2.2.2
IP : 3.3.3.3
IP Src : 3.3.3.3
IP Dst : 20.0.0.2
liens :
Load-Balance
via Adresse IP Destination
Load-Balance
via Adresse IP Source
IP : 20.0.0.2
Serveur 1
Thomas Moegli
19
Srv1
IP : 30.0.0.3
Srv2
Etherchannel
Options Load-Balancing
Commande
Description
Modles compatibles
dst-ip
Adresse IP de destination
dst-mac
src-dst-ip
src-dst-mac
src-ip
Adresse IP source
src-mac
src-port
dst-port
src-dst-port
Thomas Moegli
20
Layer 3 EtherChannel
SW1(config)# ip routing
Po1
Fa0/8
Fa0/7
Fa0/6
Fa0/5
Thomas Moegli
21