trill link-type

Use trill link-type to configure the link type of a TRILL port.

Use undo trill link-type to restore the default.

Syntax

trill link-type { access [ alone ] | hybrid | trunk }

undo trill link-type

Default

The link type of a TRILL port is access without the alone attribute.

Views

Layer 2 Ethernet interface view

Layer 2 aggregate interface view

Predefined user roles

network-admin

mdc-admin

Parameters

access [ alone ] : Configures the link type as access. When the alone keyword is not specified, the port is configured as an access port without the alone attribute. The port can process only local data frames and Hello frames. When the alone keyword is specified, the port is configured as an access port with the alone attribute. The port does not send or receive Hello frames and does not participate in DRB election or AVF negotiation.

hybrid: Configures the link type as hybrid. A hybrid port combines the attributes of an access port and a trunk port. It can process local data frames and passing data frames.

trunk: Configures the link type as trunk. A trunk port can process passing data frames and some Layer 2 protocol packets (for example, LLDP packets). It cannot process local data frames.

Usage guidelines

Configuration in Layer 2 Ethernet interface view takes effect only on the current port. Configuration in Layer 2 aggregate interface view takes effect on the current interface and its member ports. Configuration on the member port of an aggregate interface takes effect after the member port leaves the aggregation group.

Examples

# Set the link type to trunk for TRILL port .

<Sysname> system-view
[Sysname] interface 
[Sysname-] trill link-type trunk