R211x-HP Flexfabric 11900 TRILL Command Reference

35
Usage guidelines
The link cost of a TRILL port can be automatically calculated by the system or manually configured:
When a link cost is manually configured, the manually configured link cost takes effect whether or
not automatic link cost calculation is enabled.
When a link cost is not manually configured and automatic link cost calculation is enabled, the
automatically calculated link cost takes effect.
When a link cost is not manually configured and automatic link cost calculation is not enabled, the
default link cost of 2000 is used.
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
# Set the link cost of TRILL port Ten-GigabitEthernet 1/0/1 to 20000.
<Sysname> system-view
[Sysname] interface ten-gigabitethernet 1/0/1
[Sysname-Ten-GigabitEthernet1/0/1] trill cost 20000
Related commands
auto-cost enable
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
Defaults
No designated VLAN is configured.
Views
Layer 2 Ethernet interface view, Layer 2 aggregate interface view
Predefined user roles
network-admin
mdc-admin
Parameters
vlan-id: Specifies a designated VLAN by its ID in the range of 1 to 4094.
Usage guidelines
The designated VLAN forwards TRILL frames except Hello frames between RBs. If no designated VLAN
is configured for the DRB of a link, the frames are exchanged through the lowest-numbered enabled
VLAN. If a designated VLAN is configured for the DRB of a link, the frames are exchanged through the
designated VLAN.