nickname

Use nickname to configure the nickname for an RB.

Use undo nickname to restore the default.

Syntax

nickname nickname [ priority priority ]

undo nickname nickname

Defaults

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

Views

TRILL view

Predefined user roles

network-admin

mdc-admin

Parameters

nickname: Specifies the nickname for an RB. A nickname is a hexadecimal number in the range of 0x1 to 0xFFBF.

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

Usage guidelines

The nickname of an RB is the address of the RB in the TRILL network.

When multiple RBs in the TRILL network hold the same nickname, the RB with the highest priority uses the nickname.

When RBs 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 for the RB to hold the nickname to 198.

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