name

Use the name command to change the name of a role. The name command is accessible from within the the role:<named-role> context.

name new-name

Parameters

new-name Specifies the new name for this <named-role>.

Usage

You must enter the apply command before exiting the role:<named-role> context for the role name change to take affect. The CLI prompt will not change until you exit and re-enter the role:<named-role> context.

Examples

The following example:

  • Renames the role p1 to role1
  • Applies the change
  • Displays the role1 configuration
  • Exits role:<named-role> context
  • Re-enters the role:<named-role> context as role1
    EWC.extremenetworks.com:role# p1
    EWC.extremenetworks.com:role:p1# name role1
    EWC.extremenetworks.com:role:p1# apply
    EWC.extremenetworks.com:role:p1# show
    Assigned topology: no change
    Ingress rate profile: no change
    Egress rate profile: no change
    Do not change filter settings when this Role is applied: disable
    Enable AP filtering: disable
    Name: role1
    Synchronize: disable
    EWC.extremenetworks.com:role:p1# exit
    EWC.extremenetworks.com:role# role1
    EWC.extremenetworks.com:role:role1#