Example 150 Configuring Gigabit Ether Channel with 8021Q Encapsulat

tundra_switch(config)#interface gigabitEthernet 0/1 tundra_switch(config-if)#switchport trunk encapsulation dotlq

! 8 02.1q trunking tundra switch(config-if)#switchport mode trunk tundra switch(config-if)#channel-group 1 mode on ! EtherChannel Configuration

Creating a port-channel interface Port-channel1 tundra (config-if)#exit

00:23:18: %LINK-3-UPDOWN: Interface Port-channel1, changed state to up

00:23:19: %LINEPROTO-5-UPDOWN: Line protocol on Interface Port-channel1, changed s tundra switch(config)#interface gigabitEthernet 0/2

tundra switch(config-if)#switchport trunk encapsulation dot1q tundra switch(config-if)#switchport mode trunk tundra switch(config-if)#channel-group 1 mode on

At this point of the configuration, VTP should be working between switches, and you should be able local devices. You need to configure t he SVIs and routing protocols for inter-VLAN connectivity. In ■ you were to set the root of spanning tree for VLANs 100 and 200 to the tundra_switch1. You can d< the global configuration command spanning-tree vlan 100 root and spanning-tree vlan 200 r<

commands. This macro uses the extended system ID to set the priority of the VLANs to 24,576, wh them root. VTP pruning should also be enabled for VLAN 200. VTP pruning is enabled with the VLAI configuration command vtp pruning. You can verify the status of STP with the show spanning-ti command, as demonstrated in Example 1-51. At the bottom of this example is the show interface verifying that VTP pruning is enabled on the EtherChannel between tin e two switches.

0 0

Post a comment