Assigning passwords

Complete the following steps to set passwords.

Note: Depending on the device you purchased, and the code (Layer 2 or Layer 3) loaded on your system, the router prompt is displayed accordingly. For example, for an ICX 7250-48P device running Layer 3 code on the device, the router prompt displays ICX 7250-48P Router> at the CLI level.
  1. At the opening CLI prompt, enter the following command to change to the Privileged EXEC mode:
    device> enable
  2. Access the configuration mode of the CLI by entering the following command:
    device# configure terminal
    
  3. Enter the following command to set the Super User password:
    device(config)# enable super-user-password joe
    Note: You must set the Super User password before you can set other types of passwords.
  4. Enter the following commands to set the port configuration and read-only passwords:
    device(config)# enable port-config-password john
    device(config)# enable read-only-password sam
    Note: If you forget your Super User password, refer to .

    Passwords can be up to 32 characters long.