C H A P T E R  10

Feedback System Commands

System features comprise the system commands that manage access permissions, mode access, and terminal configurations on SEFOS.


10.1 Commands

The list of CLI commands for the configuration of system commands is as follows:

10.1.1 help

Displays help for a particular command.


help [command]


Syntax Description

command - The privileged command.

Mode

All

Notes

  • ? can be used as an alternative for the word help. When help or ? is typed in the specific mode, all commands present in that mode and all general commands are listed.
  • When a keyword is typed, all possible commands that start with that keyword are displayed.

10.1.2 clear screen

Clears the screen.


clear screen


Mode

All


10.1.3 enable

This command is not supported.

Turns on privileged commands.


enable [Enable Level 0-15]


Syntax Description

Enable Level - Level to enter the system.

Mode

User EXEC

Notes

  • Level 0 is the most restricted level. User created with level 0 has access only to the following commands:

disable

enable

exit

help

logout

  • Level 1 includes all user-level commands at the SEFOS> prompt.
  • Level 15 is the least restricted level and included all commands.
  • It is possible to configure additional access levels (from level 2 to 14) to meet the needs of the users while protecting the system from unauthorized access.
  • After a user logs in with a username that has privileges, the full set of CLI commands, including those in User mode can be accessed.
  • Default privileged level is assigned by the user.

Related Commands

10.1.4 disable

This command is not supported.

Turns off privileged commands.


disable [privilegelevel_0-15]


Mode

User EXEC

Notes

In user mode, you can monitor and display SEFOS parameters, but not change them.


Related Commands

10.1.5 configure terminal

Enters the configuration mode.


configure terminal


Mode

Privileged EXEC Mode

Example

SEFOS# configure terminal


Related Commands

10.1.6 configure

Enters the configuration mode. This command operates similar to that of the command configure terminal.


configure


Mode

Privileged EXEC

Example

SEFOS# configure


Related Commands

10.1.7 run script

Executes CLI commands from the specified script file.


run script [flash: | slot0: | volatile:] script-file [output-file]


Syntax Description

flash: | slot0: | volatile: - Source of the script file.

  • flash - The script file is read from the flash memory.
  • slot0 - The script file is read from the PCMCIA card or compactflash memory.
  • volatile - The script file is read from the volatile memory.

The keywords flash:, slot0:, and volatile: are not supported.

script-file - The script file to be executed.

output-file - The output file.

Mode

Privileged EXEC

Example

SEFOS# run script /conf/sefos/enable.nem

Notes

Use directory /conf/sefos to store script files downloaded to the switch.


10.1.8 listuser

Lists all valid users, along with their permissible mode.


listuser


Mode

Privileged EXEC

Example

SEFOS# listuser


Related Commands

show users - Displays information about terminal lines

10.1.9 lock

Locks the CLI console. This command allows the user or system administrator to lock the console to prevent unauthorized users from gaining access to the CLI command shell.


lock


Mode

Privileged EXEC

Notes

If you run the lock command, you must break the connection with SEFOS to unlock the console. The method you use to release the console lock varies depending on the way you are connected to SEFOS. Refer to the Product Notes that came with your system for more information.


10.1.10 username

This command is not supported.

Creates a user and sets the enable password for that user with the privilege level. The no form of the command deletes a user and disables the enable password for that user.


username user-name [password [ 0 | 7 | LINE ] passwd] [privilege 1-15]


no username user-name


Syntax Description

user-name - User ID to be used to login to the system.

password - Password to be entered by the user to login to the system, and password encryption to be used. The password encryption options are:

  • 0 - Uses the unencrypted password.
  • 7 - Uses the hidden password.
  • LINE - Uses the Line password.

Password encryption is not supported.

privilege - Privilege level to be given to the user using the created user ID.

Mode

Global Configuration

Example

SEFOS(config)# username products password prod123 privilege 15

The user products is created with the privilege level 15. Hence, the user will be visible to view all the commands.

 

SEFOS(config)# username support password supp123 privilege 1

The user support is created with the privilege level 1. Hence, the user will be visible to view only the below commands:

Show - Show commands related to all the features.

Enable - Enables the privilege level.

Disable - Disables the privilege level.

Exit

Logout

Clear

Debug

No Debug


Related Commands

enable password - Modifies enable password parameters

10.1.11 enable password

This command is not supported.

Modifies enable password parameters and the no form of the command disables enable password parameters.


enable password [level 1-15] LINE-enable-password


no enable password [level 1-15]


Syntax Description

level - Privilege level.

LINE enable password - The password encryption options are:

  • 0 - Uses the unencrypted password.
  • 7 - Uses the hidden password.
  • LINE - Uses the Line password.

Password encryption is not supported.

Mode

Global Configuration

Example

SEFOS(config)# enable password level 15 LINE

Notes

  • Sets the password for a particular privilege level.
  • When this command is configured, the SEFOS switch prompts for the password whenever you want to move from lower privilege level to higher privilege level using the enable option.

Related Commands

username - Creates a user and sets the enable password for that user with the privilege level

10.1.12 line

This command is not supported.

Configures a console or virtual terminal line.


line {console | vty | line-number0-16} [ending-line-number_3-16]


Syntax Description

console - Console.

vty - Virtual terminal line.

line-number_3-16 - ID of a specific telnet session or initial telnet session in a configured series of telnet sessions.

ending-line-number_3-16 - ID of the last telnet session in a configured series of telnet sessions.

Mode

Global Configuration

Example

SEFOS(config)# line console

Notes

The only line supported for this command is console.


Related Commands

10.1.13 alias - replacement-string

Replaces the given token by the given string. The no form of the command removes the alias created for the given string.


alias replacement-string token-to-be-replaced


no alias alias


Syntax Description

replacement-string - Replacement string.

token-to-be-replaced - Abbreviated or short form of the replacement string.

Mode

Global Configuration

Example

SEFOS(config)# alias sp spanning-tree

Notes

The purpose of such a replacement string is that commands can be executed using the abbreviated or short form.


Related Commands

show aliases - Displays the aliases

10.1.14 alias - interface | exec | configure

Replaces the given token or command with the given string. Operates similar to that of the command alias - replacement-string, except that it allows you to type a command with multiple tokens without quotes.


alias {interface | exec | configure} alias-name {command 1-10 | token}


Syntax Description

interface - Commands executed in Interface Configuration mode.

exec - Commands executed in Privileged EXEC or User EXEC mode.

configure - Commands executed in Configuration mode (That is, global, line, profile, vlan, switch, and protocol specific configuration modes).

alias-name - Alternate name to be used for the command or token.

command - Command and token values for which alias name should be configured (maximum of 10 tokens).

token - Token for which alias name should be configured.

Mode

Global Configuration

Example

SEFOS(config)# alias interface up no shutdown

Alias: configuration of mode is not supported

SEFOS(config)# interface ex 0/1

SEFOS(config-if)# up

SEFOS(config-if)# end

Notes

  • Ignore the following message:

Alias: configuration of mode is not supported

  • Alias name can be set only for the commands having equal to or less than 10 tokens.

Related Commands

10.1.15 exec-timeout

Sets EXEC timeout (in seconds) for line disconnection. The no form of the command clears EXEC timeout for line disconnection.


exec-timeout 1-18000


no exec-timeout


Mode

Line Configuration

Defaults

1800 seconds

Example

SEFOS(config)# line console

SEFOS(config-line)# exec-timeout 1200

SEFOS(config-line)# exit

SEFOS(config)# line vty

SEFOS(config-line)# no exec-timeout

SEFOS(config-line)# end


Related Commands

line - Configures a console or virtual terminal line

10.1.16 logout

Exits from Privileged EXEC or User EXEC mode to SEFOS login prompt in the case of console session.


logout


Mode

User EXEC

Notes

In the case of a TELNET session, this command terminates the session.


10.1.17 end

Exits from the Configuration mode.


end


Mode

All

Notes

Can be executed from any mode, but it reverts back to Privileged EXEC mode.


Related Commands

10.1.18 exit

Exits the current configuration mode to the next highest configuration mode in the CLI.


exit


Mode

All

Notes

You must reenter the login name and password to gain access to the CLI command shell.


Related Commands

10.1.19 show privilege

Shows current user privilege level.


show privilege


Mode

Privileged EXEC

Example

SEFOS# show privilege

 

Current privilege level is 15


10.1.20 show line

Displays TTY line information.


show line {console | vty line}


Syntax Description

console - Console.

vty - Virtual terminal line.

Mode

Privileged EXEC

Example

SEFOS# show line console

 

Current Session Timeout (in secs) = 1800

Notes

The command-line history buffer stores CLI commands that are previously entered.


Related Commands

10.1.21 show aliases

Displays the aliases.


show aliases


Mode

Privileged EXEC

Example

SEFOS# show aliases

 

show -> sh

previlege -> pr

Notes

Displays the alias commands and associated CLI commands for the current mode.


Related Commands

10.1.22 show users

Displays information about terminal lines.


show users


Mode

Privileged EXEC

Example

SEFOS# show users

 

Line User Peer-Address

0 con root Local Peer


Related Commands

10.1.23 show history

Displays the command history list.


show history


Mode

Privileged EXEC

Example

SEFOS# show history

 

1 show ip int

2 show debug-logging

3 show users

4 show line

5 show line console

6 c s

7 show aliases

8 show privilege

9 listuser

10 show users

11 show history

Notes

  • The commands are listed from the first to the latest command.
  • The buffer is kept unchanged when entering to configuration mode and returning.

 

Feedback