nickname

Use nickname to configure the nickname for the RB.

Use undo nickname to restore the default.

Syntax

nickname nickname [ priority priority ]

undo nickname nickname

Default

The system automatically assigns nicknames to RBs. The priority is 64 for an RB to hold a nickname.

Views

TRILL view

Predefined user roles

network-admin

mdc-admin

Parameters

nickname: Specifies an RB by its nickname, a hexadecimal number in the range of 1 to ffbf.

priority priority: Specifies a priority for the RB to hold the nickname. The value range for the priority argument is 129 to 255, and the default value is 192.

Usage guidelines

A nickname is an RB's address in the TRILL network.

In the TRILL network, when multiple RBs hold the same nickname, the RB with the highest priority uses the nickname.

When the RBs also have the same priority, the RB with the highest system ID uses the nickname. The system automatically assigns new nicknames to the other RBs.

Examples

# Set the nickname to 0x0001 for the RB, and set the priority to 198 for the RB to hold the nickname.

<Sysname> system-view
[Sysname] trill
[Sysname-trill] nickname 0001 priority 198