Configurar EtherChannel en Switch Capa 3

Vamos a ver cómo configurar EtherChannel en switch Capa 3 de Cisco, EtherChannel es también conocido como LAG ( link aggregation group).

Nota: En el capítulo 10 ya había hablado de EtherChannel para un Switch de Capa 2, si aún no lo has visto te recomiendo verlo y volver a esta página.

Qués es EtherChannel y para qué Sirve

Es el agrupamiento de enlaces en paralelo para aumentar el rendimiento más allá de un único enlace.

También provee redundancia en caso que un enlace falle.

Cómo Configurar EtherChannel en Switch Capa 2

Paso 1. Configura las interfaces físicas:

  1. Use el comando channel-group number mode on para agregar la interfaz al channel. Usar el mismo número en todas las interfaces físicas del switch. El número usado (channel-group number) puede diferir del usado en en los switches vecinos.
  2. Use el comando no switchport para hacer de cada puerto físico un puerto enrutado.

Paso 2. Configura la interfaz PortChannel:

  1. Use el comando interface port-channel number para pasar al modo de configuración del port-channel al mismo número configurado en la interfaz física.
  2. Use el comando no switchport para estar seguro que la interfaz port-channel funciona como un puerto router.
  3. Use el comando ip address address mask para configurar la dirección y máscara.
Configurar EtherChannel en switch Capa 3
Configuración de EtherChannel (LAG)

Configuración

interface GigabitEthernet1/0/13
no switchport
no ip address
channel-group 12 mode on
!
interface GigabitEthernet1/0/14
no switchport
no ip address
channel-group 12 mode on
!
interface Port-channel12
no switchport
ip address 10.1.12.1 255.255.255.0

Verificación

port-channel 12

SW1# show interfaces port-channel 12
Port-channel12 is up, line protocol is up (connected)
  Hardware is EtherChannel, address is bcc4.938b.e543 (bia bcc4.938b.e543)
  Internet address is 10.1.12.1/24
! lines omitted for brevity

SW1# show interfaces status
! Only ports related to the example are shown.
Port 		Name 	Status 		Vlan 		Duplex 	Speed 	Type
Gi1/0/13 		connected 	routed 		a-full 	a-1000 	10/100/1000BaseTX
Gi1/0/14 		connected 	routed 		a-full 	a-1000 	10/100/1000BaseTX
Po12 			connected 	routed 		a-full 	a-1000

SW1# show ip route
! legend omitted for brevity
    10.0.0.0/8 is variably subnetted, 4 subnets, 2 masks
C      10.1.2.0/24 is directly connected, Vlan2
L      10.1.2.1/32 is directly connected, Vlan2
C      10.1.12.0/24 is directly connected, Port-channel12
L      10.1.12.1/32 is directly connected, Port-channel12

etherchannel

SW1# show etherchannel 12 summary
Flags: 	D - down 	P - bundled in port-channel
	I - stand-alone 	s - suspended
 	H - Hot-standby (LACP only)
 	R - Layer3 	S - Layer2
 	U - in use 	f - failed to allocate aggregator
 
 	M - not in use, minimum links not met
 	u - unsuitable for bundling
 	w - waiting to be aggregated
 	d - default port

Number of channel-groups in use: 1
Number of aggregators: 		 1

Group	Port-channel	Protocol	Ports
-------+---------------+---------------+----------------------------------------
12 	Po12(RU) 	   - 		Gi1/0/13(P) Gi1/0/14(P)

Los EtherChannels de capa 2 tienen una lista más larga de requisitos, pero los EtherChannels de capa 3 también requieren algunas comprobaciones de consistencia entre los puertos antes de que puedan agregarse a EtherChannel. La siguiente es la lista de requisitos para la capa 3 EtherChannels:

no switchport: La interfaz PortChannel debe estar configurada con el comando no switchport, también las interfaces físicas.

Velocidad: Los puertos físicos en el channel deben usar la misma velocidad.

duplex: Los puertos físicos en el channel deben usar el mismo duplex.

Valora este artículo

Libro Oficial Cert Guide Library

Libro CCNA

Comprá el libro digital y oficial de Cisco CCNA 200-301 Library

Deja un comentario