Common Commands

This section discusses common commands you can use to manage the switch.

Commands specific to a particular feature may also be described in other chapters of this guide. For a detailed description of the commands and their options, see the ExtremeXOS 30.7 Command Reference Guide .

Table 1. Common Commands
Command Description
clear session [history | sessId | all] Terminates a Telnet or SSH2 session from the switch.
configure account

Configures a user account password.

Passwords can have a minimum of 0 character and can have a maximum of 32 characters. Passwords are case-sensitive. User names are not case-sensitive.

configure banner Configures the banner string. You can configure a banner to be displayed before login or after login.You can enter up to 24 rows of 79-column text that is displayed before the login prompt of each session.
configure ports port_list {medium [copper | fiber]} auto off speed speed duplex [half | full] Manually configures the port speed and duplex setting of one or more ports on a switch.
configure ssh2 key {pregenerated} Generates the SSH2 host key.
configure sys-recovery-level [all | none] Configures a recovery option for instances where an exception occurs in ExtremeXOS software.
configure time month day year hour min sec Configures the system date and time. The format is as follows:mm dd yyyy hh mm ss

The time uses a 24-hour clock format. You cannot set the year earlier than 2003 or past 2036.

configure timezone

Configures the time zone information to the configured offset from GMT time. The format of GMT_offset is ± minutes from GMT time. The autodst and noautodst options enable and disable automatic Daylight Saving Time change based on the North American standard.

Additional options are described in the ExtremeXOS 30.7 Command Reference Guide

configure [{ vlan} vlan_name | vlan vlan_id ] ipaddress [ipaddress {ipNetmask} | ipv6-link-local | {eui64} ipv6_address_mask] Configures an IP address and subnet mask for a VLAN.
create account Creates a user account. This command is available to admin-level users and to users with RADIUS command authorization. The username is between 1 and 32 characters and is not case-sensitive. The password is between 0 and 32 characters and is case-sensitive. For user names, only alphanumeric, dash (-), and underscore (_) characters may be used. Any text after a hashtag (#) in a password is ignored. It has to be enclosed in "<double quotes>" if the hashtag is to be made part of the special character password.
create vlan [{ vlan} vlan_name | vlan vlan_list ] {description vlan-description} {vr name} Creates a VLAN.
delete account name Deletes a user account.
delete [{ vlan} vlan_name | vlan vlan_list] Deletes a VLAN.
disable bootp vlan [vlan | all] Disables BOOTP for one or more VLANs.
disable cli prompting Disables CLI prompting for the session.
disable cli config-logging Disables logging of CLI commands to the Syslog.
disable cli paging Disables pausing of the screen display when a show command output reaches the end of the page.
disable cli idle-timeout Disables the timer that disconnects all sessions. After being disabled, console sessions remain open until the switch is rebooted or until you log off. Telnet sessions remain open until you close the Telnet client. SSH2 sessions time out after 61 minutes of inactivity.
disable port [port_list | all] Disables one or more ports on the switch.
disable ssh2 Disables SSH2 access to the switch.
disable telnet Disables Telnet access to the switch.
enable bootp vlan [vlan | all] Enables BOOTP for one or more VLANs.
enable cli config-logging Enables the logging of CLI configuration commands to the Syslog for auditing purposes. The default setting is disabled.
enable cli paging Enables pausing of the screen display when show command output reaches the end of the page. The default setting is enabled.
enable cli idle-timeout Enables a timer that disconnects all sessions (Telnet, SSH2, and console) after 20 minutes of inactivity. The default setting is enabled.
enable license {software} key Enables a particular software feature license. Specify key as a 10 or 14 digit hexadecimal value.

The command unconfigure switch {all} does not clear licensing information. This license cannot be disabled once it is enabled on the switch.

enable ssh2 {access-profile [access_profile | none]} {port tcp_port_number} {vr [vr_name | all | default]} Enables SSH2 sessions. By default, SSH2 is disabled. When enabled, SSH2 uses TCP port number 22.
enable telnet Enables Telnet access to the switch. By default, Telnet uses TCP port number 23.
history Displays the commands entered on the switch.
show banner {after-login | before-login} Displays the user-configured banner.
unconfigure switch {all}

or

unconfigure switch erase all | nvram

Resets all switch parameters (with the exception of defined user accounts, and date and time information) to the factory defaults.

If you specify the keyword all, the switch erases the currently selected configuration image in flash memory and reboots. As a result, all parameters are reset to default settings.