Professional Documents
Culture Documents
Network Redundancy
ITP4111
Open Standards Networking
Distribution Layer
Server
Access Layer
© VTC 2013 ILO 3 3
Usage and configuration of
link aggregation with LACP
PC
PCA
[SWA]interface bridge-aggregation 1
[SWA-Bridge-Aggregation1]link-aggregation mode
dynamic
[SWA-Ethernet1/0/1] port link-aggregation group 1
E1/0/1 E1/0/3 [SWA-Ethernet1/0/2] port link-aggregation group 1
E1/0/2 [SWA-Ethernet1/0/3] port link-aggregation group 1
E1/0/2
E1/0/1 E1/0/3
[SWB]interface bridge-aggregation 1
[SWB-Bridge-Aggregation1]link-aggregation mode dynamic
[SWB-Ethernet1/0/1] port link-aggregation group 1
[SWB-Ethernet1/0/2] port link-aggregation group 1
[SWB-Ethernet1/0/3] port link-aggregation group 1
© VTC 2013 ILO 3 8
Displaying & Maintaining Link Aggregation
<Switch>display link-aggregation summary
----------------------------------------------------------------------
BAGG1 S none 3 0 Shar
BPDU BPDU
BPDU
SWB SWC
SWB SWC
DP DP
Cost=10 Cost=20
RP RP
Cost=30
DP AP
© VTC 2013 ILO 3 14
SWB SWC
Root Path Cost
• For a non-root bridge/switch, root path cost is the sum of all port path
costs on the least cost path to the root bridge/switch.
• On a non-root bridge/switch, the port with the lowest path cost is
elected as the root port.
• On a physical segment, the bridge/switch with the least root path cost is
elected as the designated bridge/switch.
SWA
Root
1000M 100M
Cost=10 Cost=20
1000M 100M
Cost=30
10M 10M
© VTC 2013 ILO 3 15
SWB SWC
Root Path Cost
Link Speed 802.1D (1998) 802.1t H3C proprietary
standard
10 Mbps 100 2,000,000 200,000
10 Gbps 2 2,000 2
• If multiple ports are found with the least root path cost, the one connected to
the upstream bridge/switch with the lowest bridge ID is elected as the root
port.
• If multiple bridges/switches are connected to a physical segment with the least
root path cost, the one with the lowest bridge ID is elected as the designated
bridge/switch for the physical segment. The port connecting the designated
bridge/switch to the physical segment is assigned
SWA the role of designated port.
Root
DP DP
Cost=10 Cost=10
RP RP
DP AP
SWB SWC
DP DP
Cost=10 Cost=10
RP AP
© VTC 2013 ILO 3 17
SWD
Port ID as a Tie Breaker for Port Role Assignment
Given the same root path cost and the same upstream bridge/switch,
the port connected to the upstream port that has the lowest port ID
wins out during root port election.
SWA
BridgeID: 0.0000-0000-0001
Root
G0/1 G0/2
Cost=10 Cost=10
RP AP
SWB
© VTC 2013 ILO 3 18
RSTP
SWA Server
Traffic of all
VLANs is
blocked here
VLAN 10 VLAN 20
© VTC 2013 ILO 3 20
Multiple Spanning Tree Protocol (MSTP)
• The Multiple Spanning Tree Protocol (MSTP) maps one or more VLANs
to an instance and each instance maintains an independent spanning
tree.
• Multiple trunk links can load share traffic by VLAN
SWA Server
Instance A: VLAN1~10
Instance B: VLAN11~20
Forwarding Delay
Learning Learning
Forwarding Forwarding
STP RSTP/MSTP
© VTC 2013 ILO 3 23
Spanning Tree Configuration
Core
Example
SWA SWB
[SWA]stp enable [SWB]stp enable
[SWA]stp priority 0 [SWB]stp priority 4096
End User
Port role
© VTC 2013
Instance ID ILO 3 Port state 25
Default H3C MSTP
Region-configuration
Enable the primary root bridge for “instance 1” and backup root bridge for “instance
2” respectively
[CoreA]stp instance 1 root primary
[CoreA]stp instance 2 root secondary
[CoreA]stp enable
IP nets
10.0.0.1
IP nets
Virtual Router
10.0.0.2 10.0.0.1 10.0.0.3
– Note that you can set different authentication modes and authentication keys for
different VRRP groups on an interface. You need to set the same authentication
mode and authentication key for the members of a VRRP group.
IP nets
Switch_A Switch_B
10.0.0.2 10.0.0.3
• Configure two VRRP groups, the virtual router IDs to be 1 and 2, virtual
gateways to be 10.0.0.1 and 10.0.0.4. In normal situation, Switch_A to
be the Master of Group 1, Switch_B to be the Master of Group 2. Some
hosts will use 10.0.0.1 as their default gateway, others use 10.0.0.4 as
their default gateway.
• Switch_A :
– [Switch_A-vlan-interface2] vrrp vrid 1 virtual-ip 10.0.0.1
– [Switch_A-vlan-interface2] vrrp vrid 1 priority 120
– [Switch_A-vlan-interface2] vrrp vrid 2 virtual-ip 10.0.0.4
• Switch_B :
– [Switch_B-vlan-interface2] vrrp vrid 1 virtual-ip 10.0.0.1
– [Switch_B-vlan-interface2] vrrp vrid 2 virtual-ip 10.0.0.4
– [Switch_B-vlan-interface2] vrrp vrid 2 priority 120
• Switch A :
– [Switch_A-vlan-interface2] vrrp vrid 1 virtual-ip 10.0.0.1
– [Switch_A-vlan-interface2] vrrp vrid 1 priority 120
– [Switch_A-vlan-interface2] vrrp vrid 1 authentication-mode md5 switch
– [Switch_A-vlan-interface2] vrrp vrid 1 track vlan-interface 3 reduced 30
• Switch B :
– [Switch_B-vlan-interface2] vrrp vrid 1 virtual-ip 10.0.0.1
– [Switch_B-vlan-interface2] vrrp vrid 1 priority 100
– [Switch_B-vlan-interface2] vrrp vrid 1 authentication-mode md5 switch
Access
802.3ad LACP
802.3ad LACP
Core/Distribution
IRF enabled switches
802.3ad LACP
Server
Cluster
Benefits of Using
Stackable Switches