Difference between revisions of "3-tier design/Etherchannel"

From Teknologisk videncenter
Jump to: navigation, search
m (Created page with "{{Source cli}}")
 
m
Line 1: Line 1:
 +
 +
<source lang=cli>
 +
HQD1D1(config)#<input>int ra 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>int Port-channel 1</input>
 +
HQD1D1(config-if)#<input>swi tru en dot</input>
 +
HQD1D1(config-if)#<input>swi mode trunk</input>
 +
HQD1D1(config-if)#<input>end</input>
 +
HQD1D1#<input>show ether 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#
 +
</source>
 +
<source lang=cli>
 +
HQD1D2(config)#<input>int ra fa 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>swi tru en dot</input>
 +
HQD1D2(config-if)#<notice>swi mode trunk</notice>
 +
HQD1D2(config-if)#<notice>end</notice>
 +
HQD1D2#
 +
HQD1D2#<input>show etherchannel sum</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#
 +
</source>
 
{{Source cli}}
 
{{Source cli}}

Revision as of 11:01, 12 November 2014

HQD1D1(config)#<input>int ra 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>int Port-channel 1</input>
HQD1D1(config-if)#<input>swi tru en dot</input>
HQD1D1(config-if)#<input>swi mode trunk</input>
HQD1D1(config-if)#<input>end</input>
HQD1D1#<input>show ether 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>int ra fa 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>swi tru en dot</input>
HQD1D2(config-if)#<notice>swi mode trunk</notice>
HQD1D2(config-if)#<notice>end</notice>
HQD1D2#
HQD1D2#<input>show etherchannel sum</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#