Multi-Chassis Link Aggregation (MLAG)

SOURCE:
Image.png
SW1
hostname SW1
vlan 30
vlan 4094
  trunk group mlagpeer
interface Port-Channel3
  switchport mode trunk
  mlag 3
interface Port-Channel4
  switchport mode trunk
  mlag 4
interface Port-Channel10
  switchport mode trunk
  switchport trunk group mlagpeer
interface Ethernet1
  channel-group 10 mode active
interface Ethernet2
  channel-group 10 mode active
interface Ethernet3
  channel-group 3 mode active
interface Ethernet4
  channel-group 4 mode active
interface Vlan4094
  no autostate
  ip address 12.0.0.1/30
mlag configuration
  domain-id mlag1
  local-interface Vlan4094
  peer-address 12.0.0.2
  peer-link Port-Channel10
end
wr

SW2
hostname SW2
vlan 30
vlan 4094
  trunk group mlagpeer
interface Port-Channel3
  switchport mode trunk
  mlag 3
interface Port-Channel4
  switchport mode trunk
  mlag 4
interface Port-Channel10
  switchport mode trunk
  switchport trunk group mlagpeer
interface Ethernet1
  channel-group 10 mode active
interface Ethernet2
  channel-group 10 mode active
interface Ethernet3
  channel-group 3 mode active
interface Ethernet4
  channel-group 4 mode active
interface Vlan4094
  no autostate
  ip address 12.0.0.2/30
mlag configuration
  domain-id mlag1
  local-interface Vlan4094
  peer-address 12.0.0.1
  peer-link Port-Channel10
end
wr

SW3
hostname SW3
no spanning-tree vlan 4094
vlan 30
interface Port-Channel3
  switchport mode trunk
interface Ethernet1
  switchport access vlan 30
interface Ethernet3
  channel-group 3 mode active
interface Ethernet4
  channel-group 3 mode active
end
wr

SW4
hostname SW4
no spanning-tree vlan 4094
vlan 30
interface Port-Channel4
  switchport mode trunk
interface Ethernet1
  switchport access vlan 30
interface Ethernet3
  channel-group 4 mode active
interface Ethernet4
  channel-group 4 mode active
end
wr

VERIFICATION
SW1#sh mlag
MLAG Configuration:
domain-id           :               mlag1
local-interface     :            Vlan4094
peer-address        :            12.0.0.2
peer-link           :      Port-Channel10
peer-config         :          consistent
MLAG Status:
state               :              Active
negotiation status  :           Connected
peer-link status    :                  Up
local-int status    :                  Up
system-id           :   52:00:00:cb:38:c2
MLAG Ports:
Disabled            :                   0
Configured          :                   0
Inactive            :                   0
Active-partial      :                   0
Active-full         :                   2

SW1# sh mlag interfaces detail
                                        local/remote
 mlag         state   local   remote    oper    config    last change   changes
—— ————- ——- ——– ——- ———- ————– ——-
    3   active-full     Po3      Po3   up/up   ena/ena    0:13:09 ago         4
    4   active-full     Po4      Po4   up/up   ena/ena    0:13:09 ago         4

SW1#sh lacp sys-id detailed
System Identifier used by LACP:
System priority: 32768
Switch MAC Address: 50:00:00:d7:ee:0b
  802.11.43 representation: 8000,50-00-00-d7-ee-0b
MLAG System-identifier: 52:00:00:cb:38:c2
  802.11.43 representation: 8000,52-00-00-cb-38-c2

SW2#sh mlag
MLAG Configuration:
domain-id           :               mlag1
local-interface     :            Vlan4094
peer-address        :            12.0.0.1
peer-link           :      Port-Channel10
peer-config         :          consistent
MLAG Status:
state               :              Active
negotiation status  :           Connected
peer-link status    :                  Up
local-int status    :                  Up
system-id           :   52:00:00:cb:38:c2
MLAG Ports:
Disabled            :                   0
Configured          :                   0
Inactive            :                   0
Active-partial      :                   0
Active-full         :                   2

SW2#sh mlag interfaces detail
                                        local/remote
 mlag         state   local   remote    oper    config    last change   changes
—— ————- ——- ——– ——- ———- ————– ——-
    3   active-full     Po3      Po3   up/up   ena/ena    0:14:28 ago         4
    4   active-full     Po4      Po4   up/up   ena/ena    0:14:28 ago         4

SW2#sh lacp sys-id detailed
System Identifier used by LACP:
System priority: 32768
Switch MAC Address: 50:00:00:cb:38:c2
  802.11.43 representation: 8000,50-00-00-cb-38-c2
MLAG System-identifier: 52:00:00:cb:38:c2
  802.11.43 representation: 8000,52-00-00-cb-38-c2

SW2#sh etherchannel detailed
Port Channel Port-Channel3 (Fallback State: Unconfigured):
  Active Ports:
       Port                Time became active       Protocol    Mode
    ——————- ———————— ————– ——
       Ethernet3           16:59:15                 LACP        Active
       PeerEthernet3       16:59:16                 LACP        Active
Port Channel Port-Channel4 (Fallback State: Unconfigured):
  Active Ports:
       Port                Time became active       Protocol    Mode
    ——————- ———————— ————– ——
       Ethernet4           16:59:15                 LACP        Active
       PeerEthernet4       16:59:16                 LACP        Active
Port Channel Port-Channel10 (Fallback State: Unconfigured):
  Active Ports:
       Port            Time became active       Protocol    Mode
    ————— ———————— ————– ——
       Ethernet1       16:59:06                 LACP        Active
       Ethernet2       16:59:06                 LACP        Active
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s