Configuring the DRB priority of a TRILL port
On a broadcast network, TRILL must elect a DRB. An RB with a higher DRB priority is preferred. When two
RBs have the same DRB priority, the RB with a higher MAC address takes precedence.
To configure the DRB priority of a TRILL port:
Step
1.
Enter system view.
2.
Enter Layer 2 Ethernet or
aggregate interface
view.
3.
Configure the DRB
priority of a TRILL port.
Setting the link cost for a TRILL port
The link cost of a TRILL port can be automatically calculated by the system or manually set:
•
A manually set link cost takes precedence over a calculated link cost.
If no link cost is set and automatic link cost calculation is enabled, the calculated link cost takes
•
effect.
If no link cost is set and automatic link cost calculation is disabled, the default link cost 2000 is
•
used.
The system automatically calculates the link cost of a TRILL port by using the following formula: link cost
= 20000000000000/interface baud rate.
To set the link cost for a TRILL port:
Step
1.
Enter system view.
2.
Enter TRILL view.
3.
Enable automatic link cost
calculation for TRILL ports.
4.
Return to system view.
5.
Enter Layer 2 Ethernet
interface view or Layer 2
aggregate interface view.
6.
Configure the link cost for a
TRILL port.
Command
system-view
interface interface-type
interface-number
trill drb-priority priority
Command
system-view
trill
auto-cost enable
quit
interface interface-type
interface-number
trill cost value
9
Remarks
N/A
N/A
By default, the DRB priority of a TRILL port is
64.
Remarks
N/A
N/A
By default, automatic link cost
calculation is enabled for TRILL
ports.
N/A
N/A
The default setting is 2000.