SW1#configure terminal | Enter configure mode. |
SW1(config)# bridge 1 protocol mstp | Configure bridge 1 as MSTP bridge |
SW1(config)#vlan database | Enter vlan database mode. |
SW1(config-vlan)#vlan 2-10 bridge 1 state enable | Configure a VLAN and add it to the bridge. |
SW1(config-vlan)#exit | Exit vlan configuration mode. |
SW1(config)#lacp system-priority 20000 | Set the system priority of this switch. This priority is used for determining the system that is responsible for resolving conflicts in the choice of aggregation groups. A lower numerical value has a higher priority. |
SW1(config)#interface po10 | Enter into port channel interface po10. |
SW1(config-if)#switchport | Configure po10 as a layer 2 port. |
SW1(config-if)#bridge-group 1 | Associate bridge to an interface. |
SW1(config-if)#switchport mode trunk | Configure port as a trunk. |
SW1(config-if)#switchport trunk allowed vlan all | Allow all the VLANs on the po10 interface. |
SW1(config-if)#exit | Exit interface mode. |
SW1(config)#interface eth1 | Enter interface mode. |
SW1(config-if)#channel-group 10 mode active | Add this interface to channel group 10 and enable link aggregation so that it can be selected for aggregation by the local system. |
SW1(config-if)#exit | Exit interface mode. |
SW1(config)#interface eth2 | Enter interface mode. |
SW1(config-if)#channel-group 10 mode active | Add this interface to channel group 10 and enable link aggregation so that it can be selected for aggregation by the local system. |
SW1(config-if)#exit | Exit interface mode. |
SW1(config)#interface eth3 | Enter interface mode. |
SW1(config-if)#channel-group 10 mode active | Add this interface to channel group 10 and enable link aggregation so that it can be selected for aggregation by the local system. |
SW1(config-if)#commit | Commit the transaction. |
SW1(config-if)#exit | Exit interface mode. |
SW2#configure terminal | Enter configure mode. |
SW2(config)# bridge 1 protocol mstp | Configure bridge 1 as MSTP bridge |
SW2(config)#vlan database | Enter vlan database mode. |
SW2(config-vlan)#vlan 2-10 bridge 1 state enable | Configure a VLAN and add it to the bridge. |
SW2(config-vlan)#exit | Exit vlan configuration mode. |
SW1(config)#interface po10 | Enter into port channel interface sa10. |
SW2(config-if)#switchport | Configure po10 as a layer 2 port. |
SW2(config-if)#bridge-group 1 | Associate bridge to an interface. |
SW2(config-if)#switchport mode trunk | Configure port as a trunk. |
SW2(config-if)#switchport trunk allowed vlan all | Allow all the VLANs on the po10 interface. |
SW2(config-if)#exit | Exit interface mode. |
SW2(config)#interface eth2 | Enter interface mode. |
SW2(config-if)#channel-group 10 mode active | Add this interface to channel group 10 and enable link aggregation so that it can be selected for aggregation by the local system. |
SW2(config-if)#exit | Exit interface mode. |
SW2(config)#interface eth3 | Enter interface mode. |
SW2(config-if)#channel-group 10 mode active | Add this interface to channel group 10 and enable link aggregation so that it can be selected for aggregation by the local system. |
SW2(config-if)#exit | Exit interface mode. |
SW2(config)#interface eth4 | Enter interface mode. |
SW2(config-if)#channel-group 10 mode active | Add this interface to channel group 10 and enable link aggregation so that it can be selected for aggregation by the local system. |
SW2(config-if)#commit | Commit the transaction. |
SW2(config-if)#exit | Exit interface mode. |
SW1#configure terminal | Enter configure mode. |
SW1(config)# bridge 1 protocol mstp | Configure bridge 1 as MSTP bridge |
SW1(config)#vlan database | Enter vlan database mode. |
SW1(config-vlan)#vlan 2-10 bridge 1 state enable | Configure a VLAN and add it to the bridge. |
SW1(config-vlan)#exit | Exit vlan configuration mode. |
SW1(config)#interface sa10 | Enter into port channel interface sa10. |
SW1(config-if)#switchport | Configure sa10 as a layer 2 port. |
SW1(config-if)#bridge-group 1 | Associate bridge to an interface. |
SW1(config-if)#switchport mode trunk | Configure port as a trunk. |
SW1(config-if)#switchport trunk allowed vlan all | Allow all the VLANs on the po10 interface. |
SW1(config-if)#exit | Exit interface mode. |
SW1(config)#interface eth1 | Enter interface mode. |
SW1(config-if)#static-channel-group 10 | Add this interface to channel group 10 and enable link aggregation so that it can be selected for aggregation by the local system. |
SW1(config-if)#exit | Exit interface mode. |
SW1(config)#interface eth2 | Enter interface mode. |
SW1(config-if)#static-channel-group 10 | Add this interface to channel group 10 and enable link aggregation so that it can be selected for aggregation by the local system. |
SW1(config-if)#exit | Exit interface mode. |
SW1(config)#interface eth3 | Enter interface mode. |
SW1(config-if)#static-channel-group 10 | Add this interface to channel group 10 and enable link aggregation so that it can be selected for aggregation by the local system. |
SW1(config-if)#commit | Commit the transaction. |
SW1(config-if)#exit | Exit interface mode. |
SW2#configure terminal | Enter configure mode. |
SW2(config)# bridge 1 protocol mstp | Configure bridge 1 as MSTP bridge |
SW2(config)#vlan database | Enter vlan database mode. |
SW2(config-vlan)#vlan 2-10 bridge 1 state enable | Configure a VLAN and add it to the bridge. |
SW2(config-vlan)#exit | Exit vlan configuration mode. |
SW2(config)#interface sa10 | Enter into port channel interface sa10. |
SW2(config-if)#switchport | Configure sa10 as a layer 2 port. |
SW2(config-if)#bridge-group 1 | Associate bridge to an interface. |
SW2(config-if)#switchport mode trunk | Configure port as a trunk. |
SW2(config-if)#switchport trunk allowed vlan all | Allow all the VLANs on the po10 interface. |
SW2(config-if)#exit | Exit interface mode. |
SW2(config)#interface eth2 | Enter interface mode. |
SW2(config-if)#static-channel-group 10 | Add this interface to channel group 10 and enable link aggregation so that it can be selected for aggregation by the local system. |
SW2(config-if)#exit | Exit interface mode. |
SW2(config)#interface eth3 | Enter interface mode. |
SW2(config-if)#static-channel-group 10 | Add this interface to channel group 10 and enable link aggregation so that it can be selected for aggregation by the local system. |
SW2(config-if)#exit | Exit interface mode. |
SW2(config)#interface eth4 | Enter interface mode. |
SW2(config-if)#static-channel-group 10 | Add this interface to channel group 10 and enable link aggregation so that it can be selected for aggregation by the local system. |
SW2(config-if)#exit | Exit interface mode. |
SW1(config)#commit | Commit the transaction. |
#configure terminal | Enter configure mode. |
(config)#interface sa10 | Creating interface static-lag sa10 |
(config-if)#port-channel min-links 4 | Configuring port channel minimum links as 4(range is 2-32) |
(config-if)#commit | Commit the transaction. |
(config-if)#exit | Exit the configure mode |
#configure terminal | Enter configure mode. |
(config)#interface sa10 | Creating interface port-channel sa10 |
(config-if)#port-channel min-links 4 | Configuring port channel minimum links as 4 (range is 2-32) |
(config-if)#commit | Commit the transaction. |
(config-if)#exit | Exit the configure mode |
#configure terminal | Enter configure mode. |
(config)#interface sa10 | Creating interface static-lag sa10 |
(config-if)#port-channel min-bandwidth 40g | Configuring port channel minimum bandwidth as 40g (range from BANDWIDTH <1-999>k|m for 1 to 999 kilo bits or mega bits <1-1000>g for 1 to 1000 giga bits.) |
(config-if)#commit | Commit the transaction. |
(config-if)#exit | Exit the configure mode |
#configure terminal | Enter configure mode. |
(config)#interface sa10 | Creating interface port-channel sa10 |
(config-if)#port-channel min-bandwidth 40g | Configuring port channel minimum bandwidth as 40g (range from BANDWIDTH <1-999>k|m for 1 to 999 kilo bits or mega bits <1-1000>g for 1 to 1000 giga bits.) |
(config-if)#commit | Commit the transaction. |
(config-if)#exit | Exit the configure mode |
#configure terminal | Enter configure mode. |
(config)#interface po10 | Creating interface port-channel po10 |
(config-if)#port-channel min-links 4 | Configuring port channel minimum links as 4 (range is 2-32) |
(config-if)#commit | Commit the transaction. |
(config-if)#exit | Exit the configure mode |
#configure terminal | Enter configure mode. |
(config)#interface po10 | Creating interface port-channel po10 |
(config-if)#port-channel min-links 4 | Configuring port channel minimum links as 4 (range is 2-32) |
(config-if)#commit | Commit the transaction. |
(config-if)#exit | Exit the configure mode |
#configure terminal | Enter configure mode. |
(config)#interface po10 | Creating interface port-channel po10 |
(config-if)#port-channel min-bandwidth 40g | Configuring port channel minimum bandwidth as 40g (range from BANDWIDTH <1-999>k|m for 1 to 999 kilo bits or mega bits <1-1000>g for 1 to 1000 giga bits.) |
(config-if)#commit | Commit the transaction. |
(config-if)#exit | Exit the configure mode |
#configure terminal | Enter configure mode. |
(config)#interface po10 | Creating interface port-channel po10 |
(config-if)#port-channel min-bandwidth 40g | Configuring port channel minimum bandwidth as 40g (range from BANDWIDTH <1-999>k|m for 1 to 999 kilo bits or mega bits <1-1000>g for 1 to 1000 giga bits.) |
(config-if)#commit | Commit the transaction. |
(config-if)#exit | Exit the configure mode |
#configure terminal | Enter configure mode. |
(config)# bridge 1 protocol rstp vlan-bridge | Configure bridge type |
(config)# vlan database | Enter vlan database mode |
(config-vlan)# vlan 600,601,502 bridge 1 state enable | Configure a vlans and add it to the bridge. |
(config-if)#exit | Exit vlan configuration mode. |
(config)#interface mlag1 | Enter Interface mode |
(config-if)# switchport | Make mlag as layer2 port |
(config-if)# bridge-group 1 | Attach interface to bridge |
(config-if)# switchport mode trunk | Configure trunk port |
(config-if)# switchport trunk allowed vlan add 600,601,502 | Add interface to vlans |
(config-if)# spanning-tree edgeport | Configure port as edge port to avoid loops |
(config-if)# spanning-tree bpdu-filter enable | Enable bpdu filter to avoid loops |
(config-if)#mtu 9216 | Configure mtu. |
(config-if)#exit | Return to privilege mode |
(config)#interface mlag3 | Enter Interface mode |
(config-if)# switchport | Make mlag as layer2 port |
(config-if)# bridge-group 1 | Attach interface to bridge |
(config-if)# switchport mode trunk | Configure trunk port |
(config-if)# switchport trunk allowed vlan add 600,502 | Add interface to vlans |
(config-if)# spanning-tree edgeport | Configure port as edge port to avoid loops |
(config-if)# spanning-tree bpdu-filter enable | Enable bpdu filter to avoid loops |
(config-if)#mtu 9216 | Configure mtu. |
(config-if)#exit | Return to privilege mode |
(config)#commit | Commit the candidate configuration to the running Configuration. |
(config)#interface po100 | Enter Interface mode |
(config-if)# switchport | Make po as layer2 port |
(config-if)#exit | Exit interface mode. |
(config)#interface sa1 | Enter Interface mode |
(config-if)# switchport | Make sa1 as layer2 port |
(config-if)# port-channel load-balance src-dst-mac | Enable load balance |
(config-if)#exit | Return to privilege mode |
(config)#interface sa3 | Enter Interface mode |
(config-if)# switchport | Make sa3 as layer2 port |
(config-if)# port-channel load-balance src-dst-mac | Enable load balance |
(config-if)#exit | Return to privilege mode |
(config)#interface ce2/4 | Enter Interface mode |
(config-if)# static-channel-group 1 | Add interface to sa1 |
(config-if)#exit | Return to privilege mode |
(config)#interface ce3/1 | Enter Interface mode |
(config-if)# channel-group 100 mode active | Add interface to po100 |
(config-if)#exit | Return to privilege mode |
(config)#interface ce3/2 | Enter Interface mode |
(config-if)# channel-group 100 mode active | Add interface to po100 |
(config-if)#exit | Return to privilege mode |
(config)#interface ce3/3 | Enter Interface mode |
(config-if)# channel-group 100 mode active | Add interface to po100 |
(config-if)#exit | Return to privilege mode |
(config)#interface ce3/4 | Enter Interface mode |
(config-if)# channel-group 100 mode active | Add interface to po100 |
(config-if)#exit | Return to privilege mode |
(config)#interface ce4/1 | Enter Interface mode |
(config-if)# static-channel-group 3 | Add interface to sa3 |
(config-if)#exit | Return to privilege mode |
(config)#interface ce4/2 | Enter Interface mode |
(config-if)# static-channel-group 3 | Add interface to sa3 |
(config-if)#exit | Return to privilege mode |
(config)#interface ce4/3 | Enter Interface mode |
(config-if)# static-channel-group 3 | Add interface to sa3 |
(config-if)#exit | Return to privilege mode |
(config)#commit | Commit the candidate configuration to the running Configuration. |
(config)#mcec domain configuration | Enter Multichasis Etherchannel domain configuration mode. |
(config-mcec-domain)# domain-address 1111.2222.3333 | Configure the domain address. |
(config-mcec-domain)# domain-system-number 1 | Configure the domain system number |
(config-mcec-domain)# intra-domain-link po100 | Specify the intra domain link for MLAG communication |
(config-mcec-domain)#exit | Return to privilege mode |
(config)#int mlag1 | Enter Interface mode |
(config-if)#mode active-standby | Configure mlag mode for mlag1 |
(config-if)#switchover type revertive 10 | Configure revertive timer |
(config-if)#exit | Return to privilege mode |
(config)#interface sa1 | Enter Interface mode |
(config-if)#mlag 1 | Map sa1 to mlag1 |
(config-if)#exit | Return to privilege mode |
(config)#int mlag3 | Enter Interface mode |
(config-if)#mode active-standby | Configure mlag mode for mlag3 |
(config-if)#switchover type revertive 10 | Configure revertive timer |
(config-if)#exit | Return to privilege mode |
(config)#interface sa3 | Enter Interface mode |
(config-if)#mlag 3 | Map sa3 to mlag3 |
(config-if)#exit | Return to privilege mode |
(config-if)# interface sa1 | Enter sa interface mode |
(config-if)#port-channel min-links 3 | Configure min-link value on sa interface |
(config)#interface sa3 | Enter sa Interface mode |
(config-if)#port-channel min-bandwidth 30g | Configure min-bandwidth value on sa/po interface |
(config-if)#commit | Commit the candidate configuration to the running Configuration. |
(config-if)#exit | Exit interface mode. |
#configure terminal | Enter configure mode. |
(config)#bridge 1 protocol rstp vlan-bridge | Configure bridge type |
(config)# vlan database | Enter vlan database |
(config-vlan)# vlan 600,601,502 bridge 1 state enable | Configure vlans |
(config-vlan)#exit | Exit vlan configure mode. |
(config)#interface mlag1 | Enter Interface mode |
(config-if)# switchport | Make mlag as layer2 port |
(config-if)# bridge-group 1 | Attach interface to bridge |
(config-if)# switchport mode trunk | Configure trunk port |
(config-if)# switchport trunk allowed vlan add 600,601,502 | Add interface to vlans |
(config-if)# spanning-tree edgeport | Configure port as edge port to avoid loops |
(config-if)# spanning-tree bpdu-filter enable | Enable bpdu filter to avoid loops |
(config-if)#mtu 9216 | Configure mtu. |
(config-if)#exit | Return to privilege mode |
(config)#interface mlag3 | Enter Interface mode |
(config-if)# switchport | Make mlag as layer2 port |
(config-if)# bridge-group 1 | Attach interface to bridge |
(config-if)# switchport mode trunk | Configure trunk port |
(config-if)# switchport trunk allowed vlan add 600,502 | Add interface to vlans |
(config-if)# spanning-tree edgeport | Configure port as edge port to avoid loops |
(config-if)# spanning-tree bpdu-filter enable | Enable bpdu filter to avoid loops |
(config-if)#mtu 9216 | Configure mtu. |
(config-if)#exit | Return to privilege mode |
(config)#commit | Commit the candidate configuration to the running Configuration. |
(config)#interface po100 | Enter Interface mode |
(config-if)# switchport | Make po(IDL) as layer2 port |
(config-if)#exit | Return to privilege mode |
(config)#interface sa1 | Enter Interface mode |
(config-if)# switchport | Make sa1 as layer2 port |
(config-if)# port-channel load-balance src-dst-mac | Enable load balance |
(config-if)#exit | Return to privilege mode |
(config)#interface sa3 | Enter Interface mode |
(config-if)# switchport | Make sa3 as layer2 port |
(config-if)# port-channel load-balance src-dst-mac | Enable load balance |
(config-if)#exit | Return to privilege mode |
(config)#interface ce1/1 | Enter Interface mode |
(config-if)# static-channel-group 3 | Add interface to sa3 |
(config-if)#exit | Return to privilege mode |
(config)#interface ce1/2 | Enter Interface mode |
(config-if)# static-channel-group 3 | Add interface to sa3 |
(config-if)#exit | Return to privilege mode |
(config)#interface ce1/3 | Enter Interface mode |
(config-if)# static-channel-group 3 | Add interface to sa3 |
(config-if)#exit | Return to privilege mode |
(config)#interface ce3/1 | Enter Interface mode |
(config-if)# channel-group 100 mode active | Add interface to po100 |
(config-if)#exit | Return to privilege mode |
(config)#interface ce3/2 | Enter Interface mode |
(config-if)# channel-group 100 mode active | Add interface to po100 |
(config-if)#exit | Return to privilege mode |
(config)#interface ce3/3 | Enter Interface mode |
(config-if)# channel-group 100 mode active | Add interface to po100 |
(config-if)#exit | Return to privilege mode |
(config)#interface ce3/4 | Enter Interface mode |
(config-if)# channel-group 100 mode active | Add interface to po100 |
(config-if)#exit | Return to privilege mode |
(config)#interface ce5/1 | Enter Interface mode |
(config-if)# static-channel-group 1 | Add interface to sa1 |
(config-if)#exit | Return to privilege mode |
(config)#interface ce5/2 | Enter Interface mode |
(config-if)# static-channel-group 1 | Add interface to sa1 |
(config-if)#exit | Return to privilege mode |
(config)#interface ce5/3 | Enter Interface mode |
(config-if)# static-channel-group 1 | Add interface to sa1 |
(config-if)#exit | Return to privilege mode |
(config)#commit | Commit the candidate configuration to the running Configuration. |
(config)#mcec domain configuration | Enter Multichasis Etherchannel domain configuration mode. |
(config-mcec-domain)# domain-address 1111.2222.3333 | Configure the domain address. |
(config-mcec-domain)# domain-system-number 2 | Configure the domain system number |
(config-mcec-domain)# intra-domain-link po100 | Specify the intra domain link for MLAG communication |
(config-mcec-domain)#exit | Return to privilege mode |
(config)#int mlag1 | Enter Interface mode |
(config-if)#mode active-standby | Configure mlag mode for mlag1 |
(config-if)#switchover type revertive 10 | Configure revertive timer |
(config-if)#exit | Return to privilege mode |
(config)#interface sa1 | Enter Interface mode |
(config-if)#mlag 1 | Map sa1 to mlag1 |
(config-if)#exit | Return to privilege mode |
(config)#int mlag3 | Enter Interface mode |
(config-if)#mode active-standby | Configure mlag mode for mlag3 |
(config-if)#switchover type revertive 10 | Configure revertive timer |
(config-if)#exit | Return to privilege mode |
(config)#interface sa3 | Enter Interface mode |
(config-if)#mlag 3 | Map sa3 to mlag3 |
(config-if)#exit | Return to privilege mode |
(config-if)#interface sa1 | Enter sa interface mode |
(config-if)#port-channel min-links 3 | Configure min-link value on sa interface |
(config)#interface sa3 | Enter sa Interface mode |
(config-if)#port-channel min-bandwidth 30g | Configure min-bandwidth value on sa interface. |
(config-if)#commit | Commit the candidate configuration to the running Configuration. |
(config-if)#exit | Exit interface mode. |
#configure terminal | Enter Configure mode. |
(config)#bridge 1 protocol rstp vlan-bridge | Configure bridge type |
(config)#vlan database | Create vlan database |
(config-vlan)#vlan 600,601,502,101,100,300,401,402 bridge 1 state enable | Create Vlans |
(config-vlan)#exit | Exit vlan configuration mode. |
(config)#interface xe1 | Enter Interface mode |
(config-if)# switchport | Make xe1 as layer2 port |
(config-if)# bridge-group 1 | Associate the interface with bridge group 1. |
(config-if)# switchport mode trunk | Set the switching characteristics of this interface to trunk mode. |
(config-if)# switchport trunk allowed vlan all | Enable all VLAN identifiers on this interface. |
(config-if)#spanning-tree edgeport | Configure port as edgeport |
(config-if)#spanning-tree bpdu-filter enable | Enable spanning tree bpdu filter |
(config-if)# mtu 9216 | Configure mtu |
(config-if)#exit | Return to privilege mode |
(config)#interface sa1 | Enter Interface mode |
(config-if)# switchport | Make xe1 as layer2 port |
(config-if)# bridge-group 1 | Associate the interface with bridge group 1. |
(config-if)# switchport mode trunk | Set the switching characteristics of this interface to trunk mode. |
(config-if)# switchport trunk allowed vlan add 100,101,300,401,402,502 | Enable all VLAN identifiers on this interface. |
(config-if)# port-channel load-balance src-dst-mac | Enable load balance |
(config-if)#spanning-tree edgeport | Configure port as edgeport |
(config-if)#spanning-tree bpdu-filter enable | Enable spanning tree bpdu filter |
(config-if)# mtu 9216 | Configure mtu |
(config-if)#exit | Return to privilege mode |
(config)#interface xe2 | Enter Interface mode |
(config-if)# static-channel-group 1 | Add interface to sa1 |
(config-if)#exit | Return to privilege mode |
(config)#interface xe3 | Enter Interface mode |
(config-if)# static-channel-group 1 | Add interface to sa1 |
(config-if)#exit | Return to privilege mode |
(config)#interface xe4 | Enter Interface mode |
(config-if)#static-channel-group 1 | Add interface to sa1 |
(config-if)#exit | Return to privilege mode |
(config)#interface xe6 | Enter Interface mode |
(config-if)# static-channel-group 1 | Add interface to sa3 |
(config-if)#exit | Return to privilege mode |
(config)#interface xe7 | Enter Interface mode |
(config-if)# static-channel-group 1 | Add interface to sa3 |
(config-if)#exit | Return to privilege mode |
(config)#interface xe8 | Enter Interface mode |
(config-if)# static-channel-group 1 | Add interface to sa3 |
(config-if)#exit | Return to privilege mode |
(config)#commit | Commit the candidate configuration to the running Configuration. |
(config)#bridge 1 protocol rstp vlan-bridge | Configure bridge type |
(config)#vlan database | Create vlan database |
(config-vlan)#vlan 600,601,502,101,100, 300,401,402 bridge 1 state enable | Create vlans |
(config-vlan)#exit | Exit vlan configuration mode |
(config)#interface xe5/1 | Enter Interface mode |
(config-if)# switchport | Make xe1 as layer2 port |
(config-if)# bridge-group 1 | Associate the interface with bridge group 1. |
(config-if)# switchport mode trunk | Set the switching characteristics of this interface to trunk mode. |
(config-if)# switchport trunk allowed vlan all | Enable all VLAN identifiers on this interface. |
(config-if)#spanning-tree edgeport | Configure port as edge port |
(config-if)#spanning-tree bpdu-filter enable | Enable spanning tree bpdu filter |
(config-if)# mtu 9216 | Configure mtu |
(config-if)#exit | Return to privilege mode |
(config)#interface sa3 | Enter Interface mode |
(config-if)# switchport | Make xe1 as layer2 port |
(config-if)# bridge-group 1 | Associate the interface with bridge group 1. |
(config-if)# switchport mode trunk | Set the switching characteristics of this interface to trunk mode. |
(config-if)# switchport trunk allowed vlan add 100,101,401,402,600,502 | Enable all VLAN identifiers on this interface. |
(config-if)# port-channel load-balance src-dst-mac | Enable load balance |
(config-if)#spanning-tree edgeport | Configure port as edge port |
(config-if)#spanning-tree bpdu-filter enable | Enable spanning tree bpdu filter |
(config-if)# mtu 9216 | Configure mtu |
(config-if)#exit | Return to privilege mode |
(config)#interface xe3/1 | Enter Interface mode |
(config-if)# static-channel-group 3 | Add interface to sa3 |
(config-if)#exit | Return to privilege mode |
(config)#interface xe3/2 | Enter Interface mode |
(config-if)# static-channel-group 3 | Add interface to sa3 |
(config-if)#exit | Return to privilege mode |
(config)#interface xe3/3 | Enter Interface mode |
(config-if)#static-channel-group 3 | Add interface to sa3 |
(config-if)#exit | Return to privilege mode |
(config)#interface xe1/1 | Enter Interface mode |
(config-if)#static-channel-group 3 | Add interface to sa3 |
(config-if)#exit | Return to privilege mode |
(config)#interface xe1/2 | Enter Interface mode |
(config-if)# static-channel-group 3 | Add interface to sa3 |
(config-if)#exit | Return to privilege mode |
(config)#interface xe1/3 | Enter Interface mode |
(config-if)#static-channel-group 3 | Add interface to sa3 |
(config-if)#exit | Exit interface mode. |
(config)#commit | Commit the candidate configuration to the running Configuration. |
#configure terminal | Enter configure mode. |
(config)#hostname PE1 | Configure host name |
(config)#bridge 1 protocol rstp vlan-bridge | Create a RSTP VLAN bridge on customer side |
(config)#vlan database | Enter vlan database. |
(config-vlan)#vlan 2-100 bridge 1 state enable | Configure VLAN for the bridge |
(config-vlan)#exit | Exit vlan configuration mode. |
(config)#interface ge46 | Enter interface mode |
(config-if)#switchport | Make interface as Switchport |
(config-if)#bridge-group 1 | Associate the interface to bridge |
(config-if)#switchport mode hybrid | Configure the mode as hybrid |
(config-if)#switchport hybrid allowed vlan all | Configure allowed VLAN all on the interface |
(config-if)#load-interval 30 | Configure load period in multiple of 30 seconds |
(config-if)#exit | Exit interface mode. |
(config)#interface po1 | Enter the interface mode |
(config-if)#switchport | Make the interface as switch port |
(config-if)#bridge-group 1 | Associate the interface to bridge |
(config-if)#switchport mode hybrid | Configure the mode as hybrid |
(config-if)#switchport hybrid allowed vlan all | Configure allowed vlan all for the hybrid mode |
(config-if)#load-interval 30 | Configure load period in multiple of 30 seconds |
(config-if)#exit | Exit interface mode. |
(config)#interface ge44 | Enter interface mode |
(config-if)#channel-group 1 mode active | Adding interface to channel-group 1 |
(config-if)#exit | Exit interface mode. |
(config)#interface ge45 | Enter interface mode |
(config-if)#channel-group 1 mode active | Adding interface to channel-group 1 |
(config-if)#commit | Commit the candidate configuration to the running Configuration. |
(config-if)#exit | Exit interface mode. |
#configure terminal | Enter configure mode. |
(config)#hostname PE2 | Configure host name |
(config)#bridge 1 protocol provider-rstp edge | Create provider rstp edge bridge |
(config)#vlan database | Enter vlan database mode |
(config-vlan)#vlan 2-100 type customer bridge 1 state enable | Configure customer VLAN for the bridge |
(config-vlan)#vlan 100 type service point-point bridge 1 state enable | Configure service VLAN for the bridge |
(config)#exit | Exit vlan database mode |
(config)#cvlan registration table map1 bridge 1 | Creating registration table |
(config-cvlan-registration)#cvlan 2-100 svlan 100 | Mapping cvlan to svlan |
(config-cvlan-registration)#exit | Exit cvlan registration mode. |
(config)#commit | Commit the candidate configuration to the running Configuration. |
(config)#interface ge43 | Enter interface mode |
(config-if)#switchport | Make interface as Switchport |
(config-if)#bridge-group 1 | Associate the interface to bridge |
(config-if)#switchport mode provider-network | Configure the mode as provider-network |
(config-if)# switchport provider-network allowed vlan all | Configure allowed VLAN all on the interface |
(config-if)#load-interval 30 | Configure load period in multiple of 30 seconds |
(config-if)#exit | Exit interface mode. |
(config)#interface po1 | Enter the interface mode |
(config-if)#switchport | Make the interface as switch port |
(config-if)#bridge-group 1 | Associate the interface with bridge group 1 |
(config-if)#switchport mode customer-edge hybrid | Set the switching characteristics of this interface to customer-edge hybrid |
(config-if)#switchport customer-edge hybrid allowed vlan all | Set the switching characteristics of this interface to customer-edge hybrid and allow vlan all |
(config-if)#switchport customer-edge vlan registration map1 | Configuring the registration table mapping on lag interface |
(config-if)#load-interval 30 | Configure load period in multiple of 30 seconds |
(config-if)#exit | Exit interface mode. |
(config)#interface ge44 | Enter interface mode |
(config-if)#channel-group 1 mode active | Adding interface to channel-group 1 |
(config-if)#lacp force-up | Enable lacp force-up for the member port interface |
(config-if)#exit | Exit interface mode. |
(config)#interface ge45 | Enter interface mode |
(config-if)#channel-group 1 mode active | Adding interface to channel-group 1 |
(config-if)#commit | Commit the candidate configuration to the running Configuration. |
(config-if)#exit | Exit interface mode. |
PE1(config)#interface ge44 | Enter interface mode. |
PE1(config-if)#no channel-group | Removing channel-group configurations from interface. |
PE1(config-if)#exit | Exit interface mode. |
PE1(config)#interface ge45 | Enter interface mode. |
PE1(config-if)#no channel-group | Removing channel-group configurations from interface. |
PE1(config-if)#exit | Exit interface mode. |
PE1(config)#commit | Commit the candidate configuration to the running Configuration. |
PE1(config)#interface ge44 | Enter interface mode. |
PE1(config-if)#switchport | Make the interface as switch port. |
PE1(config-if)#bridge-group 1 | Associate the interface to bridge. |
PE1(config-if)#switchport mode hybrid | Configure the mode as hybrid. |
PE1(config-if)#switchport hybrid allowed vlan all | Configure allowed vlan all for the hybrid mode. |
PE1(config-if)#load-interval 30 | Configure load period in multiple of 30 seconds. |
PE1(config-if)#exit | Exit interface mode. |
PE1(config)#commit | Commit the candidate configuration to the running Configuration. |
(config)#bridge 1 protocol provider-rstp edge | Create provider rstp bridge. |
(config)#vlan database | Enter vlan database mode |
(config-vlan)#vlan 2-10 type customer bridge 1 state enable | Enabling customer vlan for bridge |
(config-vlan)#vlan 2-10 type service point-point bridge 1 state enable | Enabling service vlan for bridge |
(config-vlan)#exit | Exit vlan configuration mode. |
(config)#cvlan registration table map1 bridge 1 | Creating registration table |
(config-cvlan-registration)#cvlan 2 svlan 2 | Mapping cvlan to svlan |
(config-cvlan-registration)#cvlan 10 svlan 2 | Mapping cvlan to svlan |
(config-cvlan-registration)#exit | Exit cvlan registration mode. |
(config)#commit | Commit the candidate configuration to the running configuration. |
(config)#interface xe49/1 | Entering interface mode |
(config-if)#switchport | Configuring interface as switchport |
(config-if)#exit | Exit interface mode. |
(config)#interface mlag1 | Entering mlag interface |
(config-if)#switchport | Configuring interface as switchport |
(config-if)#bridge-group 1 spanning-tree disable | Associate the interface with bridge group 1and disabling spanning-tree |
(config-if)#switchport mode customer-edge hybrid | Set the switching characteristics of this interface to customer-edge hybrid |
(config-if)#switchport customer-edge hybrid vlan 2 | Set the switching characteristics of this interface to customer-edge hybrid and allow vlan 2 |
(config-if)#switchport customer-edge hybrid allowed vlan all | Set the switching characteristics of this interface to customer-edge hybrid and allow vlan all |
(config-if)#switchport customer-edge vlan registration map1 | Configuring the registration table mapping on mlag interface |
(config-if)#exit | Exit interface mode. |
(config)#interface po1 | Entering dynamic lag interface |
(config-if)#switchport | Configuring interface as switchport |
(config-if)#mlag 1 | Enabling mlag group number |
(config-if)#exit | Exit interface mode. |
(config)#interface ge1 | Entering interface mode |
(config-if)#lacp force-up | Enable lacp force-up for the member port interface |
(config-if)#channel-group 1 mode active | Add this interface to channel group 1 |
(config-if)#exit | Exit the interface mode |
(config)#mcec domain configuration | Entering MCEC mode |
(config-mcec-domain)#domain-address 2222.2222.2222 | Domain address for the mlag domain |
(config-mcec-domain)#domain-system-number 1 | Number to identify the node in a domain |
(config-mcec-domain)#intra-domain-link xe49/1 | Intra domain line between mlag domain |
(config-mcec-domain)#exit | Exit mcec domain mode. |
(config)#commit | Commit the candidate configuration to the running configuration. |
(config)#bridge 1 protocol provider-rstp edge | Create provider rstp bridge. |
(config)#vlan database | Enter vlan database mode |
(config-vlan)#vlan 2-10 type customer bridge 1 state enable | Enabling customer vlan for bridge |
(config-vlan)#vlan 2-10 type service point-point bridge 1 state enable | Enabling service vlan for bridge |
(config-vlan)#exit | Exit vlan database mode. |
(config)#cvlan registration table map1 bridge 1 | Creating registration table |
(config-cvlan-registration)#cvlan 2 svlan 2 | Mapping cvlan to svlan |
(config-cvlan-registration)#cvlan 10 svlan 2 | Mapping cvlan to svlan |
(config-cvlan-registration)#exit | Exit cvlan registration mode. |
(config)#commit | Commit the candidate configuration to the running configuration. |
(config)#interface xe49/1 | Entering interface mode |
(config-if)#switchport | Configuring interface as switchport |
(config-if)#exit | Exit interface mode. |
(config)#interface mlag1 | Entering mlag interface |
(config-if)#switchport | Configuring interface as switchport |
(config-if)#bridge-group 1 spanning-tree disable | Associate the interface with bridge group 1and disabling spanning-tree |
(config-if)#switchport mode customer-edge hybrid | Set the switching characteristics of this interface to customer-edge hybrid |
(config-if)#switchport customer-edge hybrid vlan 2 | Set the switching characteristics of this interface to customer-edge hybrid and allow vlan 2 |
(config-if)#switchport customer-edge hybrid allowed vlan all | Set the switching characteristics of this interface to customer-edge hybrid and allow vlan all |
(config-if)#switchport customer-edge vlan registration map1 | Configuring the registration table mapping on mlag interface |
(config-if)#exit | Exit interface mode. |
(config)#interface po1 | Entering dynamic lag interface |
(config-if)#switchport | Configuring interface as switchport |
(config-if)#mlag 1 | Enabling mlag group number |
(config-if)#exit | Exit interface mode. |
(config)#interface ge21 | Entering interface mode |
(config-if)#lacp force-up | Enable lacp force-up for the member port interface |
(config-if)#channel-group 1 mode active | Add this interface to channel group 1 |
(config-if)#exit | Exit the interface mode |
(config)#mcec domain configuration | Entering MCEC mode |
(config-mcec-domain)#domain-address 2222.2222.2222 | Domain address for the mlag domain |
(config-mcec-domain)#domain-system-number 2 | Number to identify the node in a domain |
(config-mcec-domain)#intra-domain-link xe49/1 | Intra domain line between mlag domain |
(config-mcec-domain)#exit | Exit mcec domain mode. |
(config)#commit | Commit the candidate configuration to the running configuration. |
(config)#config t | Enter configure terminal. |
(config)#bridge 1 protocol rstp vlan-bridge | Configuring the rstp vlan bridge |
(config)#vlan database | Enter vlan database mode. |
(config-vlan)#vlan 2-10 bridge 1 state enable | Configure customer vlan. |
(config-vlan)#exit | Exit vlan configuration mode. |
(config)#interface po1 | Entering interface mode |
(config-if)#switchport | Configuring interface as switchport |
(config-if)#bridge-group 1 spanning-tree disable | Associate the interface with bridge group 1 and disabling spanning-tree |
(config-if)#switchport mode access | Configure switchport mode as access |
(config-if)#switchport access vlan 2,10 | Configure access vlan 2,10 |
(config-if)#exit | Exit interface mode. |
(config)#interface ge1 | Entering interface mode |
(config-if)#channel-group 1 mode active | Add this interface to channel group 1 . |
(config-if)#exit | Exit interface mode. |
(config)#interface ge21 | Entering interface mode |
(config-if)#channel-group 1 mode active | Add this interface to channel group 1. |
(config-if)#exit | Exit interface mode. |
(config-if)#interface ge46 | Entering interface mode |
(config-if)#switchport | Configuring interface as switchport |
(config-if)#bridge-group 1 spanning-tree disable | Associate the interface with bridge group 1and disabling spanning-tree |
(config-if)#switchport mode hybrid | Set the switching characteristics of this interface to hybrid |
(config-if)#switchport hybrid allowed vlan all | Set the switching characteristics of this interface to hybrid and allow vlan all |
(config-if)#exit | Exit interface mode. |
(config)#commit | Commit the candidate configuration to the running configuration. |
SW1(config)#interface ge1 | Enter interface mode. |
SW1(config-if)#no channel-group | Removing channel-group configurations from interface. |
SW1(config-if)#exit | Exit interface mode. |
SW1(config)#interface ge21 | Enter interface mode. |
SW1(config-if)#no channel-group | Removing channel-group configurations from interface. |
SW1(config-if)#exit | Exit interface mode. |
SW1(config)#commit | Commit the candidate configuration to the running Configuration. |
SW1(config)#interface ge1 | Enter interface mode. |
SW1(config-if)#switchport | Make the interface as switch port. |
SW1(config-if)#bridge-group 1 spanning-tree disable | Associate the interface to bridge. |
SW1(config-if)#switchport mode access | Configure the mode as access. |
SW1(config-if)#switchport access vlan 4001 | Configure allowed vlan 4001 for the access mode. |
SW1(config-if)#load-interval 30 | Configure load period in multiple of 30 seconds. |
SW1(config-if)#commit | Commit the candidate configuration to the running configuration. |
SW1(config-if)#exit | Exit interface mode. |