ect
Use ect to map an ECT algorithm to a list of B-VLANs.
Use undo ect to remove ECT algorithm and B-VLAN mappings.
Syntax
ect ect-index b-vlan vlan-id-list
undo ect ect-index b-vlan [ vlan-id-list ]
Default
All B-VLANs are mapped to ECT 1.
Views
SPBM view
Predefined user roles
network-admin
Parameters
ect-index: Specifies an ECT algorithm index in the range of 1 to 16.
vlan-id-list: Specifies a space-separated list of up to 10 B-VLAN items. Each item specifies a B-VLAN ID or a range of B-VLAN IDs in the form of vlan-id1 to vlan-id2. The value range for B-VLAN IDs is 1 to 4094. The ID for vlan-id2 must be equal to or greater than the ID for vlan-id1.
Usage guidelines
An ECT algorithm represents a set of tie-breakers for calculating SPTs. For more information about the ECT algorithms, see IEEE 802.1aq SPB.
To improve link efficiency in an SPBM network, you can distribute traffic of B-VLANs along different paths by mapping B-VLANs to different ECT algorithms.
To ensure correct SPT calculation for a B-VLAN, the B-VLAN to ECT algorithm mappings must be the same across the SPBM network for B-VLANs that are in use. If two neighbors map a B-VLAN to different ECT algorithms, the link between them cannot transmit data traffic for the B-VLAN.
Examples
# Map B-VLAN 100 through B-VLAN 200 to ECT 2.
<Sysname> system-view [Sysname] spbm [Sysname-spbm] ect 2 b-vlan 100 to 200
# Remove all B-VLAN mappings for ECT 2.
<Sysname> system-view [Sysname] spbm [Sysname-spbm] undo ect 2 b-vlan