Saturday 24 December 2011

LACP with STP Simulation
















Each of these vlans has one host each on its port
SVI on vlan 1 - ip 192.168.1.11 with snm

Port 15 connected to Port on Router.
Tasks to do
1. Use non proprietary mode of aggregation with Switch B being the initiator
-- Assumed use LACP with B being in Active mode
2. Use non proprietary trunking and no negotiation
-- Assumed use switchport mode trunk and switchport trunk encapsulation dot1q
3. Restrict only to vlans needed
-- Assumed either vtp pruning or allowed vlan list. vtp pruning command did not seem to work on
the simulator so landed using allowed vlan list
4. SVI on vlan 1 with some ip and subnet given
5. Configure switch A so that nodes other side of Router C are accessible
-- Assumed this to mean that on switch A default gatway has to be configured.
6. Make switch B the root
-- Could not get this to work. Exam hung when I tried the command
spanning-tree vlan 1,21-23 priority 4096.


Explanation:
on Switch A verify with show run if you need to create vlans 21-23

int range fa0/9 - 10
switchport mode access
switchport access vlan 21
spanning-tree portfast
no shut

int range fa0/13 - 14
switchport mode access
switchport access vlan 22
spanning-tree portfast
no shut

int range fa0/16- 16
switchport mode access
switchport access vlan 23
spanning-tree portfast
no shut

int range fa0/3 - 4
channel-protocol lacp
channel group 1 mode passive
no shut

int port-channel 1
switchport mode trunk
switchport trunk encapsulation dot1q
spanning-tree allowed vlans 1,21-23
no shut

int vlan 1
ip address x.y.z.11 255.a.b.c
no shut

SW B ---> the one at the left (not connected to router
conf t
interface rang fastethernet 0/9-10
switchport mode access
switchport accress vlan 21
spanning-tree portfast
no shut

interface rang fastethernet 0/13-14
switchport mode access
switchport accress vlan 22
spanning-tree portfast
no shut

interface rang fastethernet0/15-16
switchport mode access
switchport accress vlan 23
spanning-tree portfast
no shut

interface range fastethernet 0/3-4
switchport trunk encapsulation dot1q
switchport trunk native vlan 99
switchport trunk allowed vlan 1,21-23,99
switchport mode trunk
channel-protocol lacp
channel-group 1
mode passsive
no shut

// port-channel 1 automatically created and nothing needs to be configured under it.

ip default-gateway 10.10.10.1

// VLAN 1 already configured nothing more to be done on it

SWA ---> the one connected to the router as in the exam
vlan 21
vlan 22
vlan 23
interface range fastethernet 0/3-4
switchport trunk native vlan 99
switchport trunk allowed vlan 1,21-23,99
switchport mode trunk
channel-protocol lacp
channel-group 1 mode active
no shut
spanning-tree vlan 1,21-23,99 root primary

5 comments:

  1. Quisiera saber porque aplicas el comando spanning-tree allowed vlans 1,21-23 este comando no existe en spanning tree, o es error de tipeo ?, favor de corroborar e informar.

    Atte.
    Claudio Guzman

    ReplyDelete
  2. Why does it say SW B ---> the one at the left (not connected to router)
    The diagram has SWA as the one connected to the left

    ReplyDelete
  3. Why are both ends of the etherchannel passive?

    ReplyDelete
  4. Quisiera saber porque aplicas el comando spanning-tree allowed vlans 1,21-23 este comando no existe en spanning tree, watch online movies
    o es error de tipeo ?, favor de corroborar e informar.

    ReplyDelete