Logo Wael's Digital Garden

Arista - Create a new user

Arista - Create a new user#

Problem#

I need to add a new user to Arista

Solution#

Starting with a fresh shell logged in as admin.

Template#

localhost>enable
localhost#config
localhost(config)#username <user> privilege <privilege> role <role> [nopassword | secret <password>]
localhost(config)#write memory

Examples#

Example with a password#

localhost>enable
localhost#config
localhost(config)#username <user> privilege 15 role network-admin secret <password>
localhost(config)#write memory

Example without a password#

localhost>enable
localhost#config
localhost(config)#username <user> privilege 15 role network-admin nopassword
localhost(config)#write memory

Related#