The port link-type command configures a link type on an Ethernet interface.
The undo port link-type command restores the default link type.
The default link type of an interface is hybrid.
Usage Scenario
Different types of interfaces can be used in different scenarios:
Precautions
The port link-type command cannot be configured on physical interfaces that are added to an Eth-Trunk.
A Layer 3 interface must be switched to a Layer 2 interface using the portswitch command. The link type of the Layer 2 interface is hybrid by default. You can run the port link-type command to modify its link type.