Difference between revisions of "Cisco EtherChannel"

From HackerNet
Jump to: navigation, search
(Created page with "EtherChannel bundlar individuella Ethernet-länkar till en logisk länk. Se även vPC =IOS= ===L2=== interface range gi0/1 - 2 channel-protocol [lacp/pagp]...")
 
Line 10: Line 10:
 
  interface port-channel 1
 
  interface port-channel 1
 
   switchport mode trunk
 
   switchport mode trunk
 +
 +
show etherchannel brief
  
 
===L3===
 
===L3===
Line 19: Line 21:
 
   no switchport
 
   no switchport
 
   ip address [ip address] [subnet mask]
 
   ip address [ip address] [subnet mask]
 +
 +
show etherchannel brief
  
 
===LACP===
 
===LACP===
Line 30: Line 34:
  
 
==Load-balancing==
 
==Load-balancing==
 +
Global inställning
 
  port-channel load-balance [method]
 
  port-channel load-balance [method]
  
 
==Misconfiguration Guard==
 
==Misconfiguration Guard==
Duplex och speed måste överensstämma på alla portar. Error-disable alla portar som är felkonfade.
+
Duplex och speed måste överensstämma på alla portar. Error-disable alla portar som är felkonfade. Global inställning.
 
  spanning-tree etherchannel guard misconfig
 
  spanning-tree etherchannel guard misconfig
''Global''
 
  
==Show==
+
==Flex Links==
  show etherchannel brief
+
Tekniskt sett inte etherchannel men kan användas istället för det i vissa situationer. Det som händer när primären går ner är att alla dynamiska MAC entries flyttas till backupinterfacet och det hamnar i forwarding state. Inga BPDUer inblandade. Bör användas tillsammans med [[Cisco_UDLD|UDLD]].
 +
int po2
 +
  switchport backup int gi0/5
 +
  switchport backup int gi0/5 preemption mode forced
 +
  switchport backup int gi0/5 preemption delay 10
 +
 
 +
  show int po2 switchport backup
 +
 
 
[[Category:Cisco]]
 
[[Category:Cisco]]

Revision as of 20:50, 5 March 2016

EtherChannel bundlar individuella Ethernet-länkar till en logisk länk.

Se även vPC

IOS

L2

interface range gi0/1 - 2
 channel-protocol [lacp/pagp]
 channel-group 1 mode [mode]
interface port-channel 1
 switchport mode trunk
show etherchannel brief

L3

interface range gi0/1 - 2
 no switchport
 channel-protocol [lacp/pagp]
 channel-group 1 mode [mode]
interface port-channel 1
 no switchport
 ip address [ip address] [subnet mask]
show etherchannel brief

LACP

  • ID Parameters
  • LACP-Enabled and Static Port Channels Differences
  • LACP Compatibility Enhancements
  • LACP Port-Channel MinLinks and MaxBundle

PAgP

Cisco proprietary

Load-balancing

Global inställning

port-channel load-balance [method]

Misconfiguration Guard

Duplex och speed måste överensstämma på alla portar. Error-disable alla portar som är felkonfade. Global inställning.

spanning-tree etherchannel guard misconfig

Flex Links

Tekniskt sett inte etherchannel men kan användas istället för det i vissa situationer. Det som händer när primären går ner är att alla dynamiska MAC entries flyttas till backupinterfacet och det hamnar i forwarding state. Inga BPDUer inblandade. Bör användas tillsammans med UDLD.

int po2
 switchport backup int gi0/5
 switchport backup int gi0/5 preemption mode forced
 switchport backup int gi0/5 preemption delay 10
show int po2 switchport backup