SW1#configure terminal | Enter the config terminal. |
(config)#hostname SW1 | Assign the hostname for the router. |
SW1(config)#bridge 1 protocol rstp vlan-bridge | Create bridge. |
SW1(config)#vlan database | Enter the VLAN database. |
SW1(config-vlan)#vlan 2-1002 bridge 1 state enable | Create the VLANs. |
SW1(config-vlan)#exit | Exit the VLAN database. |
SW1(config)#int po1 | Enter the interface mode. |
SW1(config-if)#switchport | Configure the interface as Layer 2. |
SW1(config-if)#bridge-group 1 | Assign the bridge to the interface. |
SW1(config-if)#switchport mode trunk | Configure the interface as trunk mode. |
SW1(config-if)#switchport trunk allowed vlan all | Configure the interface to allow all VLAN ids. |
SW1(config-if)#exit | Exit the interface mode. |
SW1(config)#int xe15 | Enter the interface mode. |
SW1(config-if)#channel-group 1 mode active | Add the interface as member of LAG interface. |
SW1(config-if)#int xe31 | Enter the interface mode. |
SW1(config-if)#channel-group 1 mode active | Add the interface as member of LAG interface. |
SW1(config-if)#commit | Commit the configure on the node. |
SW1(config-if)#exit | Exit the interface mode. |
TOR1#configure terminal | Enter the config terminal. |
TOR1(config)#hostname TOR1 | Assign the hostname for the router. |
TOR1(config)#bridge 1 protocol rstp vlan-bridge | Create bridge. |
TOR1(config)#vlan database | Enter the VLAN database. |
TOR1(config-vlan)#vlan 2-1002 bridge 1 state enable | Create the VLANs. |
TOR1(config-vlan)#exit | Exit the VLAN database. |
TOR1(config)#int mlag1 | Create the MLAG interface. |
TOR1(config-if)#switchport | Configure the interface as Layer 2. |
TOR1(config-if)#bridge-group 1 | Assign the bridge to the interface. |
TOR1(config-if)#switchport mode trunk | Configure the interface as trunk mode. |
TOR1(config-if)#switchport trunk allowed vlan all | Configure the interface to allow all VLAN ids. |
TOR1(config-if)#exit | Exit the interface mode. |
TOR1(config)#int mlag2 | Create the MLAG interface. |
TOR1(config-if)#switchport | Configure the interface as Layer 2. |
TOR1(config-if)#bridge-group 1 | Assign the bridge to the interface. |
TOR1(config-if)#switchport mode trunk | Configure the interface as trunk mode. |
TOR1(config-if)#switchport trunk allowed vlan all | Configure the interface to allow all VLAN ids. |
TOR1(config-if)#exit | Exit the interface mode. |
TOR1(config)#int po1 | Create the port channel interface. |
TOR1(config-if)#switchport | Configure the interface as Layer 2. |
TOR1(config-if)#mlag 1 | Bind MLAG to the port channel. |
TOR1(config-if)#exit | Exit the interface mode. |
TOR1(config)#int po2 | Create the port channel interface |
TOR1(config-if)#switchport | Configure the interface as Layer 2. |
TOR1(config-if)#mlag 2 | Bind MLAG to the port channel. |
TOR1(config-if)#exit | Exit the interface mode. |
TOR1(config)#interface xe7 | Enter the interface mode |
TOR1(config-if)#switchport | Configure the interface as Layer 2. |
TOR1(config-if)#exit | Exit the interface mode. |
TOR1(config)#int xe15 | Enter the interface mode. |
TOR1(config-if)#channel-group 1 mode active | Add the interface as member of LAG interface. |
TOR1(config-if)#exit | Exit the interface mode. |
TOR1(config)#int xe11 | Enter the interface mode. |
TOR1(config-if)#channel-group 2 mode active | Add the interface as member of LAG interface. |
TOR1(config-if)#exit | Exit the interface mode. |
TOR1(config)#mcec domain configuration | Enter the MCEC mode. |
TOR1(config-mcec-domain)#domain-system-number 1 | Assign the domain system number for MLAG interface. |
TOR1(config-mcec-domain)#domain-address 1111.2222.3333 | Assign the domain address. |
TOR1(config-mcec-domain)#domain-hello-timeout short | Assign the domain hello timeout. |
TOR1(config-mcec-domain)#intra-domain-link xe7 | Assign the interface as IDL. |
TOR1(config-mcec-domain)#exit | Exit the MCEC domain. |
TOR1(config-mcec-domain)#commit | Commit the configure on the node. |
TOR1(config)#exit | Exit the config terminal. |
TOR2#configure terminal | Enter the config terminal. |
TOR2(config)#hostname TOR2 | Assign the hostname for the router. |
TOR2(config)#bridge 1 protocol rstp vlan-bridge | Create bridge. |
TOR2(config)#vlan database | Enter the VLAN database. |
TOR2(config-vlan)#vlan 2-1002 bridge 1 state enable | Create the VLANs. |
TOR2(config-vlan)#exit | Exit the VLAN database. |
TOR2(config)#int mlag1 | Create the MLAG interface. |
TOR2(config-if)#switchport | Configure the interface as Layer 2 |
TOR2(config-if)#bridge-group 1 | Assign the bridge to the interface. |
TOR2(config-if)#switchport mode trunk | Configure the interface as trunk mode. |
TOR2(config-if)#switchport trunk allowed vlan all | Configure the interface to allow all VLAN ids. |
TOR2(config-if)#exit | Exit the interface mode. |
TOR2(config)#int mlag2 | Create the MLAG interface. |
TOR2(config-if)#switchport | Configure the interface as Layer 2. |
TOR2(config-if)#bridge-group 1 | Assign the bridge to the interface. |
TOR2(config-if)#switchport mode trunk | Configure the interface as trunk mode. |
TOR2(config-if)#switchport trunk allowed vlan all | Configure the interface to allow all VLAN ids. |
TOR2(config-if)#exit | Exit the interface mode. |
TOR2(config)#int po1 | Create the port channel interface |
TOR2(config-if)#switchport | Configure the interface as Layer 2 |
TOR2(config-if)#mlag 1 | Bind MLAG to the port channel. |
TOR2(config-if)#exit | Exit the interface mode. |
TOR2(config)#int po2 | Create the port channel interface. |
TOR2(config-if)#switchport | Configure the interface as Layer 2. |
TOR2(config-if)#mlag 2 | Bind MLAG to the port channel. |
TOR2(config-if)#exit | Exit the interface mode. |
TOR1(config)#interface xe7 | Enter the interface mode |
TOR1(config-if)#switchport | Configure the interface as Layer 2. |
TOR1(config-if)#exit | Exit the interface mode. |
TOR2(config)#int xe32 | Enter the interface mode. |
TOR2(config-if)#channel-group 1 mode active | Add the interface as member of LAG interface. |
TOR2(config-if)#exit | Exit the interface mode. |
TOR2(config)#int xe5 | Enter the interface mode |
TOR2(config-if)#channel-group 2 mode active | Add the interface as member of LAG interface. |
TOR2(config-if)#exit | Exit the interface mode. |
TOR2(config)#mcec domain configuration | Enter the MCEC mode. |
TOR2(config-mcec-domain)#domain-system-number 2 | Assign the domain system number for MLAG interface. |
TOR2(config-mcec-domain)#domain-address 1111.2222.3333 | Assign the domain address. |
TOR2(config-mcec-domain)#domain-hello-timeout short | Assign the domain hello timeout. |
TOR2(config-mcec-domain)#intra-domain-link xe7 | Assign the interface as IDL. |
TOR2(config-mcec-domain)#exit | Exit the MCEC domain. |
TOR2(config-mcec-domain)#commit | Commit the configure on the node. |
TOR2(config)#exit | Exit the config terminal. |
SW2#configure terminal | Enter the config terminal. |
SW2(config)#hostname SW2 | Assign the hostname for the router. |
SW2(config)#bridge 1 protocol rstp vlan-bridge | Create bridge. |
SW2(config)#vlan database | Enter the VLAN database |
SW2(config-vlan)#vlan 2-1002 bridge 1 state enable | Create the VLANs. |
SW2(config-vlan)#exit | Exit the VLAN database |
SW2(config)#int po2 | Enter the interface mode |
SW2(config-if)#switchport | Configure the interface as Layer 2 |
SW2(config-if)#bridge-group 1 | Assign the bridge to the interface. |
SW2(config-if)#switchport mode trunk | Configure the interface as trunk mode. |
SW2(config-if)#switchport trunk allowed vlan all | Configure the interface to allow all VLAN ids. |
SW2(config-if)#exit | Exit the interface mode. |
SW2(config)#int xe11 | Enter the interface mode. |
SW2(config-if)#channel-group 2 mode active | Add the interface as member of LAG interface. |
SW2(config-if)#int xe5 | Enter the interface mode. |
SW2(config-if)#channel-group 2 mode active | Add the interface as member of LAG interface. |
SW2(config-if)#commit | Commit the configure on the node. |
SW2(config-if)#exit | Exit the interface mode. |