Networking
Configure basic TRILL functions on RB1.
[~RB1] vlan batch 100
[*RB1] trill
[*RB1-trill] network-entity 00.0000.0000.1111.00
[*RB1-trill] ****name 100
[*RB1-trill] carrier-vlan 2
[*RB1-trill] ce-vlan 100
[*RB1-trill] quit
[*RB1] interface 10ge 1/0/1
[*RB1-10GE1/0/1] port link-type trunk
[*RB1-10GE1/0/1] trill enable
[*RB1-10GE1/0/1] commit
Configure basic TRILL functions on RB2.
[~RB2] vlan batch 100
[*RB2] trill
[*RB2-trill] network-entity 00.0000.0000.2222.00
[*RB2-trill] ****name 200
[*RB2-trill] carrier-vlan 2
[*RB2-trill] ce-vlan 100
[*RB2-trill] quit
[*RB2] interface 10ge 1/0/1
[*RB2-10GE1/0/1] port link-type trunk
[*RB2-10GE1/0/1] trill enable
[*RB2-10GE1/0/1] quit
[*RB2] commit
Configure basic TRILL functions on RB3.
[~RB3] trill
[*RB3-trill] network-entity 00.0000.0000.3333.00
[*RB3-trill] ****name 400
[*RB3-trill] carrier-vlan 2
[*RB3-trill] quit
[*RB3] interface 10ge 1/0/1
[*RB3-10GE1/0/1] port link-type trunk
[*RB3-10GE1/0/1] trill enable
[*RB3-10GE1/0/1] quit
[*RB3] interface 10ge 1/0/2
[*RB3-10GE1/0/2] port link-type trunk
[*RB3-10GE1/0/2] trill enable
[*RB3-10GE1/0/2] commit
Create an Eth-Trunk on RB1, configure the Eth-Trunk to work in LACP mode, and add member interfaces to the Eth-Trunk.
[~RB1] interface eth-trunk 10
[*RB1-Eth-Trunk10] mode lacp-dynamic
[*RB1-Eth-Trunk10] port link-type access
[*RB1-Eth-Trunk10] port default vlan 100
[*RB1-Eth-Trunk10] trunkport 10ge 1/0/2 to 1/0/3
[*RB1-Eth-Trunk10] quit
[*RB1] interface eth-trunk 1
[*RB1-Eth-Trunk1] mode lacp-static
[*RB1-Eth-Trunk1] trunkport 10ge 1/0/4 to 1/0/5
[*RB1-Eth-Trunk1] commit
[~RB1-Eth-Trunk1] quit
Configure RB1 and RB2 as root bridges and configure the same bridge ID.
[~RB1] stp root primary
[*RB1] stp bridge-address 39-39-39
[*RB1] interface eth-trunk 10
[*RB1-Eth-Trunk10] stp edged-port enable
[*RB1-Eth-Trunk10] commit
[~RB1-Eth-Trunk10] quit
[~RB2] stp root primary
[*RB2] stp bridge-address 39-39-39
[*RB2] interface eth-trunk 10
[*RB2-Eth-Trunk10] stp edged-port enable
[*RB2-Eth-Trunk10] commit
[~RB2-Eth-Trunk10] quit
Create an Eth-Trunk on RB2, configure the Eth-Trunk to work in LACP mode, and add member interfaces to the Eth-Trunk.
[~RB2] interface eth-trunk 10
[*RB2-Eth-Trunk10] mode lacp-dynamic
[*RB2-Eth-Trunk10] port link-type access
[*RB2-Eth-Trunk10] port default vlan 100
[*RB2-Eth-Trunk10] trunkport 10ge 1/0/2 to 1/0/3
[*RB2-Eth-Trunk10] quit
[*RB2] interface eth-trunk 1
[*RB2-Eth-Trunk1] mode lacp-static
[*RB2-Eth-Trunk1] trunkport 10ge 1/0/4 to 1/0/5
[*RB2-Eth-Trunk1] commit
[~RB2-Eth-Trunk1] quit
Configure M-LAG on RB1 and RB2.
[~RB1] dfs-group 1
[*RB1-dfs-group-1] source ****name 100
[*RB1-dfs-group-1] pseudo-****name 500
[*RB1-dfs-group-1] priority 150
[*RB1-dfs-group-1] commit
[~RB1-dfs-group-1] quit
[~RB2] dfs-group 1
[*RB2-dfs-group-1] source ****name 200
[*RB2-dfs-group-1] pseudo-****name 500
[*RB2-dfs-group-1] priority 120
[*RB2-dfs-group-1] commit
[~RB2-dfs-group-1] quit
Set the link between RB1 and RB2 to peer-link.
[~RB1] interface eth-trunk 1
[~RB1-Eth-Trunk1] undo stp enable
[*RB1-Eth-Trunk1] peer-link 1
[*RB1-Eth-Trunk1] port vlan exclude 2
[*RB1-Eth-Trunk1] commit
[~RB1-Eth-Trunk1] quit
[~RB2] interface eth-trunk 1
[~RB2-Eth-Trunk1] undo stp enable
[*RB2-Eth-Trunk1] peer-link 1
[*RB2-Eth-Trunk1] port vlan exclude 2
[*RB2-Eth-Trunk1] commit
[~RB2-Eth-Trunk1] quit
Bind DFS and user-side Eth-Trunk interfaces on RB1 and RB2 respectively.
[~RB1] interface eth-trunk 10
[~RB1-Eth-Trunk10] dfs-group 1 m-lag 1
[*RB1-Eth-Trunk10] lacp m-lag priority 10
[*RB1-Eth-Trunk10] lacp m-lag system-id 00e0-fc00-0000
[*RB1-Eth-Trunk10] commit
[~RB1-Eth-Trunk10] quit
[~RB2] interface eth-trunk 10
[~RB2-Eth-Trunk10] dfs-group 1 m-lag 1
[*RB2-Eth-Trunk10] lacp m-lag priority 10
[*RB2-Eth-Trunk10] lacp m-lag system-id 00e0-fc00-0000
[*RB2-Eth-Trunk10] commit
[~RB2-Eth-Trunk10] quit
Verify the configuration result and query the DFS Group pairing status.
[~RB1] display dfs-group 1
* : Local node
Heart beat state : OK
Node 1 *
Dfs-Group ID : 1
Priority : 150
Address : ****name 100
State : Master
Causation : -
System ID : 0025-9e95-7c31
SysName : RB1
Version : V100R005C00
Device Type : CE12800
Node 2
Dfs-Group ID : 1
Priority : 120
Address : ****name 200
State : Backup
Causation : -
System ID : 0025-9e95-7c11
SysName : RB2
Version : V100R005C00
Device Type : CE12800
Verify the configuration and query the M-LAG port pairing status.
[~RB1] display dfs-group 1 node 1 m-lag brief
* - Local node
M-Lag ID Interface Port State Status
1 Eth-Trunk 10 Up active(*)-active