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, and 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, and the port does not send or receive Hello frames and does not participate in the 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, and 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 of Layer 2 protocol packets (for example, LLDP packets), and it cannot process local data frames.

Usage guidelines

Configuration in Layer 2 Ethernet interface view takes effect on only 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

# Configure the link type of TRILL port Ten-GigabitEthernet 1/0/1 as trunk.

<Sysname> system-view
[Sysname] interface ten-gigabitethernet 1/0/1
[Sysname-Ten-GigabitEthernet1/0/1] trill link-type trunk