Setting Switch Module Parameters on a Switch Board (eFabric Port)
1. Log in to the active SMM as the root user.
2. Use the default VLAN 1 in the VCM system. You do not need to configure other VLANs.
3. Perform trunk-related operations.
a. Run the fabricget port-info command to query the ports information.


b. Configure service ports into trunks.
l Create a trunk.
For example, to create trunk 1, run the fabriccreate trunk 1 command.
# fabriccreate trunk 1
Create trunk successfully!
l Add service ports on a switch board to trunk 1.
For example, to add service ports 0/1/0 and 0/1/1 in slot 1 to trunk 1, run the fabricadd port trunk 1 0/1/0 0/1/8 command.
# fabricadd port trunk 1 0/1/0 0/1/8
Add port 0/1/0 to trunk successfully!
Add port 0/1/8 to trunk successfully!
l Retain the default load balancing mode of the trunk.
l Repeat steps Step 3.2.a through Step 3.2.c to add service ports in other slots to trunks.
The following table lists the commands that can be executed to create trunks for corresponding service slots.

c. Configure eFabric ports into trunks.
Based on hardware connections, configure the specified ports into trunks. For example, to connect the multi-mode optical fiber 1A1B in slot 2 and the multi-mode optical fiber 1A1B in slot 5 to the switch, you need to configure these two ports into a trunk.
l Create a trunk.
For example, to create trunk 2, run the fabriccreate trunk 2 command.
l Add ports 1/2/2 and 1/5/2 to trunk 2.
Run the fabricadd port trunk 2 1/2/2 1/5/2 command.
# fabricadd port trunk 2 1/2/2 1/5/2
Add port 1/2/2 to trunk successfully!
Add port 1/5/2 to trunk successfully!
l Set the trunk work mode.
When the port on the switch board connects to the port on the switch, you need to set the trunk mode of the port on the switch board to the same as that of the switch port. Otherwise, the network is unreachable. For example, to set Trunk 7 work mode to manual mod·e, run fabricset trunk work-mode 2 manual command. To set Trunk 7 work mode to the static LACP mode, run the fabricset trunk work-mode 2 lacp-static.
After the setting, you can run the fabricget trunk 2 command to view the setting result. The work mode parameter indicates the Trunk work mode.


