How can I disable a trunk interface on a CE switch from receiving packets from a VLAN

You can run the undo port trunk allow-pass vlan { { vlan-id1 [ to vlan-id2 ] } &<1-40> | all } command in the interface view to delete trunk interfaces from a VLAN. In this way, packets from the VLAN will be denied passage through trunk interfaces.
# Configure 10GE1/0/1 to reject packets from VLAN 1.
[~HUAWEI] interface 10ge 1/0/1
[~HUAWEI-10GE1/0/1] port link-type trunk
[*HUAWEI-10GE1/0/1] undo port trunk allow-pass vlan 1
[*HUAWEI-10GE1/0/1] commit

Scroll to top