Cisco Trunk LACP - Réseaux - Systèmes & Réseaux Pro
MarshPosté le 03-03-2010 à 15:20:32
Bonjour tout le monde,
Pour débuter, je tiens à mentionner que je suis débutant dans la configuration télécom. Actuellement, j'ai un soucis de configuration entre 2 équipements réseau.
Voici la mise en situation:
J'ai un équipement motorola, un genre de switch/routeur et une switch Cisco Catalyst 2960G. Je dois créer un Port-Channel Group utilisant LACP par lequel passera un lien trunk. Le Port-Channel est configuré en mode "passive" (sous la recommandation du consultant qui configure l'équipement Moto).
Voici la configuration de la switch 2960G
Citation :
Building configuration...
Current configuration : 1474 bytes ! version 12.2 no service pad service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname Switch1 ! boot-start-marker boot-end-marker ! enable secret 5 $1$ZpVF$RiAW5KZzUFc0uxEWGMoD5. enable password cisco ! no aaa new-model system mtu routing 1500 ip subnet-zero ! ! ! ! ! ! ! ! ! spanning-tree mode pvst spanning-tree extend system-id ! vlan internal allocation policy ascending ! ! ! interface Port-channel1 switchport trunk allowed vlan 100,200 switchport mode trunk ! interface GigabitEthernet0/1 ! interface GigabitEthernet0/2 switchport access vlan 100 switchport mode access ! interface GigabitEthernet0/3 switchport access vlan 200 switchport mode access ! interface GigabitEthernet0/4 ! interface GigabitEthernet0/5 ! interface GigabitEthernet0/6 ! interface GigabitEthernet0/7 description L2 Switch Mod1/1 switchport trunk allowed vlan 100,200 switchport mode trunk channel-group 1 mode passive ! interface GigabitEthernet0/8 description L2 Switch Mod2/1 switchport trunk allowed vlan 100,200 switchport mode trunk channel-group 1 mode passive ! interface Vlan1 no ip address no ip route-cache shutdown ! interface Vlan100 no ip address no ip route-cache ! interface Vlan200 no ip address no ip route-cache ! ip http server ip http secure-server ! control-plane ! ! line con 0 line vty 0 4 password cisco login line vty 5 15 password cisco login ! end
Je vous envoie quelques commande show:
show int etherchannel
Citation :
---- GigabitEthernet0/7: Port state = Up Mstr Assoc In-Bndl Channel group = 1 Mode = Passive Gcchange = - Port-channel = Po1 GC = - Pseudo port-channel = Po1 Port index = 0 Load = 0x00 Protocol = LACP
Flags: S - Device is sending Slow LACPDUs F - Device is sending fast LACPDUs. A - Device is in active mode. P - Device is in passive mode.
Local information: LACP port Admin Oper Port Port Port Flags State Priority Key Key Number State Gi0/7 SP bndl 32768 0x1 0x1 0x7 0x3C
Partner's information:
LACP port Admin Oper Port Port Port Flags Priority Dev ID Age key Key Number State Gi0/7 SA 1 001b.edb0.d700 11s 0x0 0x64 0x1 0x3D
Age of the port in the current state: 0d:15h:32m:08s
---- GigabitEthernet0/8: Port state = Up Mstr Assoc In-Bndl Channel group = 1 Mode = Passive Gcchange = - Port-channel = Po1 GC = - Pseudo port-channel = Po1 Port index = 0 Load = 0x00 Protocol = LACP
Flags: S - Device is sending Slow LACPDUs F - Device is sending fast LACPDUs. A - Device is in active mode. P - Device is in passive mode.
Local information: LACP port Admin Oper Port Port Port Flags State Priority Key Key Number State Gi0/8 SP bndl 32768 0x1 0x1 0x8 0x3C
Partner's information:
LACP port Admin Oper Port Port Port Flags Priority Dev ID Age key Key Number State Gi0/8 SA 1 001b.edb0.d700 29s 0x0 0x64 0x15 0x3D
Age of the port in the current state: 0d:15h:19m:54s
Age of the Port-channel = 5d:19h:34m:43s Logical slot/port = 2/1 Number of ports = 2 HotStandBy port = null Port state = Port-channel Ag-Inuse Protocol = LACP Port security = Disabled
Ports in the Port-channel:
Index Load Port EC state No of bits ------+------+------+------------------+----------- 0 00 Gi0/7 Passive 0 0 00 Gi0/8 Passive 0
Time since last port bundled: 0d:15h:19m:57s Gi0/8 Time since last port Un-bundled: 0d:15h:34m:36s Gi0/8
show int Po1
Citation :
Port Name Status Vlan Duplex Speed Type Po1 connected trunk a-full a-1000
show int trunk
Citation :
Port Mode Encapsulation Status Native vlan Po1 on 802.1q trunking 1
Port Vlans allowed on trunk Po1 100,200
Port Vlans allowed and active in management domain Po1 100,200
Port Vlans in spanning tree forwarding state and not pruned Po1 100,200
show vlan brief
Citation :
VLAN Name Status Ports ---- -------------------------------- --------- ------------------------------- 1 default active Gi0/1, Gi0/4, Gi0/5, Gi0/6 100 User active Gi0/3 200 AP active Gi0/2 1002 fddi-default act/unsup 1003 token-ring-default act/unsup 1004 fddinet-default act/unsup 1005 trnet-default act/unsup
En espérant que quelqu'un pourra m'aider,
Merci
Alan Pinard
Message édité par versiona le 03-03-2010 à 15:41:13
Marsh Posté le 03-03-2010 à 15:20:32
Bonjour tout le monde,
Pour débuter, je tiens à mentionner que je suis débutant dans la configuration télécom. Actuellement, j'ai un soucis de configuration entre 2 équipements réseau.
Voici la mise en situation:
J'ai un équipement motorola, un genre de switch/routeur et une switch Cisco Catalyst 2960G. Je dois créer un Port-Channel Group utilisant LACP par lequel passera un lien trunk. Le Port-Channel est configuré en mode "passive" (sous la recommandation du consultant qui configure l'équipement Moto).
Voici la configuration de la switch 2960G
Building configuration...
Current configuration : 1474 bytes
!
version 12.2
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Switch1
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$ZpVF$RiAW5KZzUFc0uxEWGMoD5.
enable password cisco
!
no aaa new-model
system mtu routing 1500
ip subnet-zero
!
!
!
!
!
!
!
!
!
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
!
!
interface Port-channel1
switchport trunk allowed vlan 100,200
switchport mode trunk
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
switchport access vlan 100
switchport mode access
!
interface GigabitEthernet0/3
switchport access vlan 200
switchport mode access
!
interface GigabitEthernet0/4
!
interface GigabitEthernet0/5
!
interface GigabitEthernet0/6
!
interface GigabitEthernet0/7
description L2 Switch Mod1/1
switchport trunk allowed vlan 100,200
switchport mode trunk
channel-group 1 mode passive
!
interface GigabitEthernet0/8
description L2 Switch Mod2/1
switchport trunk allowed vlan 100,200
switchport mode trunk
channel-group 1 mode passive
!
interface Vlan1
no ip address
no ip route-cache
shutdown
!
interface Vlan100
no ip address
no ip route-cache
!
interface Vlan200
no ip address
no ip route-cache
!
ip http server
ip http secure-server
!
control-plane
!
!
line con 0
line vty 0 4
password cisco
login
line vty 5 15
password cisco
login
!
end
Je vous envoie quelques commande show:
show int etherchannel
----
GigabitEthernet0/7:
Port state = Up Mstr Assoc In-Bndl
Channel group = 1 Mode = Passive Gcchange = -
Port-channel = Po1 GC = - Pseudo port-channel = Po1
Port index = 0 Load = 0x00 Protocol = LACP
Flags: S - Device is sending Slow LACPDUs F - Device is sending fast LACPDUs.
A - Device is in active mode. P - Device is in passive mode.
Local information:
LACP port Admin Oper Port Port
Port Flags State Priority Key Key Number State
Gi0/7 SP bndl 32768 0x1 0x1 0x7 0x3C
Partner's information:
LACP port Admin Oper Port Port
Port Flags Priority Dev ID Age key Key Number State
Gi0/7 SA 1 001b.edb0.d700 11s 0x0 0x64 0x1 0x3D
Age of the port in the current state: 0d:15h:32m:08s
----
GigabitEthernet0/8:
Port state = Up Mstr Assoc In-Bndl
Channel group = 1 Mode = Passive Gcchange = -
Port-channel = Po1 GC = - Pseudo port-channel = Po1
Port index = 0 Load = 0x00 Protocol = LACP
Flags: S - Device is sending Slow LACPDUs F - Device is sending fast LACPDUs.
A - Device is in active mode. P - Device is in passive mode.
Local information:
LACP port Admin Oper Port Port
Port Flags State Priority Key Key Number State
Gi0/8 SP bndl 32768 0x1 0x1 0x8 0x3C
Partner's information:
LACP port Admin Oper Port Port
Port Flags Priority Dev ID Age key Key Number State
Gi0/8 SA 1 001b.edb0.d700 29s 0x0 0x64 0x15 0x3D
Age of the port in the current state: 0d:15h:19m:54s
----
Port-channel1:Port-channel1 (Primary aggregator)
Age of the Port-channel = 5d:19h:34m:43s
Logical slot/port = 2/1 Number of ports = 2
HotStandBy port = null
Port state = Port-channel Ag-Inuse
Protocol = LACP
Port security = Disabled
Ports in the Port-channel:
Index Load Port EC state No of bits
------+------+------+------------------+-----------
0 00 Gi0/7 Passive 0
0 00 Gi0/8 Passive 0
Time since last port bundled: 0d:15h:19m:57s Gi0/8
Time since last port Un-bundled: 0d:15h:34m:36s Gi0/8
show int Po1
Port Name Status Vlan Duplex Speed Type
Po1 connected trunk a-full a-1000
show int trunk
Port Mode Encapsulation Status Native vlan
Po1 on 802.1q trunking 1
Port Vlans allowed on trunk
Po1 100,200
Port Vlans allowed and active in management domain
Po1 100,200
Port Vlans in spanning tree forwarding state and not pruned
Po1 100,200
show vlan brief
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Gi0/1, Gi0/4, Gi0/5, Gi0/6
100 User active Gi0/3
200 AP active Gi0/2
1002 fddi-default act/unsup
1003 token-ring-default act/unsup
1004 fddinet-default act/unsup
1005 trnet-default act/unsup
En espérant que quelqu'un pourra m'aider,
Merci
Alan Pinard
Message édité par versiona le 03-03-2010 à 15:41:13