trill designated-vlan

Use trill designated-vlan to configure a designated VLAN.

Use undo trill designated-vlan to restore the default.

Syntax

trill designated-vlan vlan-id

undo trill designated-vlan

Default

No designated VLAN is configured. The system automatically selects an enabled VLAN as the designated VLAN.

Views

Layer 2 Ethernet interface view

Layer 2 aggregate interface view

Predefined user roles

network-admin

mdc-admin

Parameters

vlan-id: Specifies a VLAN ID in the range of 1 to 4094.

Usage guidelines

RBs send Hello frames in a set of VLANs. The VLAN set is calculated as follows:

RBs use the designated VLAN to forward TRILL protocol frames (except Hello frames) and local data frames. For RBs to establish adjacencies and forward TRILL data frames, make sure the designated VLAN is an enabled VLAN.

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 VLAN 2 to the designated VLAN.

<Sysname> system-view
[Sysname] interface 
[Sysname-] trill designated-vlan 2

Related commands

trill announcing-vlan