CCNA 3 v6.0 Study Material – Chapter 4: EtherChannel and HSRP

CCNA 3 Enterprise Networking, Security & Automation Original source

Chapter 4 - Sections & Objectives

4.1 Link Aggregation Concepts

Explain link aggregation operation in a switched LAN environment.

4.2 Link Aggregation Configuration

Implement link aggregation to improve performance on high-traffic switch links.

4.3 First Hop Redundancy Protocols

Implement HSRP to provide first hop redundancy.

4.1 Link Aggregation Concepts

Link Aggregation

EtherChannel Operation

4.2 Link Aggregation Configuration

Configuring EtherChannel

Copy

S1(config)# interface range fa0/1 - 2

S1(config-if-range)# speed 100

S1(config-if-range)# duplex full

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

S1(config-if-range)# shutdown

%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to administratively down

%LINK-5-CHANGED: Interface FastEthernet0/2, changed state to administratively down

S1(config-if-range)# exit

S1(config)#

S1(config)# interface port-channel 1

S1(config-if)# switchport mode trunk

S1(config-if)# switchport trunk  native vlan 99

S1(config-if)# switchport trunk allowed vlan 2,20,99

S1(config-if)# exit

S1(config)#

S1(config)# interface range fa0/1 - 2

S1(config-if-range)# no shut

%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to down

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to down

%LINK-5-CHANGED: Interface FastEthernet0/2, changed state to down

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to down

Creating a port-channel interface Port-channel 1

S1(config-if-range)#

Copy

S2(config)# interface range fa0/1 - 2

S2(config-if-range)# speed 100

S2(config-if-range)# duplex full

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

S2(config-if-range)# shutdown

%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to administratively down

%LINK-5-CHANGED: Interface FastEthernet0/2, changed state to administratively down

S2(config-if-range)# exit

S2(config)#

S2(config)# interface port-channel 1

S2(config-if)# switchport mode trunk

S2(config-if)# switchport trunk  native vlan 99

S2(config-if)# switchport trunk allowed vlan 2,20,99

S2(config-if)# exit

S2(config)#

S2(config)# interface range fa0/1 - 2

S2(config-if-range)# no shut

S2(config-if-range)#

%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up

%LINK-5-CHANGED: Interface FastEthernet0/2, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to up

Creating a port-channel interface Port-channel 1



<OUTPUT OMITTED)



%LINEPROTO-5-UPDOWN: Line protocol on Interface Port-channel 1, changed state to up

Verifying and Troubleshooting EtherChannel

Copy

S1# show etherchannel summary

Flags:  D - down        P - 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

        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

------+-------------+-----------+---------------------------

1      Po1(SU)           LACP   Fa0/1(P) Fa0/2(P)

S1#

4.3 First Hop Redundancy Protocols

Concepts of First Hop Redundancy Protocols

HSRP Operation

HSRP Configuration

Copy

R1(config)# int g0/1

R1(config-if)# ip add 172.16.10.2 255.255.255.0

R1(config-if)# standby version 2

R1(config-if)# standby 1 ip 172.16.10.1

R1(config-if)# standby 1 priority 150

R1(config-if)# standby 1 preempt

R1(config-if)# no shutdown

R1(config-if)#

%LINK-5-CHANGED: Interface GigabitEthernet0/1, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1, changed state to up

R1(config-if)#

%HSRP-6-STATECHANGE: GigabitEthernet0/1 Grp 1 state Speak -> Standby

%HSRP-6-STATECHANGE: GigabitEthernet0/1 Grp 1 state Standby -> Active

Copy

R2(config)# int g0/1

R2(config-if)# ip add 172.16.10.3 255.255.255.0

R2(config-if)# standby version 2

R2(config-if)# standby 1 ip 172.16.10.1

R2(config-if)# no shut

R2(config-if)#

%LINK-5-CHANGED: Interface GigabitEthernet0/1, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1, changed state to up

%HSRP-6-STATECHANGE: GigabitEthernet0/1 Grp 1 state Init -> Init

%HSRP-6-STATECHANGE: GigabitEthernet0/1 Grp 1 state Speak -> Standby

Copy

R1# show standby

GigabitEthernet0/0 - Group 1 (version 2)

  State is Active

    12 state changes, last state change 00:04:54

  Virtual IP address is 172.16.10.1

  Active virtual MAC address is 0000.0C9F.F001

    Local virtual MAC address is 0000.0C9F.F001 (v2 default)

  Hello time 3 sec, hold time 10 sec

    Next hello sent in 1.519 secs

  Preemption enabled

  Active router is local

  Standby router is 172.16.10.3

  Priority 150 (configured 150)

  Group name is hsrp-Gig0/0-1 (default)

R1#

R1# show standby brief

                     P indicates configured to preempt.

                     |

Interface   Grp  Pri P State    Active          Standby         Virtual IP

Gig0/0      1    150 P Active   local           172.16.10.3     172.16.10.1   

R1#

HSRP Troubleshooting

4.3 Chapter Summary

EtherChannel aggregates multiple switched links together to load balance over redundant paths between two devices. All ports in one EtherChannel must have the same speed, duplex setting, and VLAN information on all interfaces on the devices at both ends.

Settings configured in the port channel interface configuration mode will also be applied to the individual interfaces in that EtherChannel. Settings configured on individual interfaces will not be applied to the EtherChannel or to the other interfaces in the EtherChannel.

PAgP is a Cisco-proprietary protocol that aids in the automatic creation of EtherChannel links. PAgP modes are on, PAgP desirable, and PAgP auto.

LACP is part of an IEEE specification that also allows multiple physical ports to be bundled into one logical channel. The LACP modes are on, LACP active and LACP passive.

PAgP and LACP do not interoperate.

The on mode is repeated in both PAgP and LACP because it creates an EtherChannel unconditionally, without the use of PAgP or LACP. The default for EtherChannel is that no mode is configured.

First Hop Redundancy Protocols, such as HSRP, VRRP, and GLBP provide alternate default gateways for hosts in the redundant router or multilayer switched environment.

Multiple routers share a virtual IP address and MAC address that is used as the default gateway on a client. This ensures that hosts maintain connectivity in the event of the failure of one device serving as a default gateway for a VLAN or set of VLANs.

When using HSRP or VRRP, one router is active or forwarding for a particular group while others are in standby mode. GLBP allows the simultaneous use of multiple gateways in addition to providing automatic failover.

Download Slide PowerPoint (pptx):

← All CCNA 3 articles Home