Comware

 View Only
Expand all | Collapse all

STP for LACP Trunks at Core1, Core2 (VRRP enabled) and Edge Switches

This thread has been viewed 0 times
  • 1.  STP for LACP Trunks at Core1, Core2 (VRRP enabled) and Edge Switches

    Posted Sep 16, 2007 10:58 AM
    I am using Hp5412zl Switches at core1,core2 and Edge. Core1 switch is connected with Core2 through LACP Trunk15 and provide VRRP feature to the network. Edge switch has redundant LACP Trunks to core1 and core2 through Trunk5 and Trunk25 respectively.

    As i made the trunks, it automaticlly assinged Priority4 for all the Trunks at COre and Edge switches. Is this priority4 is correct?? or we have to make priority changes according to over wish.....

    Lets say i want all the traffic from Edge has to flow via core1(trunk 5) and If core1 fails let it go via core2(trunk 25).

    Communication between Core1 to Core2 has to be through Trunk15.

    Pls suggest......see the configuration of core1,core2 and edge.

    CORE1
    ----------
    hostname "PremiumCore01"
    max-vlans 600
    module 1 type J8702A
    module 2 type J8702A
    module 3 type J8706A
    trunk C3-C4 Trk2 LACP
    trunk C1-C2 Trk1 LACP
    trunk A19-A20 Trk15 LACP
    trunk C5-C6 Trk3 LACP
    trunk C7-C8 Trk4 LACP
    trunk C9-C10 Trk5 LACP
    ip routing
    snmp-server community "public" Unrestricted
    vlan 1
    name "DEFAULT_VLAN"
    untagged A1-A18,Trk1-Trk5,Trk15
    ip address 10.1.0.11 255.255.0.0
    tagged C11-C24
    no untagged A21-A24,B1-B24
    exit
    vlan 2
    name "voice"
    untagged B1-B4
    ip address 10.2.0.1 255.255.0.0
    tagged C11-C24
    exit
    vlan 3
    name "cctv"
    untagged B5-B8
    ip address 10.3.0.1 255.255.0.0
    tagged C11-C24
    ip igmp high-priority-forward
    exit
    vlan 4
    name "video"
    untagged B9-B12
    ip address 10.4.0.1 255.255.0.0
    tagged C11-C24
    ip igmp high-priority-forward
    exit
    vlan 5
    name "ac"
    untagged B13-B16
    ip address 10.5.0.1 255.255.0.0
    tagged C11-C24
    exit
    vlan 6
    name "hlan"
    untagged B17-B20
    ip address 10.6.0.1 255.255.0.0
    tagged C11-C24
    exit
    vlan 7
    name "bms"
    untagged B21-B24
    ip address 10.7.0.1 255.255.0.0
    tagged C11-C24
    exit
    vlan 8
    name "pos"
    untagged A21-A24
    ip address 10.8.0.1 255.255.0.0
    tagged C11-C24
    exit
    ip multicast-routing
    router pim
    exit
    router vrrp
    spanning-tree
    spanning-tree Trk1 priority 4
    spanning-tree Trk2 priority 4
    spanning-tree Trk3 priority 4
    spanning-tree Trk4 priority 4
    spanning-tree Trk5 priority 4
    spanning-tree Trk15 priority 4
    spanning-tree priority 1 force-version RSTP-operation
    vlan 1
    vrrp vrid 1
    owner
    virtual-ip-address 10.1.0.11 255.255.0.0
    priority 255
    enable
    exit
    exit
    vlan 2
    vrrp vrid 2
    owner
    virtual-ip-address 10.2.0.1 255.255.0.0
    priority 255
    enable
    exit
    exit
    vlan 3
    vrrp vrid 3
    owner
    virtual-ip-address 10.3.0.1 255.255.0.0
    priority 255
    enable
    exit
    exit
    vlan 4
    vrrp vrid 4
    owner
    virtual-ip-address 10.4.0.1 255.255.0.0
    priority 255
    enable
    exit
    exit
    vlan 5
    vrrp vrid 5
    owner
    virtual-ip-address 10.5.0.1 255.255.0.0
    priority 255
    enable
    exit
    exit
    vlan 6
    vrrp vrid 6
    owner
    virtual-ip-address 10.6.0.1 255.255.0.0
    priority 255
    enable
    exit
    exit
    vlan 7
    vrrp vrid 7
    owner
    virtual-ip-address 10.7.0.1 255.255.0.0
    priority 255
    enable
    exit
    exit
    vlan 8
    vrrp vrid 8
    owner
    virtual-ip-address 10.8.0.1 255.255.0.0
    priority 255
    enable
    exit
    exit


    -----------------------------------------------
    CORE 2
    -----------------------------------------------
    hostname "PremiumCore02"
    max-vlans 600
    module 1 type J8702A
    module 2 type J8702A
    module 3 type J8706A
    module 4 type J8702A
    module 5 type J8702A
    module 6 type J8702A
    module 7 type J8702A
    module 8 type J8702A
    module 9 type J8702A
    module 10 type J8702A
    module 11 type J8702A
    module 12 type J8702A
    trunk A19-A20 Trk15 LACP
    trunk C1-C2 Trk21 LACP
    trunk C3-C4 Trk22 LACP
    trunk C5-C6 Trk23 LACP
    trunk C7-C8 Trk24 LACP
    trunk C9-C10 Trk25 LACP
    ip routing
    snmp-server community "public" Unrestricted
    vlan 1
    name "DEFAULT_VLAN"
    untagged A1-A18,C11-C24,D1-D24,E1-E24,F1-F24,G1-G24,H1-H24,I1-I24,J1-J24,K1-K24,L1-L24,Trk15,Trk21-Trk25
    ip address 10.1.0.12 255.255.0.0
    no untagged A21-A24,B1-B24
    exit
    vlan 2
    name "voice"
    untagged B1-B4
    ip address 10.2.0.2 255.255.0.0
    exit
    vlan 3
    name "cctv"
    untagged B5-B8
    ip address 10.3.0.2 255.255.0.0
    ip igmp high-priority-forward
    exit
    vlan 4
    name "video"
    untagged B9-B12
    ip address 10.4.0.2 255.255.0.0
    ip igmp high-priority-forward
    exit
    vlan 5
    name "ac"
    untagged B13-B16
    ip address 10.5.0.2 255.255.0.0
    exit
    vlan 6
    name "hlan"
    untagged B17-B20
    ip address 10.6.0.2 255.255.0.0
    exit
    vlan 7
    name "bms"
    untagged B21-B24
    ip address 10.7.0.2 255.255.0.0
    exit
    vlan 8
    name "pos"
    untagged A21-A24
    ip address 10.8.0.2 255.255.0.0
    exit
    ip multicast-routing
    router pim
    exit
    router vrrp
    spanning-tree
    spanning-tree Trk15 priority 4
    spanning-tree Trk21 priority 4
    spanning-tree Trk22 priority 4
    spanning-tree Trk23 priority 4
    spanning-tree Trk24 priority 4
    spanning-tree Trk25 priority 4
    spanning-tree priority 6 force-version RSTP-operation
    vlan 1
    vrrp vrid 1
    backup
    virtual-ip-address 10.1.0.11 255.255.0.0
    enable
    exit
    exit
    vlan 2
    vrrp vrid 2
    backup
    virtual-ip-address 10.2.0.1 255.255.0.0
    enable
    exit
    exit
    vlan 3
    vrrp vrid 3
    backup
    virtual-ip-address 10.3.0.1 255.255.0.0
    enable
    exit
    exit
    vlan 4
    vrrp vrid 4
    backup
    virtual-ip-address 10.4.0.1 255.255.0.0
    enable
    exit
    exit
    vlan 5
    vrrp vrid 5
    backup
    virtual-ip-address 10.5.0.1 255.255.0.0
    enable
    exit
    exit
    vlan 6
    vrrp vrid 6
    backup
    virtual-ip-address 10.6.0.1 255.255.0.0
    enable
    exit
    exit
    vlan 7
    vrrp vrid 7
    backup
    virtual-ip-address 10.7.0.1 255.255.0.0
    enable
    exit
    exit
    vlan 8
    vrrp vrid 8
    backup
    virtual-ip-address 10.8.0.1 255.255.0.0
    enable
    exit
    exit
    -----------------------------------------------
    EDGE SWITCH
    -----------------------------------------------
    hostname "FS-13"
    module 1 type J8702A
    module 2 type J8702A
    module 3 type J8702A
    module 4 type J8702A
    module 5 type J8702A
    module 6 type J8702A
    module 7 type J8702A
    module 8 type J8705A
    trunk H21-H22 Trk5 LACP
    trunk H23-H24 Trk25 LACP
    ip routing
    snmp-server community "public" Unrestricted
    vlan 1
    name "DEFAULT_VLAN"
    untagged A1-A12,H10-H20,Trk5,Trk25
    ip address 10.1.0.33 255.255.0.0
    no untagged A13-A24,B1-B24,C1-C24,D1-D24,E1-E24,F1-F24,G1-G24,H1-H9
    exit
    vlan 2
    name "voice"
    untagged A13-A24,B1-B24,C1-C24,D1-D24,E1-E24,F1-F15
    no ip address
    exit
    vlan 3
    name "cctv"
    untagged F16-F18
    no ip address
    exit
    vlan 4
    name "video"
    untagged F19-F24,G1-G24,H1-H8
    no ip address
    exit
    vlan 5
    name "ac"
    untagged H9
    no ip address
    exit
    spanning-tree
    spanning-tree Trk5 priority 4
    spanning-tree Trk25 priority 4
    spanning-tree force-version RSTP-operation



  • 2.  RE: STP for LACP Trunks at Core1, Core2 (VRRP enabled) and Edge Switches

    Posted Sep 17, 2007 07:45 PM
    Hi

    When you create a trunk, by default it comes to priority 4.

    And for your scenario i have a comment and a Suggestion:

    Comment:- Without changing the Priority of any trunk, if you want all the traffic to come to Core1, then Core1 should be the ROOT of your spanning tree.

    And i think in the current situation, Core1 is the Root and Core2 is backup because you assigned priority 1 to Core1, and priority 6 to Core2.

    (I would prefer to use Priority0 for Core1, and Priority1 for Core2)

    Suggestion:- For more efficiency and load balancing in your network you can use the MSTP, and load balance all the traffic on both Trunks connecting from the Edge to both Cores based on the Vlans.

    So you don't have one Active Trunk and the other is redundant, with MSTP both will be Active.

    Good Luck !!!