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

From Teknologisk videncenter
Jump to: navigation, search
m
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
 
<source lang=cli>
 
<source lang=cli>
HQD1D1(config)#<input>int ra gi 0/1 - 2</input>
+
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)#<input>channel-group 1 mode active</input>  
 
HQD1D1(config-if-range)#
 
HQD1D1(config-if-range)#
Line 14: Line 13:
 
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/2, changed state to up
 
%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-range)#<input>interface Port-channel 1</input>
HQD1D1(config-if)#<input>swi tru en dot</input>
+
HQD1D1(config-if)#<input>switchport trunk encapsulation dot1q</input>
HQD1D1(config-if)#<input>swi mode trunk</input>
+
HQD1D1(config-if)#<input>switchport mode trunk</input>
 
HQD1D1(config-if)#<input>end</input>
 
HQD1D1(config-if)#<input>end</input>
HQD1D1#<input>show ether summary</input>  
+
HQD1D1#<input>show etherchannel summary</input>  
 
Flags:  D - down        P - in port-channel
 
Flags:  D - down        P - in port-channel
 
         I - stand-alone s - suspended
 
         I - stand-alone s - suspended
Line 39: Line 38:
 
</source>
 
</source>
 
<source lang=cli>
 
<source lang=cli>
HQD1D2(config)#<input>int ra fa 0/1 - 2</input>
+
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)#<input>channel-group 1 mode active</input>
 
HQD1D2(config-if-range)#
 
HQD1D2(config-if-range)#
 
<notice>Creating a port-channel interface Port-channel 1</notice>
 
<notice>Creating a port-channel interface Port-channel 1</notice>
 
<input>int po 1</input>
 
<input>int po 1</input>
HQD1D2(config-if)#<input>swi tru en dot</input>
+
HQD1D2(config-if)#<input>switchport trunk encapsulation dot1q</input>
HQD1D2(config-if)#<notice>swi mode trunk</notice>
+
HQD1D2(config-if)#<input>switchport mode trunk</input>
HQD1D2(config-if)#<notice>end</notice>
+
HQD1D2(config-if)#<input>end</input>
 
HQD1D2#
 
HQD1D2#
HQD1D2#<input>show etherchannel sum</input>
+
HQD1D2#<input>show etherchannel summary</input>
 
Flags:  D - down        P - in port-channel
 
Flags:  D - down        P - in port-channel
 
         I - stand-alone s - suspended
 
         I - stand-alone s - suspended

Latest revision as of 15:19, 2 June 2015

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#