Manual
GigaX2024B/M L2 Managed Switch CLI Manual
1
CLI Command Modes
Command
mode
Access method Prompt Exit or Access Next
Mode.
User EXEC This is the rst level
of access.(For the
switch) Change
terminal settings,
perform basic tasks,
and list system
information.
Switch> Exit to enter the EXIT
command. To enter
privileged EXEC mode,
enter the enable command.
Privileged
EXEC
From user EXEC
mode, enter the
enable command.
Switch#
To exit to user EXEC mode,
enter the disable command.
To enter global conguration
mode, enter the congure
terminal command.
Global
conguration
From privileged EXEC
mode, enter the
congure command.
Switch
(cong)#
To exit to privileged EXEC
mode, enter the exit or
end command, or press
Ctrl-Z. To enter interface
conguration mode, enter
the interface IFNAME
conguration
command.
Interface
conguration
From global
conguration
mode, specify an
interface by entering
the interface
command followed
by an interface
identication.
Switch
(cong-if)#
To exit to privileged
EXEC mode, enter the
end command, or press
Ctrl-Z. To exit to global
conguration mode, enter
the exit command.
Cong-vlan In global
conguration mode,
enter the vlan vlan-
id command.
Switch
(cong-
vlan)#
To exit to global
conguration mode, enter
the exit command. To
return to privileged EXEC
mode, enter the end
command, or press Ctrl-Z.
mac access-
list extended
[NAME]
In global
conguration mode,
enter the ACL
NAME command.
Switch
(cong-ext-
mac)#
To exit to global
conguration mode, enter
the exit command. To
return to privileged EXEC
mode, enter the end
command, or press Ctrl-Z.