Configuring The Drb Priority Of A Trill Port; Setting The Link Cost For A Trill Port - H3C S12500-X Series Configuration Manual

Hide thumbs Also See for S12500-X Series:
Table of Contents

Advertisement

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 in
DRB election. 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
Enter system view.
1.
Enter Layer 2 Ethernet
2.
or aggregate interface
view.
Configure the DRB
3.
priority of the TRILL
port.

Setting the link cost for a TRILL port

The link cost for 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 of 2000
is used.
If you manually set the link cost for a TRILL port, make sure its peer TRILL port uses the same link
cost.
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
Enter system view.
1.
Enter TRILL view.
2.
Enable automatic link cost
3.
calculation for TRILL ports.
Return to system view.
4.
Enter Layer 2 Ethernet
5.
interface view or Layer 2
aggregate interface view.
Set the link cost for the TRILL
6.
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 cost-value
12
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.

Advertisement

Table of Contents
loading

This manual is also suitable for:

S12500x-af series

Table of Contents