Cisco Etherchannel: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
 
(3 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
=show port-channel=
+
=config etherchannel=
 +
 
 +
*show running-config interface gigabitEthernet 1/0/34
 +
<pre>
 +
Building configuration...
 +
 
 +
Current configuration : 185 bytes
 +
!
 +
interface GigabitEthernet1/0/34
 +
description luxana-channel-bundle
 +
switchport trunk encapsulation dot1q
 +
switchport mode trunk
 +
switchport nonegotiate
 +
channel-group 10 mode on
 +
end
 +
</pre>
 +
*show running-config interface gigabitEthernet 1/0/35
 +
<pre>
 +
Building configuration...
 +
 
 +
Current configuration : 185 bytes
 +
!
 +
interface GigabitEthernet1/0/35
 +
description luxana-channel-bundle
 +
switchport trunk encapsulation dot1q
 +
switchport mode trunk
 +
switchport nonegotiate
 +
channel-group 10 mode on
 +
end
 +
</pre>
 +
*show running-config interface gigabitEthernet 1/0/36
 +
<pre>
 +
Building configuration...
 +
 
 +
Current configuration : 185 bytes
 +
!
 +
interface GigabitEthernet1/0/36
 +
description luxana-channel-bundle
 +
switchport trunk encapsulation dot1q
 +
switchport mode trunk
 +
switchport nonegotiate
 +
channel-group 10 mode on
 +
end
 +
</pre>
 +
 
 +
 
 +
 
 +
 
 +
*show running-config interface port-channel 10
 +
<pre>
 +
Building configuration...
 +
 
 +
Current configuration : 117 bytes
 +
!
 +
interface Port-channel10
 +
switchport trunk encapsulation dot1q
 +
switchport mode trunk
 +
switchport nonegotiate
 +
end
 +
</pre>
 +
 
 +
 
 +
=show etherchannel summary=
 +
*show etherchannel summary
 +
 
 +
<pre>
 +
show etherchannel 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: 6
 +
Number of aggregators:          6
 +
 
 +
Group  Port-channel  Protocol    Ports
 +
------+-------------+-----------+-----------------------------------------------
 +
5      Po5(SD)          -       
 +
8      Po8(SD)          -       
 +
10    Po10(SU)        -        Gi1/0/34(P) Gi1/0/35(P) Gi1/0/36(P)
 +
20    Po20(SD)        -       
 +
25    Po25(SU)        LACP      Gi1/0/44(P) Gi1/0/45(P) Gi1/0/46(P)
 +
                                Gi1/0/47(P) Gi1/0/48(D)
 +
33    Po33(SD)        -       
 +
</pre>
 +
 
 +
=show etherchannel port-channel=
 
*show etherchannel port-channel  
 
*show etherchannel port-channel  
 
<pre>
 
<pre>
Zeile 27: Zeile 120:
  
 
</pre>
 
</pre>
=show protocol=
+
=show etherchannel protocol=
 
*show etherchannel protocol  
 
*show etherchannel protocol  
 
<pre>
 
<pre>

Aktuelle Version vom 10. April 2017, 12:52 Uhr

config etherchannel

  • show running-config interface gigabitEthernet 1/0/34
Building configuration...

Current configuration : 185 bytes
!
interface GigabitEthernet1/0/34
 description luxana-channel-bundle
 switchport trunk encapsulation dot1q
 switchport mode trunk
 switchport nonegotiate
 channel-group 10 mode on
end
  • show running-config interface gigabitEthernet 1/0/35
Building configuration...

Current configuration : 185 bytes
!
interface GigabitEthernet1/0/35
 description luxana-channel-bundle
 switchport trunk encapsulation dot1q
 switchport mode trunk
 switchport nonegotiate
 channel-group 10 mode on
end
  • show running-config interface gigabitEthernet 1/0/36
Building configuration...

Current configuration : 185 bytes
!
interface GigabitEthernet1/0/36
 description luxana-channel-bundle
 switchport trunk encapsulation dot1q
 switchport mode trunk
 switchport nonegotiate
 channel-group 10 mode on
end



  • show running-config interface port-channel 10
Building configuration...

Current configuration : 117 bytes
!
interface Port-channel10
 switchport trunk encapsulation dot1q
 switchport mode trunk
 switchport nonegotiate
end


show etherchannel summary

  • show etherchannel summary
show etherchannel 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: 6
Number of aggregators:           6

Group  Port-channel  Protocol    Ports
------+-------------+-----------+-----------------------------------------------
5      Po5(SD)          -        
8      Po8(SD)          -        
10     Po10(SU)         -        Gi1/0/34(P) Gi1/0/35(P) Gi1/0/36(P) 
20     Po20(SD)         -        
25     Po25(SU)        LACP      Gi1/0/44(P) Gi1/0/45(P) Gi1/0/46(P) 
                                 Gi1/0/47(P) Gi1/0/48(D) 
33     Po33(SD)         -        

show etherchannel port-channel

  • show etherchannel port-channel
		Port-channels in the group: 
		---------------------------

Port-channel: Po10
------------

Age of the Port-channel   = 136d:22h:37m:54s
Logical slot/port   = 10/10          Number of ports = 3
GC                  = 0x00000000      HotStandBy port = null
Port state          = Port-channel Ag-Inuse 
Protocol            =    -
Port security       = Disabled
          
Ports in the Port-channel: 
          
Index   Load   Port     EC state        No of bits
------+------+------+------------------+-----------
  0     00     Gi1/0/34 On                 0
  0     00     Gi1/0/35 On                 0
  0     00     Gi1/0/36 On                 0
          
Time since last port bundled:    0d:01h:50m:39s    Gi1/0/36
Time since last port Un-bundled: 1d:05h:24m:02s    Gi1/0/34

show etherchannel protocol

  • show etherchannel protocol
	
	        Channel-group listing: 
		----------------------

Group: 10 
----------
Protocol:   -  (Mode ON)


Group: 25 
----------
Protocol:  LACP


Links