Determining RBridge Nickname

The RBridge nickname is used to forward packets along the data path. Thus, every RBridge in the network must have a unique nickname. The nickname can be configured but is not required to be specified. The intent is to minimize required configuration, so RBridges must support being able to generate their own nickname. The recommended process is for each RBridge to randomly select a nickname, but the selection algorithm is a vendor implementation choice.

Once an RBridge selects a nickname, the RBridge must verify that the chosen nickname is not already in-use. The RBridge accomplishes this by comparing its chosen nickname against the known neighboring RBridges and with nicknames shared and maintained in the Link State DB. If the nickname is a duplicate, the RBridge with lower priority nickname must choose another nickname. Configured nicknames have higher priority than dynamically chosen nicknames. If duplicate nicknames are both configured or both dynamically chosen, the nickname associated with the RBridge with highest priority TRILL-ID is used (based on the most significant bit).