3-tier design/Etherchannel

From Teknologisk videncenter
< 3-tier design
Revision as of 15:19, 2 June 2015 by Rael (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
HQD1D1(config)#<input>interface range gi 0/1 - 2</input>
HQD1D1(config-if-range)#<input>channel-group 1 mode active</input> 
HQD1D1(config-if-range)#
<notice>Creating a port-channel interface Port-channel 1</notice>

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

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

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

%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/2, changed state to up
 
HQD1D1(config-if-range)#<input>interface Port-channel 1</input>
HQD1D1(config-if)#<input>switchport trunk encapsulation dot1q</input>
HQD1D1(config-if)#<input>switchport mode trunk</input>
HQD1D1(config-if)#<input>end</input>
HQD1D1#<input>show etherchannel summary</input> 
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
------+-------------+-----------+----------------------------------------------

<notice>1      Po1(SD)           LACP   Gig0/1(P) Gig0/2(P)</notice> 
HQD1D1#
HQD1D2(config)#<input>interface range fastethernet 0/1 - 2</input>
HQD1D2(config-if-range)#<input>channel-group 1 mode active</input>
HQD1D2(config-if-range)#
<notice>Creating a port-channel interface Port-channel 1</notice>
<input>int po 1</input>
HQD1D2(config-if)#<input>switchport trunk encapsulation dot1q</input>
HQD1D2(config-if)#<input>switchport mode trunk</input>
HQD1D2(config-if)#<input>end</input>
HQD1D2#
HQD1D2#<input>show etherchannel summary</input>
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
------+-------------+-----------+----------------------------------------------

<notice>1      Po1(SU)           LACP   Gig0/1(P) Gig0/2(P)</notice> 
HQD1D2#