Some HP L3 Switches Comware based, brings the concept of “switchports” as Bridge and Route mode.

The Bridge mode (port link-mode bridge) works the same way that any other access Switches.

When using Route mode (port link-mode route) the port is converted into a layer 3 interface, which need an IP address.  All STP messages will be ignored.


interface GigabitEthernet4/0/1
port link-mode route
ip address
interface GigabitEthernet4/0/2
port link-mode bridge
port link-type access
port access vlan 2