DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide
4
Global Configuration Mode
The primary purpose of the global configuration mode is to apply global settings on the entire switch. Global
configuration mode can be accessed at administrator level user accounts. In addition to applying glabal
settings on the entire switch, the user can also access other sub-configuration modes.
In order to access the global configuration mode, the user must be logged in with the corresponding account
level and use the
configure terminal
command in the privileged EXEC mode.
In the following example, the user is logged in as an Administrator in the Privileged EXEC Mode and uses
the configure terminal command to access the Global Configuration Mode:
Switch# configure terminal
Switch(config)#
The
exit
command is used to exit the global configuration mode and return to the privileged EXEC
mode.
Switch(config)# exit
Switch#
The procedures to enter the different sub-configuration modes can be found in the related chapters in this
Configuration Guide. The command modes are used to configure the individual functions.
Interface Configuration Mode
Interface configuration mode is used to configure the parameters for an interface or a range of interfaces. An
interface can be a physical port, VLAN, or other virtual interface. Thus, interface configuration mode is
distinguished further according to the type of interface. The command prompt for each type of interface is
slightly different.
VLAN Interface Configuration Mode
VLAN interface configuration mode is one of the available interface modes and is used to configure the
parameters of a VLAN interface.
To access VLAN interface configuration mode, use the following command in global configuration
mode:
Switch(config)# interface vlan 1
Switch(config-if)#
Creating a User Account
You can create different user account for various levels. This section will assist a user with creating a user
account by means of the Command Line Interface.
NOTE:
By default, one user account is already configured on the Switch. Both the username
and password for this account is admin, and the privilege level is 15.
Observe the following example.
Switch#configure terminal
Switch(config)#username user password pass1234
Switch(config)#
In the above example we had to navigate and access the username command.
After starting in the Privileged EXEC Mode, we entered the command configure terminal to access
the Global Configuration Mode. The username command can be used in the Global Configuration
Mode.The command username
user password pass1234
creates a user account with the username